Hi Martin, I'm trying to solve the following problem. I have a CRS object, and I need to go back to its id, but this time with a twist, in that I need to generate a code like "epsg:4326" if the CRS is lon/lat ordered, and like "urn:x-ogc:def:crs:EPSG:6.11.2:4326" if the axis order is the opposite (if the system is not geographic I don't really care, both epsg:x and urn:x are good).
What's the best way to spot the axis order of a crs? I thought about looking at the name of the first axis in the coordinate system, yet it seems to be error prone... can I assume the axis names or a geographic crs are always Lat and Lon? Cheers Andrea ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Geotools-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-devel
