Hi list, Hi Martin,
I am using the ESG-HSQL data source for referencing and when performing

CRS.decode(code)

with

code==EPSG:26921

I get an exception with the following stack trace:

Caused by: org.opengis.referencing.NoSuchAuthorityCodeException: No
code "9001" from authority "European Petroleum Survey Group" found for
object of type "Unit".
at 
org.geotools.referencing.factory.AbstractAuthorityFactory.noSuchAuthorityCode(AbstractAuthorityFactory.java:856)
at 
org.geotools.referencing.factory.epsg.FactoryUsingSQL.createUnit(FactoryUsingSQL.java:1078)
at 
org.geotools.referencing.factory.BufferedAuthorityFactory.createUnit(BufferedAuthorityFactory.java:641)
at 
org.geotools.referencing.factory.epsg.FactoryUsingSQL.createCoordinateSystemAxis(FactoryUsingSQL.java:1590)
at 
org.geotools.referencing.factory.epsg.FactoryUsingSQL.createCoordinateSystem(FactoryUsingSQL.java:1634)
at 
org.geotools.referencing.factory.AbstractAuthorityFactory.createCartesianCS(AbstractAuthorityFactory.java:363)
at 
org.geotools.referencing.factory.BufferedAuthorityFactory.createCartesianCS(BufferedAuthorityFactory.java:497)
at 
org.geotools.referencing.factory.epsg.FactoryUsingSQL.createCoordinateReferenceSystem(FactoryUsingSQL.java:1788)
at 
org.geotools.referencing.factory.BufferedAuthorityFactory.createCoordinateReferenceSystem(BufferedAuthorityFactory.java:659)
at org.geotools.referencing.CRS.decode(CRS.java:329)
at 
org.geotools.gce.geotiff.crs.GeoTiffCoordinateSystemAdapter.createProjectedCoordinateSystem(GeoTiffCoordinateSystemAdapter.java:290)
... 20 more



Any ideas?

Simone.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to