Opened 9 years ago

Closed 3 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

Description

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 Changed 9 years ago by Kyle Shannon

Cc: Kyle Shannon added

comment:2 Changed 4 years ago by Jukka Rahkonen

See also #4344

comment:3 Changed 3 years ago by Even Rouault

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 https://github.com/OSGeo/gdal/issues if it is not already reported there.

Note: See TracTickets for help on using tickets.