| |
|
| org.geotools.referencing.factory.epsg.FactoryUsingWKT org.geotools.referencing.factory.epsg.UnnamedExtension
UnnamedExtension | public class UnnamedExtension extends FactoryUsingWKT (Code) | | Provides common
not found in the standard EPSG database. Those CRS will be registered in
"EPSG" name space.
since: 2.4 version: $Id: UnnamedExtension.java 25398 2007-05-02 13:32:07Z desruisseaux $ author: Andrea Aime |
Field Summary | |
final public static String | FILENAME The default filename to read. |
Constructor Summary | |
public | UnnamedExtension() Constructs an authority factory using the default set of factories. | public | UnnamedExtension(Hints hints) Constructs an authority factory using a set of factories created from the specified hints. |
Method Summary | |
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: UnnamedExtension.getDefinitionsURL |
UnnamedExtension | public UnnamedExtension()(Code) | | Constructs an authority factory using the default set of factories.
|
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
UnnamedExtension 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. |
|
|
|