Re: [JPP-Devel] SVN: [6507] core/trunk/src/org/openjump/core/rasterimage

2020-09-22 Thread Rahkonen Jukka (MML)
- Lähettäjä: Giuseppe Aruta Lähetetty: tiistai 22. syyskuuta 2020 17.19 Vastaanottaja: OpenJump develop and use Aihe: Re: [JPP-Devel] SVN: [6507] core/trunk/src/org/openjump/core/rasterimage Let us wait for Michael and Jukka's opinion about it. I am not sure but possibly it was request by one o

Re: [JPP-Devel] SVN: [6507] core/trunk/src/org/openjump/core/rasterimage

2020-09-22 Thread edgar . soldin
On 22.09.2020 16:18, Giuseppe Aruta wrote: > I prefer to  comment out and build a new clean method up to you. as long as it is not active while we are trying to beat it into shape ;).. ede ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourc

Re: [JPP-Devel] SVN: [6507] core/trunk/src/org/openjump/core/rasterimage

2020-09-22 Thread Giuseppe Aruta
Let us wait for Michael and Jukka's opinion about it. I am not sure but possibly it was request by one of the member of the list years ago to Alberto De Luca who implemented this part of the code. I prefer to comment out and build a new clean method Il giorno mar 22 set 2020 alle ore 15:29 ha s

Re: [JPP-Devel] SVN: [6507] core/trunk/src/org/openjump/core/rasterimage

2020-09-22 Thread edgar . soldin
On 9/22/2020 13:49, Giuseppe Aruta wrote: +       private static ImageAndMetadata readImage(File tiffFile, int overviewIndex, int indexStart, Point originalSize, +           Resolution originalCellSize, Envelope wholeImageEnvelope, Envelope viewportEnvelope, double noDataValue, +           St

Re: [JPP-Devel] SVN: [6507] core/trunk/src/org/openjump/core/rasterimage

2020-09-22 Thread Giuseppe Aruta
*we already have support for reading GeoReferencedRaster.parseGDALM**etaData(URI uri) (seems format agnostic too). but that is depending on GDAL installed, while the implementaion in TiffUtils.calculateStats() seems be plain java utilizing some apache commons imaging code but is limited to TIFF fil

Re: [JPP-Devel] SVN: [6507] core/trunk/src/org/openjump/core/rasterimage

2020-09-22 Thread Giuseppe Aruta
> + private static ImageAndMetadata readImage(File tiffFile, int overviewIndex, int indexStart, Point originalSize, > + Resolution originalCellSize, Envelope wholeImageEnvelope, Envelope viewportEnvelope, double noDataValue, > + Stats stats) throws IOException, Noninvertib

Re: [JPP-Devel] SVN: [6507] core/trunk/src/org/openjump/core/rasterimage

2020-09-22 Thread edgar . soldin
we already have support for reading GeoReferencedRaster.parseGDALMetaData(URI uri) (seems format agnostic too). but that is depending on GDAL installed, while the implementaion in TiffUtils.calculateStats() seems be plain java utilizing some apache commons imaging code but is limited to TIFF fi

Re: [JPP-Devel] SVN: [6507] core/trunk/src/org/openjump/core/rasterimage

2020-09-22 Thread Giuseppe Aruta
I will make those changes. Statistics are calculated in order to reuse on raster analysis (sextante). It is also saved into a special .aux.xml sidecar file. At this moment there is no need to implement GeoReferencedRaster with Statistic read as it is uìused only by Sextante. Il giorno mar 22 set 2

Re: [JPP-Devel] SVN: [6507] core/trunk/src/org/openjump/core/rasterimage

2020-09-22 Thread edgar . soldin
hey Peppe, nice try, but no dice. the reason i created an explicit TiffUtilsV2 was to make sure it contains no reference to RasterImageIO or TiffTags anymore. the idea is to wrap GeoReferencedRaster functionality to reuse. GeoReferencedRaster includes all functionality for retrieving an Envelope

[JPP-Devel] SVN: [6507] core/trunk/src/org/openjump/core/rasterimage

2020-09-22 Thread jump-pilot-svn--- via Jump-pilot-devel
Revision: 6507 http://sourceforge.net/p/jump-pilot/code/6507 Author: ma15569 Date: 2020-09-22 09:26:19 + (Tue, 22 Sep 2020) Log Message: --- Ported functionality from TiffUtils to TiffUtilsV2. Make TiffUtils deprecated Modified Paths: -- core/trunk/src/o