Revision: 6467 http://sourceforge.net/p/jump-pilot/code/6467 Author: ma15569 Date: 2020-09-14 09:38:56 +0000 (Mon, 14 Sep 2020) Log Message: ----------- other corrections
Modified Paths: -------------- core/trunk/src/org/openjump/core/rasterimage/RasterImageIO.java Modified: core/trunk/src/org/openjump/core/rasterimage/RasterImageIO.java =================================================================== --- core/trunk/src/org/openjump/core/rasterimage/RasterImageIO.java 2020-09-14 09:38:00 UTC (rev 6466) +++ core/trunk/src/org/openjump/core/rasterimage/RasterImageIO.java 2020-09-14 09:38:56 UTC (rev 6467) @@ -296,9 +296,9 @@ Coordinate coordinate, int band) throws Exception { Point imageDims = getImageDimensions(fileNameOrURL); - Envelope envelope = getGeoReferencing(fileNameOrURL); - //Envelope envelope = getGeoReferencing(fileNameOrURL, true, new Point( - // imageDims.x, imageDims.y)); + // Envelope envelope = getGeoReferencing(fileNameOrURL); + Envelope envelope = getGeoReferencing(fileNameOrURL, true, new Point( + imageDims.x, imageDims.y)); double cellSizeX = (envelope.getMaxX() - envelope.getMinX()) / imageDims.x; double cellSizeY = (envelope.getMaxY() - envelope.getMinY()) @@ -640,9 +640,9 @@ Point imageDims = getImageDimensions(fileNameOrURL); - Envelope envelope = getGeoReferencing(fileNameOrURL); - // Envelope envelope = getGeoReferencing(fileNameOrURL, true, new Point( -// imageDims.x, imageDims.y)); + + Envelope envelope = getGeoReferencing(fileNameOrURL, true, new Point( + imageDims.x, imageDims.y)); double cellSizeX = (envelope.getMaxX() - envelope.getMinX()) / imageDims.x; double cellSizeY = (envelope.getMaxY() - envelope.getMinY()) _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel