Opened 10 years ago

Closed 4 years ago

#4875 closed enhancement (wontfix)

Add/Move -cutline to gdal_translate

Reported by: mjigmond Owned by: warmerdam
Priority: normal Milestone: closed_because_of_github_migration
Component: default Version: svn-trunk
Severity: normal Keywords:
Cc: Kyle Shannon


Hi Everyone,

This is an enhancement request following my discussion with Even on #3947. Here's the rationale for it, IMO:

  1. In its current implementation under gdalwarp there's an inherent re-calculation of the raster origin which results in a shift. Additionally, if input raster's pixels are non-square the algorithm re-samples the pixels.
  1. I believe the process of extracting a smaller window and masking irrelevant pixels is best suited for gdal_translate which already handles the former. Generally (I may be making a broad assumption here and welcome others' input), users who want to extract a smaller subset are not looking to re-sample the data and nor do they expect a shift of their data.

Change History (3)

comment:1 by Kyle Shannon, 10 years ago

Cc: Kyle Shannon added

comment:2 by Jukka Rahkonen, 5 years ago

See also #4344

comment:3 by Even Rouault, 4 years ago

Milestone: closed_because_of_github_migration
Resolution: wontfix
Status: newclosed

This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to if it is not already reported there.

Note: See TracTickets for help on using tickets.