Sorry, I've forgot to post it!

org.opengis.referencing.NoSuchAuthorityCodeException: No code "CUSTOM:0001" 
from authority "CUSTOM" found for object of type "IdentifiedObject".
        at 
org.geotools.referencing.factory.AbstractAuthorityFactory.noSuchAuthorityCode(AbstractAuthorityFactory.java:949)
        at 
org.geotools.referencing.factory.PropertyAuthorityFactory.getWKT(PropertyAuthorityFactory.java:314)
        at 
org.geotools.referencing.factory.PropertyAuthorityFactory.createCoordinateReferenceSystem(PropertyAuthorityFactory.java:388)
        at 
org.geotools.referencing.factory.AuthorityFactoryAdapter.createCoordinateReferenceSystem(AuthorityFactoryAdapter.java:798)
        at 
org.geotools.referencing.factory.ThreadedAuthorityFactory.createCoordinateReferenceSystem(ThreadedAuthorityFactory.java:729)
        at 
org.geotools.referencing.DefaultAuthorityFactory.createCoordinateReferenceSystem(DefaultAuthorityFactory.java:179)
        at org.geotools.referencing.CRS.decode(CRS.java:420)
        at org.geotools.referencing.CRS.decode(CRS.java:348)
        at 
com.myproject.udig.common.MapOpenInterceptor.run(MapOpenInterceptor.java:70)




Eugene B a écrit :
> Hello! I'm trying to create custom crs from WKT using steps from 
> http://docs.codehaus.org/display/GEOTDOC/11+Referencing+FAQ. But after 
> all CRS.decode(...) method throws 
> *org.opengis.referencing.NoSuchAuthorityCodeException*

Do you have the stack trace? It would help to know which code has thrown this 
exception exactly.

        Martin


------------------------------------------------------------------------------
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users



-- 
View this message in context: 
http://n2.nabble.com/Custom-CRS-registration-tp2562095p2562323.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to