Changes between Initial Version and Version 1 of Ticket #4850


Ignore:
Timestamp:
Oct 4, 2012, 8:00:05 AM (12 years ago)
Author:
sfllaw
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4850

    • Property Summary ugdalwarp discards data when the target extent is too large
  • Ticket #4850 – Description

    initial v1  
    55bluemarble-warped.tif is the output generated when we run the following command:
    66
    7 {{{gdalwarp -q -of GTiff -t_srs EPSG:3785 -te -20037508.3428 -20037508.34 20037508.34 20037508.34 -ts 1024 1024 bluemarble.tif bluemarble-warped.tif}}}
     7{{{gdalwarp -q -of GTiff -t_srs EPSG:3785 -te -20037508.3428 -20037508.34 20037508.34 20037508.34 -ts 512 512 bluemarble.tif bluemarble-warped.tif}}}
    88
    9 As you can see, there are 50 pixels cropped from the western edge of the picture, replaced with (0, 0, 0). This is because -20037508.3428 m for the western extent is supposed to be -20037508.342789244.
     9As you can see, there are 25 pixels cropped from the western edge of the picture, replaced with (0, 0, 0). This is because -20037508.3428 m for the western extent is supposed to be -20037508.342789244.
    1010
    1111If we pass in a {{{-dstnovalue}}} option to the command, it behaves correctly.