Tuesday, 16 October 2018

GeoTools CRS.getAxisOrder(CRS.getAxisOrder("EPSG:4326")) returns EAST_NORTH (LON_LAT)


All is in the title, with GeoTools if I do :


AxisOrder order = CRS.getAxisOrder(CRS.getAxisOrder("EPSG:4326"));

It returns EAST_NORTH (= LON_LAT), but EPSG:4326 is defined as ordering latitude first and then longitude, as stated here : http://spatialreference.org/ref/epsg/wgs-84/gml/



So, what is happening here ? Am I doing something wrong ?




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...