EPSG codes in URN form do not respect  global axis orientation setting
----------------------------------------------------------------------

                 Key: GEOT-1388
                 URL: http://jira.codehaus.org/browse/GEOT-1388
             Project: GeoTools
          Issue Type: Bug
          Components: core referencing
    Affects Versions: 2.4-M4
            Reporter: Andrea Aime
            Assignee: Martin Desruisseaux
             Fix For: 2.4.0


The following program shows the issue:

{code}
import org.geotools.referencing.CRS;
import org.opengis.referencing.crs.CoordinateReferenceSystem;


public class TestDecodeURN {
    public static void main(String[] args) throws Exception {
        System.setProperty("org.geotools.referencing.forceXY", "true");
        CoordinateReferenceSystem urn = 
CRS.decode("urn:x-ogc:def:crs:EPSG:6.11.2:4326");
        System.out.println(urn);
        CoordinateReferenceSystem epsg = CRS.decode("EPSG:4326");
        System.out.println(epsg);
    }
}
{code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to