Opened 19 years ago
Closed 17 years ago
#923 closed defect (fixed)
gdal_translate: -co "TFW=YES" is omitted when used along with -gcp
Reported by: | Owned by: | warmerdam | |
---|---|---|---|
Priority: | high | Milestone: | 1.5.0 |
Component: | GDAL_Raster | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
gdal_translate -co "TFW=YES" -gcp 5593999.832635 5674999.717835 5594000.000000 5675000.000000 -gcp 5595003.397867 5674983.253382 5595000.000000 5675000.000000 -gcp 5596002.912455 5674967.720287 5596000.000000 5675000.000000 -gcp 5597004.895981 5674951.374283 5597000.000000 5675000.000000 -gcp 5598003.481429 5674936.552057 5598000.000000 5675000.000000 prochowice_z5_gimp.tif prochowice_z5_gdtr.tif ... but the requested TFW file is not produced. While without "-gcp's" it is. Why the difference? Maciek
Change History (2)
comment:2 by , 17 years ago
Milestone: | → 1.5.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
I think this bug is invalid since the use of GCPs is incompatible with the use of a geotransform matrix, so we can't generate a worldfile. However, to make things clearer to users, I've added a warning in GTiffCreateCopy when GCPs are used and TFW=YES or WORLDFILE=YES. Commited in trunk in r12371
Note:
See TracTickets
for help on using tickets.