Module org.apache.sis.referencing
Package org.apache.sis.referencing.factory
package org.apache.sis.referencing.factory
Creates Coordinate Reference System (CRS) objects from given properties or authority codes.
This package provides two kinds of factories:
GeodeticAuthorityFactory
creates geodetic objects from codes defined by an authority. An authority is an organization that maintains definitions of authority codes. An authority code is a compact string defined by an authority to reference a particular spatial reference object. A frequently used set of authority codes is the EPSG geodetic dataset, a database of coordinate systems and other spatial referencing objects where each object has a code number ID.GeodeticObjectFactory
creates complex objects that cannot be created by the authority factories. Allows also inversion of control when used with the EPSG authority factory or with the WKT parser.
sql
sub-package require a connection to a database.
Authorities | Implementation class | Conditions |
---|---|---|
CRS , AUTO and AUTO2 |
CommonAuthorityFactory |
None. |
EPSG |
EPSGFactory |
Requires installation of EPSG dataset. |
- Since:
- 0.6
-
ClassDescriptionCreates coordinate reference systems in the "
OGC
", "CRS
" or"AUTO(2)"
namespaces.ConcurrentAuthorityFactory<DAO extends GeodeticAuthorityFactory>A concurrent authority factory that caches all objects created by another factory.Thrown when a factory contains invalid data.Creates geodetic objects from codes defined by an authority.Creates Coordinate Reference System (CRS) implementations, with their Coordinate System (CS) and Datum components.Searches in an authority factory for objects approximately equal to a given object.The domain of the search (for example whether to include deprecated objects in the search).IdentifiedObjectSet<T extends IdentifiedObject>A lazy set ofIdentifiedObject
instances created from their authority codes only when first needed.Thrown when a factorycreateFoo(…)
method is given invalid parameters.Thrown when a particular object cannot be created because a resource is missing.A factory that delegates the object creation to another factory determined from the authority part in “authority:code” arguments.Thrown when no factory has been found for a given authority name.Thrown when a whole factory cannot be created because a resource is missing.