Path tilesFolder = Paths.get("tifsFolder");
if (TIFS_FOLDER != null) {
Path potTilesFolder = Paths.get(TIFS_FOLDER);
- if (!Files.exists(potTilesFolder)) {
+ if (Files.exists(potTilesFolder)) {
// use default from working directory
tilesFolder = potTilesFolder;
}
tileInterface = new TiffTileInterface(tilesFolder);
}
+ public static double lookupd(double x, double y) {
+ return lookup(x, y).doubleValue();
+ }
+
public static Number lookup(double x, double y) {
return instance.tileInterface.lookup(x, y);
}
-
+
public static Collection<Rectangle2D> getBoundingBoxes() {
return instance.tileInterface.getBoundingBoxes();
}