|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
---|---|
AxisFlipTransformation | Transformation means flipping of the first and second axis! |
Transformation | The Transformation class supplies the most basic method interface for any given transformation. |
TransformationFactory | The TransformationFactory class is the central access point for all transformations between different
crs's. |
Enum Summary | |
---|---|
SupportedTransformationParameters | The SupportedTransformationParameters enumeration defines currently supported transformation parameters |
SupportedTransformations | The SupportedTransformations enumeration defines currently supported transformations |
TransformationFactory.DSTransform | Defines the type of transformation to use while switching datums. |
A Transformation can be defined as an mathematical operation which transforms some values into other values using a specified function. In geographic terms this means, that some incoming coordinate in a specified crs, must be transformed into a coordinate valid for some other crs. In general two different transformations can be distinguished:
coordinate
, which defines classes for chaining transformations (e.g. transformation steps). The resulting
concatenated transformation will define a function which transforms coordinates between two different coordinate
systemshelmert
, which transforms coordinates from one euclidean R^3 space into anotherpolynomial
, which transforms coordinates direct between two different coordinate system using a polynomial
functionThe TransformFactory tries to create the appropriate transformation(s) to maps coordinates from one coordinate systems into another.
org.deegree.cs.configuration.deegree.xml.DeegreeCRSProvider
will load automatically.
You can achieve this loading by supplying the class
attribute to a crs:TransformationDefinitions/crs:UserDefined
element in the 'transformation-definitions.xml'. This attribute must contain the full class name (with package), e.g. <crs:UserDefined
class='my.package.and.transformation.Implementation'>
org.deegree.cs.transformations
public MyTransformation(
CRSIdentifiable
,
org.deegree.cs.coordinatesystems.CoordinateSystem
sourceCRS,
org.deegree.cs.coordinatesystems.CoordinateSystem
targetCRS,
XMLStreamReader
reader
);
The first three parameters are common to all transformations (for an explanation of their meaning take a look
at Transformation
). The reader, will point to the next element you supplied in the deegree configuration (child
elements of the crs:TransformationDefinitions/crs:UserDefined/), thus relieving you of the parsing of the
transformation-definitions.xml document.
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |