Epsg-extensions does not handle properly longitudeFirst queries
---------------------------------------------------------------

                 Key: GEOT-1175
                 URL: http://jira.codehaus.org/browse/GEOT-1175
             Project: GeoTools
          Issue Type: Bug
          Components: core referencing
    Affects Versions: 2.4.M0
            Reporter: Andrea Aime
         Assigned To: Martin Desruisseaux
             Fix For: 2.4.M0


In the epsg-extensions module, try to run the following:

package org.geotools.referencing.factory.epsg;

import org.geotools.referencing.CRS;
import org.opengis.referencing.FactoryException;
import org.opengis.referencing.NoSuchAuthorityCodeException;

public class CrsDecodeTest {
    public static void main(String[] args) throws NoSuchAuthorityCodeException, 
FactoryException {
        System.out.println(CRS.decode("EPSG:18001"));
        System.out.println(CRS.decode("EPSG:18001", true));
    }
}

The first decode will work just fine, the second will break with the following 
exception:

org.opengis.referencing.NoSuchAuthorityCodeException: No code "EPSG:18001" from 
authority "European Petroleum Survey Group" found for object of type 
"CoordinateReferenceSystem".

18001 is one of the codes available in epsg.properties

-- 
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

        

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to