Re: [gdal-dev] Remapping nodata

2016-01-08 Thread Jukka Rahkonen
Brad Hards frogmouth.net> writes: > > On Thu, 7 Jan 2016 11:09:10 AM Even Rouault wrote: > > gdal_translate -of VRT -a_nodata will not remap values, but just change the > > declared nodata value. > That is in the docs, but was still a little unexpected > > I did the gdalwarp solution, but as

Re: [gdal-dev] Remapping nodata

2016-01-07 Thread Brad Hards
On Thu, 7 Jan 2016 11:09:10 AM Even Rouault wrote: > gdal_translate -of VRT -a_nodata will not remap values, but just change the > declared nodata value. That is in the docs, but was still a little unexpected :-) I did the gdalwarp solution, but as the source data gets larger, then the resource

Re: [gdal-dev] Remapping nodata

2016-01-07 Thread Blumentrath, Stefan
t;... Cheers Stefan -Original Message- From: Even Rouault [mailto:even.roua...@spatialys.com] Sent: 7. januar 2016 11:09 To: Blumentrath, Stefan Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Remapping nodata Le jeudi 07 janvier 2016 10:52:24, Blumentrath, Stefan a écrit : > Hi, > &

Re: [gdal-dev] Remapping nodata

2016-01-07 Thread Blumentrath, Stefan
reproject... Cheers Stefan -Original Message- From: gdal-dev [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Even Rouault Sent: 7. januar 2016 10:42 To: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Remapping nodata Le jeudi 07 janvier 2016 08:54:17, Julien Michel a écrit : > W

Re: [gdal-dev] Remapping nodata

2016-01-07 Thread Even Rouault
ATA_value 0 0.0 123 115 132 > Cheers > Stefan > > -Original Message- > From: gdal-dev [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Even > Rouault Sent: 7. januar 2016 10:42 > To: gdal-dev@lists.osgeo.org > Subject: Re: [gdal-dev] Remapping nodata > &

Re: [gdal-dev] Remapping nodata

2016-01-07 Thread Julien Michel
Well, maybe this is a little off topic for the gdal mailing list, but I recently had to deal with the same case, and wrote a small application in Orfeo ToolBox (>5.2) to do exactly that: map NaN to a real no data value [1]. So if you need this really quick, and can afford bringin another (quite

[gdal-dev] Remapping nodata

2016-01-06 Thread Brad Hards
I'm working on the geopackage elevation extension experiment, and trying to produce some GeoTIFF tiles that get inserted into sqlite. I need to remap the existing nodata (nan) to some other value that I can insert into a sqlite table as a number (say zero). I had a long explanation of what I'm