org.geotools.referencing.operation
Class DefaultProjection
Object
Formattable
AbstractIdentifiedObject
AbstractCoordinateOperation
DefaultSingleOperation
DefaultOperation
DefaultConversion
DefaultProjection
- All Implemented Interfaces:
- Serializable, IdentifiedObject, Conversion, CoordinateOperation, Operation, Projection, SingleOperation
- Direct Known Subclasses:
- DefaultConicProjection, DefaultCylindricalProjection, DefaultPlanarProjection
public class DefaultProjection
- extends DefaultConversion
- implements Projection
A conversion transforming
(longitude,latitude) coordinates to cartesian coordinates
(x,y).
An unofficial list of projections and their parameters can
be found there.
Most projections expect the following parameters:
"central_meridian"
(default to 0),
"latitude_of_origin"
(default to 0),
"scale_factor"
(default to 1),
"false_easting"
(default to 0) and
"false_northing"
(default to 0).
- Since:
- 2.1
- Author:
- Martin Desruisseaux (IRD)
- See Also:
DefaultProjectedCRS
,
Map projections on MathWorld,
Serialized Form
- Module:
Methods inherited from class AbstractCoordinateOperation |
getAccuracy, getAccuracy, getCoordinateOperationAccuracy, getDomainOfValidity, getMathTransform, getOperationVersion, getPositionalAccuracy, getScope, getSourceCRS, getTargetCRS, getType, getValidArea |
Methods inherited from class AbstractIdentifiedObject |
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatches |
DefaultProjection
public DefaultProjection(Conversion conversion,
CoordinateReferenceSystem sourceCRS,
CoordinateReferenceSystem targetCRS,
MathTransform transform)
- Constructs a new projection with the same values than the specified one, together with the
specified source and target CRS. While the source conversion can be an arbitrary one, it is
typically a defining conversion.
- Parameters:
conversion
- The defining conversion.sourceCRS
- The source CRS.targetCRS
- The target CRS.transform
- Transform from positions in the source CRS
to positions in the target CRS.
DefaultProjection
public DefaultProjection(Map<String,?> properties,
CoordinateReferenceSystem sourceCRS,
CoordinateReferenceSystem targetCRS,
MathTransform transform,
OperationMethod method)
- Constructs a projection from a set of properties. The properties given in argument
follow the same rules than for the
AbstractCoordinateOperation
constructor.
- Parameters:
properties
- Set of properties. Should contains at least "name"
.sourceCRS
- The source CRS, or null
if not available.targetCRS
- The target CRS, or null
if not available.transform
- Transform from positions in the source coordinate
reference system to positions in the target
coordinate reference system.method
- The operation method.
Copyright © 1996-2009 Geotools. All Rights Reserved.