org.deegree.cs.configuration.resources
Interface CRSResource<T>

Type Parameters:
T - of the resource
All Superinterfaces:
XLinkResolver<T>
All Known Subinterfaces:
CRSParser<T>, GMLResource, XMLResource
All Known Implementing Classes:
GMLFileResource, ProjFileResource, XMLFileResource

public interface CRSResource<T>
extends XLinkResolver<T>

The GMLResource class defines the access to a resource containing GML crs definitions, often a dictionary file or a database.

Version:
$Revision: 30120 $, $Date: 2011-03-22 10:04:15 +0100 (Tue, 22 Mar 2011) $
Author:
Rutger Bezema, last edited by: $Author: aschmitz $

Method Summary
 Transformation getTransformation(ICRS sourceCRS, ICRS targetCRS)
          Implementations should find a given transformation (chain) which transforms coordinates of the given coordinate system into coordinates of the target crs.
 Helmert getWGS84Transformation(IGeographicCRS sourceCRS)
          Implementations should find the helmert transformation which transforms coordinates of the geodetic datum into coordinates of the WGS84 datum.
 
Methods inherited from interface org.deegree.cs.configuration.resources.XLinkResolver
getURIAsType
 

Method Detail

getWGS84Transformation

Helmert getWGS84Transformation(IGeographicCRS sourceCRS)
Implementations should find the helmert transformation which transforms coordinates of the geodetic datum into coordinates of the WGS84 datum. If no such transformation could be found, the implementation should return null

Parameters:
sourceCRS - to retrieve the transformation for.
Returns:
the Helmert transformation or null if no such transformation was defined.

getTransformation

Transformation getTransformation(ICRS sourceCRS,
                                 ICRS targetCRS)
Implementations should find a given transformation (chain) which transforms coordinates of the given coordinate system into coordinates of the target crs. If no such transformation could be found, the implementation should return null

Parameters:
sourceCRS - start point of the transformation.
targetCRS - end point of the transformations
Returns:
the Transformation or null if no such transformation was defined.


Copyright © 2011. All Rights Reserved.