Changes between Initial Version and Version 2 of Ticket #1504
- Timestamp:
- Mar 26, 2007, 12:18:10 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1504
- Property Priority highest → normal
-
Ticket #1504 – Description
initial v2 1 {{{ 1 2 2 When warping an image with bilinear or cubic convolution resampling and with the "-dstalpha" option, the resulting alpha mask has some extra lines in it. The alpha mask improperly shows the edges of the source data as being valid data even if they were set to the srcnodata value. The RGB output properly labels the edge pixels as being dstnodata. 3 3 … … 10 10 Here is the command that I was using as a test case: 11 11 12 gdalwarp -t_srs '+proj=stere +lat_ts=80 +lat_0=90 +lon_0=0 +ellps=WGS84' -tr 200 200 -te -1665228 2134989 -1243754 2558347 -srcnodata 0 -dstalpha -dstnodata 100 -wm 1000 -rc rgb-in.tif out.tif 12 {{{ 13 gdalwarp -t_srs '+proj=stere +lat_ts=80 +lat_0=90 +lon_0=0 \ 14 +ellps=WGS84' -tr 200 200 -te -1665228 2134989 -1243754 2558347 \ 15 -srcnodata 0 -dstalpha -dstnodata 100 -wm 1000 -rc rgb-in.tif out.tif 16 }}} 13 17 14 18 The same problem happens with or without the "-dstnodata 100" option - that is just there to prove that the pixels in question were in fact considered no data pixels. I could send you the landsat band that I was using as a test case if you want it. 15 }}}