| |
|
| org.geotools.referencing.factory.epsg.FactoryUsingWKT org.geotools.referencing.factory.epsg.EsriExtension
EsriExtension | public class EsriExtension extends FactoryUsingWKT (Code) | | Extends the EPSG database with
defined by ESRI. Those CRS will be registered both in
"ESRI" and
"EPSG" name space.
since: 2.4 version: $Id: EsriExtension.java 25668 2007-05-29 13:44:16Z desruisseaux $ author: Martin Desruisseaux |
Field Summary | |
final public static String | FILENAME The default filename to read. |
Constructor Summary | |
public | EsriExtension() Constructs an authority factory using the default set of factories. | public | EsriExtension(Hints hints) Constructs an authority factory using a set of factories created from the specified hints. |
Method Summary | |
protected Citation[] | getAuthorities() Returns the set of authorities to use as identifiers for the CRS to be created. | protected URL | getDefinitionsURL() Returns the URL to the property file that contains CRS definitions. | public static void | main(String[] args) Prints a list of codes that duplicate the ones provided in the
DefaultFactory .
The factory tested is the one registered in
ReferencingFactoryFinder . |
FILENAME | final public static String FILENAME(Code) | | The default filename to read. This file will be searched in the
org/geotools/referencing/factory/espg directory in the
classpath or in a JAR file.
See Also: EsriExtension.getDefinitionsURL |
EsriExtension | public EsriExtension()(Code) | | Constructs an authority factory using the default set of factories.
|
getAuthorities | protected Citation[] getAuthorities()(Code) | | Returns the set of authorities to use as identifiers for the CRS to be created.
The default implementation returns
and
authorities.
|
getDefinitionsURL | protected URL getDefinitionsURL()(Code) | | Returns the URL to the property file that contains CRS definitions.
The default implementation returns the URL to the
file.
The URL, or null if none. |
main | public static void main(String[] args) throws FactoryException(Code) | | Prints a list of codes that duplicate the ones provided in the
DefaultFactory .
The factory tested is the one registered in
ReferencingFactoryFinder . By default, this
is this
EsriExtension class backed by the
property file.
This method can be invoked from the command line in order to check the content of the
property file. Valid arguments are:
-test | Try to instantiate all CRS and reports any failure
to do so. |
-duplicated | List all codes from the WKT factory that are
duplicating a code from the SQL factory. |
Parameters: args - Command line arguments. throws: FactoryException - if an error occured. |
|
|
|