org.geotools.data.crs
Interface CRSAuthoritySpi

All Superinterfaces:
Factory

Deprecated. Now replaced by CRSAuthorityFactory.

public interface CRSAuthoritySpi
extends Factory

This is a marker used to allow CRSService to dynamically locate implementations of CoordinateSystemAuthorityFactory.

When the time comes CRSService can switch over to org.geotools.referencing.Factory - that time is not now.

Author:
Jody Garnett

Method Summary
 org.opengis.referencing.crs.CoordinateReferenceSystem decode(java.lang.String encoding)
          Deprecated. Replaced by CRSAuthorityFactory.createCoordinateReferenceSystem(java.lang.String).
 java.util.Set getCodes()
          Deprecated. Provides the complete set of codes managed by this CRSAuthority.
 
Methods inherited from interface org.geotools.factory.Factory
getImplementationHints
 

Method Detail

getCodes

public java.util.Set getCodes()
Deprecated. 
Provides the complete set of codes managed by this CRSAuthority.

Note these codes are will include any authority information such as EPSG or AUTO.

Returns:
Set of codes used to identify CRS provided by this Factory.

decode

public org.opengis.referencing.crs.CoordinateReferenceSystem decode(java.lang.String encoding)
                                                             throws java.io.IOException
Deprecated. Replaced by CRSAuthorityFactory.createCoordinateReferenceSystem(java.lang.String).

Provide access to the low-level decoding system provided by this Factory.

This method is provided to allow access to parser (WKT/XML/?) used by this Authority in a seemless manner.

What purpose this servers is unclear to me since the EPSG code will not be known for the resulting CoordinateReferenceSystem.

Parameters:
encoding -
Returns:
CoordinateReferenceSystem for the encoding or null if encoding was unsuitable
Throws:
java.io.IOException - If the encoding should of been parsable but contained an error


Copyright © GeoTools. All Rights Reserved.