<div dir="ltr"><div>Hi,</div><div><br></div><div>I have project on github to convert a map to covjon (<a href="https://covjson.org/">https://covjson.org/</a>) format, I am now trying </div><div>to get the map axis orientation I am doing it with EPSGTreatsAsLatLong:</div><div><br></div><a href="https://github.com/fsvieira/map2covjson/blob/master/map2covjson.cpp#L102">https://github.com/fsvieira/map2covjson/blob/master/map2covjson.cpp#L102</a><br><div><br></div><div>The problem is that I am always getting 0 (FALSE) to a map that I think it should be Lat/Lon.</div><div><br></div><div>Some of geotiff that I am testing are here, <a href="https://github.com/fsvieira/map2covjson/tree/master/tests">https://github.com/fsvieira/map2covjson/tree/master/tests</a></div><div><br></div><div>How can I get the correct axis order? </div><div><br></div><div>This is the gdalinfo for one of the files:</div><div><br></div><div><div>Driver: GTiff/GeoTIFF</div><div>Files: UTM29-582-4295.Z.tiff</div><div>       UTM29-582-4295.Z.tiff.aux.xml</div><div>Size is 1000, 1000</div><div>Coordinate System is:</div><div>PROJCS["WGS 84 / UTM zone 29N",</div><div>    GEOGCS["WGS 84",</div><div>        DATUM["WGS_1984",</div><div>            SPHEROID["WGS 84",6378137,298.257223563,</div><div>                AUTHORITY["EPSG","7030"]],</div><div>            AUTHORITY["EPSG","6326"]],</div><div>        PRIMEM["Greenwich",0],</div><div>        UNIT["degree",0.0174532925199433],</div><div>        AUTHORITY["EPSG","4326"]],</div><div>    PROJECTION["Transverse_Mercator"],</div><div>    PARAMETER["latitude_of_origin",0],</div><div>    PARAMETER["central_meridian",-9],</div><div>    PARAMETER["scale_factor",0.9996],</div><div>    PARAMETER["false_easting",500000],</div><div>    PARAMETER["false_northing",0],</div><div>    UNIT["metre",1,</div><div>        AUTHORITY["EPSG","9001"]],</div><div>    AUTHORITY["EPSG","32629"]]</div><div>Origin = (582000.000000000000000,4296000.000000000000000)</div><div>Pixel Size = (1.000000000000000,-1.000000000000000)</div><div>Metadata:</div><div>  AERA_OR_POINT=Point</div><div>  AREA_OR_POINT=Area</div><div>  TIFFTAG_IMAGEDESCRIPTION=Image<gray></div><div>Image Structure Metadata:</div><div>  INTERLEAVE=BAND</div><div>Corner Coordinates:</div><div>Upper Left  (  582000.000, 4296000.000) (  8d 3'20.06"W, 38d48'32.24"N)</div><div>Lower Left  (  582000.000, 4295000.000) (  8d 3'20.49"W, 38d47'59.80"N)</div><div>Upper Right (  583000.000, 4296000.000) (  8d 2'38.60"W, 38d48'31.90"N)</div><div>Lower Right (  583000.000, 4295000.000) (  8d 2'39.03"W, 38d47'59.46"N)</div><div>Center      (  582500.000, 4295500.000) (  8d 2'59.54"W, 38d48'15.85"N)</div><div>Band 1 Block=1000x2 Type=Float32, ColorInterp=Gray</div><div>  Min=251.308 Max=296.825 </div><div>  Minimum=251.308, Maximum=296.825, Mean=277.947, StdDev=8.983</div><div>  Metadata:</div><div>    STATISTICS_MAXIMUM=296,82501220703</div><div>    STATISTICS_MEAN=277,94695054859</div><div>    STATISTICS_MINIMUM=251,30801391602</div><div>    STATISTICS_STDDEV=8,9831460212931</div></div><div><br></div><div>Thanks,</div><div>Filipe Vieira.</div></div>