<div dir="ltr"><div style="color:rgb(0,0,0);font-family:SanFranciscoText-Regular;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">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?</div><div style="color:rgb(0,0,0);font-family:SanFranciscoText-Regular;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div style="color:rgb(0,0,0);font-family:SanFranciscoText-Regular;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">EPSG is defined as North/East order and is correct in <a href="http://epsg-registry.org/export.htm?wkt=urn:ogc:def:crs:EPSG::2193">http://epsg-registry.org/export.htm?wkt=urn:ogc:def:crs:EPSG::2193</a></div><div style="color:rgb(0,0,0);font-family:SanFranciscoText-Regular;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><div style="color:rgb(0,0,0);font-family:SanFranciscoText-Regular;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">However when I run <span style="color:rgb(0,0,0);font-family:SanFranciscoText-Regular;font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">gdalsrsinfo  -o wkt -p  "EPSG:2193" using GDAL 2.2.3 it does return any information relating to axis:</span></div><div style="color:rgb(0,0,0);font-family:SanFranciscoText-Regular;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br class="gmail-"></div><div style="color:rgb(0,0,0);font-family:SanFranciscoText-Regular;font-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div>gdalsrsinfo  -o wkt -p  "EPSG:2193"</div><div><br class="gmail-"></div><div>PROJCS["NZGD2000 / New Zealand Transverse Mercator 2000",</div><div>    GEOGCS["NZGD2000",</div><div>        DATUM["New_Zealand_Geodetic_Datum_2000",</div><div>            SPHEROID["GRS 1980",6378137,298.257222101,</div><div>                AUTHORITY["EPSG","7019"]],</div><div>            TOWGS84[0,0,0,0,0,0,0],</div><div>            AUTHORITY["EPSG","6167"]],</div><div>        PRIMEM["Greenwich",0,</div><div>            AUTHORITY["EPSG","8901"]],</div><div>        UNIT["degree",0.0174532925199433,</div><div>            AUTHORITY["EPSG","9122"]],</div><div>        AUTHORITY["EPSG","4167"]],</div><div>    PROJECTION["Transverse_Mercator"],</div><div>    PARAMETER["latitude_of_origin",0],</div><div>    PARAMETER["central_meridian",173],</div><div>    PARAMETER["scale_factor",0.9996],</div><div>    PARAMETER["false_easting",1600000],</div><div>    PARAMETER["false_northing",10000000],</div><div>    UNIT["metre",1,</div><div>        AUTHORITY["EPSG","9001"]],</div><div>    AUTHORITY["EPSG","2193”]]</div><div><br class="gmail-"></div><div><span style="color:rgb(0,0,0);font-family:SanFranciscoText-Regular;font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">However back in 2013 the gdalsrs did report it:  </span><a href="https://lists.osgeo.org/pipermail/gdal-dev/2013-March/035624.html" class="gmail-" style="color:rgb(17,85,204);font-family:SanFranciscoText-Regular;font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">https://lists.osgeo.org/pipermail/gdal-dev/2013-March/035624.html</a><span style="color:rgb(0,0,0);font-family:SanFranciscoText-Regular;font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">. </span></div></div><br></div>