org.geotools.referencing.operation
Class DefaultProjection
java.lang.Object
org.geotools.referencing.wkt.Formattable
org.geotools.referencing.AbstractIdentifiedObject
org.geotools.referencing.operation.AbstractCoordinateOperation
org.geotools.referencing.operation.DefaultSingleOperation
org.geotools.referencing.operation.DefaultOperation
org.geotools.referencing.operation.DefaultConversion
org.geotools.referencing.operation.DefaultProjection
- All Implemented Interfaces:
- org.opengis.referencing.operation.Conversion, org.opengis.referencing.operation.CoordinateOperation, org.opengis.referencing.IdentifiedObject, org.opengis.referencing.operation.Operation, org.opengis.referencing.operation.Projection, java.io.Serializable, org.opengis.referencing.operation.SingleOperation
- Direct Known Subclasses:
- DefaultConicProjection, DefaultCylindricalProjection, DefaultPlanarProjection
- public class DefaultProjection
- extends DefaultConversion
- implements org.opengis.referencing.operation.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
- Version:
- $Id: DefaultProjection.java 17672 2006-01-19 00:25:55Z desruisseaux $
- Author:
- Martin Desruisseaux
- See Also:
DefaultProjectedCRS
,
Map projections on MathWorld,
Serialized Form
Fields inherited from interface org.opengis.referencing.operation.CoordinateOperation |
OPERATION_VERSION_KEY, POSITIONAL_ACCURACY_KEY, SCOPE_KEY, VALID_AREA_KEY |
Fields inherited from interface org.opengis.referencing.IdentifiedObject |
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY |
Constructor Summary |
DefaultProjection(org.opengis.referencing.operation.Conversion conversion,
org.opengis.referencing.crs.CoordinateReferenceSystem sourceCRS,
org.opengis.referencing.crs.CoordinateReferenceSystem targetCRS,
org.opengis.referencing.operation.MathTransform transform)
Constructs a new projection with the same values than the specified one, together with the
specified source and target CRS. |
DefaultProjection(java.util.Map properties,
org.opengis.referencing.crs.CoordinateReferenceSystem sourceCRS,
org.opengis.referencing.crs.CoordinateReferenceSystem targetCRS,
org.opengis.referencing.operation.MathTransform transform,
org.opengis.referencing.operation.OperationMethod method)
Constructs a projection from a set of properties. |
Methods inherited from class org.geotools.referencing.operation.AbstractCoordinateOperation |
formatWKT, getAccuracy, getAccuracy, getMathTransform, getOperationVersion, getPositionalAccuracy, getScope, getSourceCRS, getTargetCRS, getType, getValidArea |
Methods inherited from class org.geotools.referencing.AbstractIdentifiedObject |
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.opengis.referencing.operation.Conversion |
getOperationVersion |
Methods inherited from interface org.opengis.referencing.operation.Operation |
getMethod, getParameterValues |
Methods inherited from interface org.opengis.referencing.operation.CoordinateOperation |
getMathTransform, getPositionalAccuracy, getScope, getSourceCRS, getTargetCRS, getValidArea |
Methods inherited from interface org.opengis.referencing.IdentifiedObject |
getAlias, getIdentifiers, getName, getRemarks, toWKT |
DefaultProjection
public DefaultProjection(org.opengis.referencing.operation.Conversion conversion,
org.opengis.referencing.crs.CoordinateReferenceSystem sourceCRS,
org.opengis.referencing.crs.CoordinateReferenceSystem targetCRS,
org.opengis.referencing.operation.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(java.util.Map properties,
org.opengis.referencing.crs.CoordinateReferenceSystem sourceCRS,
org.opengis.referencing.crs.CoordinateReferenceSystem targetCRS,
org.opengis.referencing.operation.MathTransform transform,
org.opengis.referencing.operation.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 if not available.targetCRS
- The target CRS, or 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 © GeoTools. All Rights Reserved.