[gdal-dev] Coordinates Axis Order for EPSG:2193

Jeremy Palmer palmerjnz at gmail.com
Thu Feb 8 10:09:28 PST 2018


Is there a way to report the axis order that GDAL understands internally
for automatically swapping coordinates axis order when dealing with OGC/GML
services?

EPSG is defined as North/East order and is correct in
http://epsg-registry.org/export.htm?wkt=urn:ogc:def:crs:EPSG::2193

However when I run gdalsrsinfo  -o wkt -p  "EPSG:2193" using GDAL 2.2.3 it
does return any information relating to axis:

gdalsrsinfo  -o wkt -p  "EPSG:2193"

PROJCS["NZGD2000 / New Zealand Transverse Mercator 2000",
    GEOGCS["NZGD2000",
        DATUM["New_Zealand_Geodetic_Datum_2000",
            SPHEROID["GRS 1980",6378137,298.257222101,
                AUTHORITY["EPSG","7019"]],
            TOWGS84[0,0,0,0,0,0,0],
            AUTHORITY["EPSG","6167"]],
        PRIMEM["Greenwich",0,
            AUTHORITY["EPSG","8901"]],
        UNIT["degree",0.0174532925199433,
            AUTHORITY["EPSG","9122"]],
        AUTHORITY["EPSG","4167"]],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",0],
    PARAMETER["central_meridian",173],
    PARAMETER["scale_factor",0.9996],
    PARAMETER["false_easting",1600000],
    PARAMETER["false_northing",10000000],
    UNIT["metre",1,
        AUTHORITY["EPSG","9001"]],
    AUTHORITY["EPSG","2193”]]

However back in 2013 the gdalsrs did report it:
https://lists.osgeo.org/pipermail/gdal-dev/2013-March/035624.html.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20180209/ae3f59da/attachment.html>


More information about the gdal-dev mailing list