Changes between Initial Version and Version 1 of Ticket #4850
- Timestamp:
- Oct 4, 2012, 8:00:05 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4850
- Property Summary u → gdalwarp discards data when the target extent is too large
-
Ticket #4850 – Description
initial v1 5 5 bluemarble-warped.tif is the output generated when we run the following command: 6 6 7 {{{gdalwarp -q -of GTiff -t_srs EPSG:3785 -te -20037508.3428 -20037508.34 20037508.34 20037508.34 -ts 1024 1024bluemarble.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}}} 8 8 9 As you can see, there are 50pixels 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.9 As 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. 10 10 11 11 If we pass in a {{{-dstnovalue}}} option to the command, it behaves correctly.