OGR SRS support for +datum=nzgd49 without EPSG authority code
|Reported by:||hamish||Owned by:||Even Rouault|
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