Need a CRS Authority Factory for CRS defined by OGC Authority
-------------------------------------------------------------

                 Key: GEOT-3441
                 URL: http://jira.codehaus.org/browse/GEOT-3441
             Project: GeoTools
          Issue Type: Improvement
    Affects Versions: 2.7-M5
            Reporter: Farrukh Najmi


I am using a PostGres/PostGIS 8.3 database with gt-epsg-postgresql 
plugin. The EPSG Geodetic Parameter Dataset has been loaded into 
postgres from EPSG version 7.6.

When the code tries to decode ans crsId with an OGC Authority like 
"urn:ogc:def:crs:OGC:1.3:CRS84":

   CoordinateReferenceSystem crs = CRS..decode(crsId);

It gets the following exception:

Caused by: org.geotools.factory.FactoryNotFoundException: No factory of 
kind "CRSAuthorityFactory" found.
         at 
org.geotools.factory.FactoryRegistry.getServiceProvider(FactoryRegistry.java:374)

The CRS iin question is defined in B.3 in OGC 06-042:

OpenGIS Web Map Service (WMS) Implementation Specification

It is also referenced in following...

Definition identifier URNs in OGC namespace (from 
http://www.opengeospatial.org/standards/bp)
http://portal.opengeospatial.org/files/?artifact_id=30575


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

        

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to