Opened 13 years ago
Closed 10 years ago
#48 closed defect (fixed)
[PATCH] Fix GTIFGetEllipsoidInfo() to work with nEllipseCode = 7007
Reported by: | rouault | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | libgeotiff | Version: | 1.3.0 |
Keywords: | Cc: |
Description
Interesting issue I found with external libgeotiff and not internal libgeotiff. The issue in GTIFGetEllipsoidInfo() is that the pszFilename = CSVFilename("ellipsoid.csv" ); gets overriden by unit_of_measure.csv after the call to GTIFGetUOMLengthInfo( nUOMLength, NULL, &dfToMeters ) when the UOM is not one of the hard-coded value. This is due to CSVFilename() returning a static value.
In GDAL, cpl_csv.cpp is more evolved than geotiff's cpl_csv.c, hence that issue doesn't show with internal libgeotiff
Attachments (1)
Change History (2)
by , 13 years ago
Attachment: | ticket_48.patch added |
---|
comment:1 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This appears fixed in trunk now. Closing...