double y = searchCriteria.getLon();
</BUG>
String epsg = searchCriteria.getSRS();
Point p = ProjectionHelper.transformPoint(x, y, epsg, "EPSG:3067");
int scale = Integer.parseInt((String) searchCriteria.getParam("scale")); // pitää olla jokin näistä: 100000,50000,25000,20000,10000,5000
<BUG>double[] pt = new double[]{p.getLat(), p.getLon()}; // E, N (EPSG:3067)
</BUG>
utm_karttalehti lehti = new utm_karttalehti();
lehti = lehti.pisteessa(pt, scale);
ChannelSearchResult result = new ChannelSearchResult();

result.addItem(item);
return result;
}
public ChannelSearchResult reverseGeocode(SearchCriteria searchCriteria) throws IllegalSearchCriteriaException {
log.debug("lehtijako");
double y = searchCriteria.getLat();
double x = searchCriteria.getLon();
String epsg = searchCriteria.getSRS();
Point p = ProjectionHelper.transformPoint(x, y, epsg, "EPSG:3067");
int scale = Integer.parseInt((String) searchCriteria.getParam("scale")); // pitää olla jokin näistä: 100000,50000,25000,20000,10000,5000
double[] pt = new double[]{p.getLon(), p.getLat()}; // E, N (EPSG:3067) lon,lat
utm_karttalehti lehti = new utm_karttalehti();
lehti = lehti.pisteessa(pt, scale);
ChannelSearchResult result = new ChannelSearchResult();
