[gdal-dev] gdal_translate a VRT built on top of GeoTIFFs with NaN

2016-05-02 Thread Daniele Romagnoli
Hi List, I have a reprojectiion tool which creates GeoTIFFs with NoData = NaN. I'm creating couple of GeoTIFFs with partially overlapping areas where GeoTIFF1 has NaNs in a region and GeoTIFF2 has proper values in the same overlapping region and viceversa (GeoTIFF2 has some NaN area while GeoTIFF1

Re: [gdal-dev] gdal_translate a VRT built on top of GeoTIFFs with NaN

2016-05-02 Thread Even Rouault
Le lundi 02 mai 2016 14:37:39, Daniele Romagnoli a écrit : > Hi List, > > I have a reprojectiion tool which creates GeoTIFFs with NoData = NaN. > I'm creating couple of GeoTIFFs with partially overlapping areas where > GeoTIFF1 has NaNs in a region and GeoTIFF2 has proper values in the same > over

Re: [gdal-dev] gdal_translate a VRT built on top of GeoTIFFs with NaN

2016-05-02 Thread Daniele Romagnoli
Hi Even. Thanks for the feedback. Sorry... I'm using GDAL 1.11.3. I'm going to double check to make sure I didn't make any mistake. I'll let you know. Cheers, Daniele On Mon, May 2, 2016 at 2:49 PM, Even Rouault wrote: > Le lundi 02 mai 2016 14:37:39, Daniele Romagnoli a écrit : > > Hi List,

Re: [gdal-dev] gdal_translate a VRT built on top of GeoTIFFs with NaN

2016-05-02 Thread Daniele Romagnoli
Hi Even, The produced GeoTIFF doesn't contain any nodata metadata/flag/TAG. It simply has "NaN" pixels. QuantumGIS report those pixels as "nan" and OpenEV report them as 1.#QNAN so I think they are properly "recognized" as NaN. I'm wondering if the GDAL utilities explicitly look for some metadata/

Re: [gdal-dev] gdal_translate a VRT built on top of GeoTIFFs with NaN

2016-05-02 Thread Even Rouault
Le lundi 02 mai 2016 15:16:30, Daniele Romagnoli a écrit : > Hi Even, > The produced GeoTIFF doesn't contain any nodata metadata/flag/TAG. > It simply has "NaN" pixels. QuantumGIS report those pixels as "nan" and > OpenEV report them as 1.#QNAN so I think they are properly "recognized" as > NaN. >

Re: [gdal-dev] gdal_translate a VRT built on top of GeoTIFFs with NaN

2016-05-02 Thread Daniele Romagnoli
On Mon, May 2, 2016 at 3:27 PM, Even Rouault wrote: > Le lundi 02 mai 2016 15:16:30, Daniele Romagnoli a écrit : > > Hi Even, > > The produced GeoTIFF doesn't contain any nodata metadata/flag/TAG. > > It simply has "NaN" pixels. QuantumGIS report those pixels as "nan" and > > OpenEV report them a

Re: [gdal-dev] gdal_translate a VRT built on top of GeoTIFFs with NaN

2016-05-02 Thread Even Rouault
Le lundi 02 mai 2016 15:37:58, Daniele Romagnoli a écrit : > On Mon, May 2, 2016 at 3:27 PM, Even Rouault > > wrote: > > Le lundi 02 mai 2016 15:16:30, Daniele Romagnoli a écrit : > > > Hi Even, > > > The produced GeoTIFF doesn't contain any nodata metadata/flag/TAG. > > > It simply has "NaN" pix

Re: [gdal-dev] gdal_translate a VRT built on top of GeoTIFFs with NaN

2016-05-02 Thread Daniele Romagnoli
Cool! Do you think this capability will be backported to 1.11 series too? Thanks for your assistance. Cheers, Daniele On Mon, May 2, 2016 at 3:42 PM, Even Rouault wrote: > Le lundi 02 mai 2016 15:37:58, Daniele Romagnoli a écrit : > > On Mon, May 2, 2016 at 3:27 PM, Even Rouault > > > > > wrot

Re: [gdal-dev] gdal_translate a VRT built on top of GeoTIFFs with NaN

2016-05-02 Thread Even Rouault
Le lundi 02 mai 2016 15:43:42, Daniele Romagnoli a écrit : > Cool! > Do you think this capability will be backported to 1.11 series too? Possibly if you file a ticket about that. > > Thanks for your assistance. > Cheers, > Daniele > > On Mon, May 2, 2016 at 3:42 PM, Even Rouault > > wrote: >

Re: [gdal-dev] gdal_translate a VRT built on top of GeoTIFFs with NaN

2016-05-02 Thread Daniele Romagnoli
Thanks. I have just opened this ticket keeping track of that: https://trac.osgeo.org/gdal/ticket/6495#ticket Cheers, Daniele On Mon, May 2, 2016 at 3:58 PM, Even Rouault wrote: > Le lundi 02 mai 2016 15:43:42, Daniele Romagnoli a écrit : > > Cool! > > Do you think this capability will be back