Revision: 6469 http://sourceforge.net/p/jump-pilot/code/6469 Author: ma15569 Date: 2020-09-14 09:42:31 +0000 (Mon, 14 Sep 2020) Log Message: ----------- reverted changing
Modified Paths: -------------- core/trunk/src/org/openjump/core/rasterimage/algorithms/GenericRasterAlgorithm.java core/trunk/src/org/openjump/core/rasterimage/algorithms/KernelAlgorithm.java Modified: core/trunk/src/org/openjump/core/rasterimage/algorithms/GenericRasterAlgorithm.java =================================================================== --- core/trunk/src/org/openjump/core/rasterimage/algorithms/GenericRasterAlgorithm.java 2020-09-14 09:41:36 UTC (rev 6468) +++ core/trunk/src/org/openjump/core/rasterimage/algorithms/GenericRasterAlgorithm.java 2020-09-14 09:42:31 UTC (rev 6469) @@ -381,12 +381,11 @@ Exception { final RasterImageIO rasterImageIO = new RasterImageIO(); - // final Point point = RasterImageIO.getImageDimensions(inputFile - // .getAbsolutePath()); - // final Envelope env = RasterImageIO.getGeoReferencing( - // inputFile.getAbsolutePath(), true, point); + final Point point = RasterImageIO.getImageDimensions(inputFile + .getAbsolutePath()); final Envelope env = RasterImageIO.getGeoReferencing( - inputFile.getAbsolutePath()); + inputFile.getAbsolutePath(), true, point); + final Viewport viewport = frame.getContext().getLayerViewPanel() .getViewport(); final Resolution requestedRes = RasterImageIO Modified: core/trunk/src/org/openjump/core/rasterimage/algorithms/KernelAlgorithm.java =================================================================== --- core/trunk/src/org/openjump/core/rasterimage/algorithms/KernelAlgorithm.java 2020-09-14 09:41:36 UTC (rev 6468) +++ core/trunk/src/org/openjump/core/rasterimage/algorithms/KernelAlgorithm.java 2020-09-14 09:42:31 UTC (rev 6469) @@ -328,12 +328,11 @@ Exception { final RasterImageIO rasterImageIO = new RasterImageIO(); - // final Point point = RasterImageIO.getImageDimensions(outFile - // .getAbsolutePath()); - // final Envelope env = RasterImageIO.getGeoReferencing( - // outFile.getAbsolutePath(), true, point); + final Point point = RasterImageIO.getImageDimensions(outFile + .getAbsolutePath()); final Envelope env = RasterImageIO.getGeoReferencing( - outFile.getAbsolutePath()); + outFile.getAbsolutePath(), true, point); + final Viewport viewport = frame.getContext().getLayerViewPanel() .getViewport(); final Resolution requestedRes = RasterImageIO _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel