|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- public interface CRSParser<T>
The base interface for deegree (2 & 3) configurations.
Method Summary | |
---|---|
List<CRSCodeType[]> |
getAvailableCRSCodes()
|
IEllipsoid |
getEllipsoidForId(String ellipsoidID)
Tries to find a cached ellipsoid, if not found, the config will be checked. |
IGeodeticDatum |
getGeodeticDatumForId(String datumID)
|
IPrimeMeridian |
getPrimeMeridianForId(String meridianID)
|
IProjection |
getProjectionForId(String projectionId,
GeographicCRS underlyingCRS)
|
String |
getVersion()
|
ICRS |
parseCoordinateSystem(T crsDefintion)
|
CRSResource |
parseIdentifiableObject(String id)
Gets the Element for the given id and heuristically check the localname of the resulting root Element. |
Transformation |
parseTransformation(T transformationDefinition)
Retrieves a transformation from the resource. |
Methods inherited from interface org.deegree.cs.configuration.resources.CRSResource |
---|
getTransformation, getWGS84Transformation |
Methods inherited from interface org.deegree.cs.configuration.resources.XLinkResolver |
---|
getURIAsType |
Method Detail |
---|
ICRS parseCoordinateSystem(T crsDefintion) throws CRSConfigurationException
crsDefintion
- to be parsed
null
if the crsDefinition is null
or could not
be mapped to a valid type.
CRSConfigurationException
- if something went wrong while constructing the crs.String getVersion() throws CRSConfigurationException
CRSConfigurationException
- if the root element is emptyTransformation parseTransformation(T transformationDefinition)
transformationDefinition
-
null
if no transformation could be parsed.IGeodeticDatum getGeodeticDatumForId(String datumID) throws CRSConfigurationException
datumID
-
CRSConfigurationException
IPrimeMeridian getPrimeMeridianForId(String meridianID) throws CRSConfigurationException
meridianID
- the id to search for.
null
CRSConfigurationException
- if the longitude was not set or the units could not be parsed.IEllipsoid getEllipsoidForId(String ellipsoidID) throws CRSConfigurationException
ellipsoidID
-
null
if no ellipsoid with given id was found, or the id was
null
or empty.
CRSConfigurationException
- if something went wrong.CRSResource parseIdentifiableObject(String id)
- ellipsoid
- geodeticDatum
- projectedCRS
- geographicCRS
- compoundCRS
- geocentricCRS
- primeMeridian
- wgs84Transformation
id
- to look for.
CRSIdentifiable
or null
if it could not be parsed.List<CRSCodeType[]> getAvailableCRSCodes() throws CRSConfigurationException
CRSConfigurationException
IProjection getProjectionForId(String projectionId, GeographicCRS underlyingCRS)
projectionId
- of the projectionunderlyingCRS
- of the projection
null
if no such projection could be loaded.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |