On 16 April 2014 16:00, Even Rouault wrote:
Hi Even,
>
> Calling
>
> dst_ds.GetRasterBand(X).SetNoDataValue(nv)
> dst_ds.GetRasterBand(X).Fill(nv)
>
> before gdal.ReprojectImage() should do what you want.
>
Yes, it seems correct.
I have to test it a little bit more but the first results are goo
.Fill(nv)
before gdal.ReprojectImage() should do what you want.
>
> There was already a request for help about one year ago [0], there are
> some news?
> Otherwise could I open a ticket? is it a bug or enhancement?
>
> Thanks a lot for any hints
>
> [0]
> http://osgeo-org.1560.x6.n
hints
[0]
http://osgeo-org.1560.x6.nabble.com/gdal-dev-ReprojectImage-and-nodata-td5057270.html
--
ciao
Luca
http://gis.cri.fmach.it/delucchi/
www.lucadelu.org
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
Le mercredi 23 octobre 2013 21:19:48, David Shean a écrit :
> Even,
> I encountered the issue you mention back in May:
>
> http://osgeo-org.1560.x6.nabble.com/gdal-dev-ReprojectImage-and-nodata-td50
> 57270.html
>
> The current ReprojectImage nodata handling is a bit confu
Even,
I encountered the issue you mention back in May:
http://osgeo-org.1560.x6.nabble.com/gdal-dev-ReprojectImage-and-nodata-td5057270.html
The current ReprojectImage nodata handling is a bit confusing. Do you see a
relatively simple fix to mirror the behavior of gdalwarp?
Thanks.
-David
y I didn't include that in my 1st
post).
Elke
-Original Message-
From: Even Rouault [mailto:even.roua...@mines-paris.org]
Sent: Wednesday, October 23, 2013 1:26 PM
To: gdal-dev@lists.osgeo.org
Cc: Ochs, Elke ERDC-RDE-CRREL-NH
Subject: Re: [gdal-dev] ReprojectImage and nodata
Le merc
Le mercredi 23 octobre 2013 19:05:18, Ochs, Elke ERDC-RDE-CRREL-NH a écrit :
> ReprojectImage does not maintain areas of nodata as I would expect it
> should. Small areas of nodata are getting erased and larger areas are
> reduced in size. I'm reprojecting from geographic to Albers, using
> appro
ReprojectImage does not maintain areas of nodata as I would expect it should.
Small areas of nodata are getting erased and larger areas are reduced in size.
I'm reprojecting from geographic to Albers, using approximately the same cell
size (converted from dd to meters). I'm using GDAL 1.9.2
Hi list,
I'm having some issues with the Python ReprojectImage function not respecting
nodata.
My input dataset has nodata value -32767. I am using ReprojectImage to
resample and warp the src_ds in memory to match the resolution and srs of a
second dataset. The output of ReprojectImage has no