Opened 14 years ago
Closed 14 years ago
#3644 closed defect (fixed)
Invalid shortcut value in EPSGGetPMInfo
Reported by: | johncz711 | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.8.0 |
Component: | OGR_SRS | Version: | 1.7.2 |
Severity: | normal | Keywords: | |
Cc: |
Description
Within the EPSGGetPMInfo function, the "special short cut for Greenwich" incorrectly tests for the PM value 7022. The actual EPSG value for the Greenwich PM is 8901, so the hard-coded value needs to be changed.
A suitably modified copy of ogr_fromepsg.cpp is in the attached zip.
I have successfully used this suggested fix in a subset of OGR code recently added to my (non-ESRI-based) platform for the sole purpose of creating WKT and writing it as .prj files.
Attachments (1)
Change History (2)
by , 14 years ago
Attachment: | MOD_ogr_fromepsg.zip added |
---|
comment:1 by , 14 years ago
Milestone: | → 1.8.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in r20497