Changes between Initial Version and Version 15 of Ticket #601


Ignore:
Timestamp:
Oct 9, 2008, 9:07:10 AM (11 years ago)
Author:
warmerdam
Comment:

Didier,

Sorry for letting this languish. I have applied the portion of the patch that related to angular units. But the portion that related to linear units seems questionable. It certainly broke the autotest/gcore/gtiff_write.py test script:

Script: gcore/gtiff_write.py
  TEST: SetProjection: byte.tif ... fail
    Did not get expected projection reference.

Basically it reversed the conversion of feet to meters and I'm not convinced it should have. So I'd like you to file a new ticket specifically addressing linear units in GeoTIFF if you are convinced that it is still broken.

The reduced patch was applied in trunk (r15501) and 1.5 branch (r15502). I also added a test suite item for the angular units issue using your test file (r15503).

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #601

    • Property Status changed from assigned to closed
    • Property Component changed from OGR_SRS to GDAL_Raster
    • Property Summary changed from pcs.csv accuracy ? to [PATCH] wrong handling of units in geotiff
    • Property Priority changed from low to normal
    • Property Version changed from unspecified to 1.4.2
    • Property Milestone changed from to 1.5.1
    • Property Keywords geotiff grad added
    • Property Resolution changed from to fixed