#3104 closed enhancement (fixed)
OGR SRS support for +datum=nzgd49 without EPSG authority code
Reported by: | hamish | Owned by: | Even Rouault |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | OGR_SRS | Version: | svn-trunk |
Severity: | minor | Keywords: | nzgd49, datum |
Cc: | Markus Neteler |
Description
Hi,
re. a tangent of QGIS's bug # 1875 et al.,
the attached patch adds the WKT text string for the NZGD49 datum into OGR's SRS conversion logic.
the matched text is the same as shown by proj -ld
and in the WKT of this online EPSG portal:
I'm not sure if it is desired to open the floodgates to all the datums of the world having this sort of #defined support, but as proj -ld
only lists 10 possibilities it doesn't seem too outrageous to ask. A more general patch would be to ensure that all ten of the __datum_id's__
reported by proj -ld
have #defines containing their space-to-underscore(?) text line equivalents. But I'm not familiar enough with the others to comment about if that's a wise idea or not.
(fwiw the datums GRASS knows beyond OGR/PROJ can be found at
thanks, Hamish
Attachments (1)
Change History (5)
by , 15 years ago
Attachment: | ogr_nzgd49_wkt.diff added |
---|
comment:1 by , 15 years ago
Cc: | added |
---|
comment:2 by , 15 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
In trunk (r17546) : Improve recognition of WKT text strings when translating into proj4 hard-coded datum names, in particular nzgd49 (also add ggrs87, carthage, hermannskogel, ire65); Fix ellipsoid parameters for modified airy
patch to add nzgd49 support using WKT name alone