|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.referencing.wkt.Formattable
org.geotools.referencing.AbstractIdentifiedObject
org.geotools.referencing.AbstractReferenceSystem
org.geotools.referencing.crs.AbstractCRS
org.geotools.referencing.crs.AbstractSingleCRS
org.geotools.referencing.crs.AbstractDerivedCRS
org.geotools.referencing.crs.DefaultProjectedCRS
public class DefaultProjectedCRS
A 2D coordinate reference system used to approximate the shape of the earth on a planar surface. It is done in such a way that the distortion that is inherent to the approximation is carefully controlled and known. Distortion correction is commonly applied to calculated bearings and distances to produce values that are a close match to actual field values.
Used with CS type(s) |
---|
Cartesian
|
Field Summary |
---|
Fields inherited from class org.geotools.referencing.crs.AbstractDerivedCRS |
---|
_COMPARING, baseCRS, CONVERSION_TYPE_KEY, conversionFromBase |
Fields inherited from class org.geotools.referencing.crs.AbstractSingleCRS |
---|
datum |
Fields inherited from class org.geotools.referencing.crs.AbstractCRS |
---|
coordinateSystem |
Fields inherited from class org.geotools.referencing.AbstractIdentifiedObject |
---|
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR |
Fields inherited from class org.geotools.referencing.wkt.Formattable |
---|
SINGLE_LINE |
Fields inherited from interface org.opengis.referencing.ReferenceSystem |
---|
DOMAIN_OF_VALIDITY_KEY, SCOPE_KEY |
Fields inherited from interface org.opengis.referencing.IdentifiedObject |
---|
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY |
Constructor Summary | |
---|---|
DefaultProjectedCRS(java.util.Map<java.lang.String,?> properties,
org.opengis.referencing.operation.Conversion conversionFromBase,
org.opengis.referencing.crs.GeographicCRS base,
org.opengis.referencing.operation.MathTransform baseToDerived,
org.opengis.referencing.cs.CartesianCS derivedCS)
Constructs a projected CRS from a defining conversion. |
|
DefaultProjectedCRS(java.util.Map<java.lang.String,?> properties,
org.opengis.referencing.crs.GeographicCRS base,
org.opengis.referencing.operation.MathTransform baseToDerived,
org.opengis.referencing.cs.CartesianCS derivedCS)
Constructs a projected CRS from a set of properties. |
|
DefaultProjectedCRS(java.util.Map<java.lang.String,?> properties,
org.opengis.referencing.operation.OperationMethod method,
org.opengis.referencing.crs.GeographicCRS base,
org.opengis.referencing.operation.MathTransform baseToDerived,
org.opengis.referencing.cs.CartesianCS derivedCS)
Deprecated. Create explicitly a DefiningConversion instead. |
|
DefaultProjectedCRS(org.opengis.referencing.crs.ProjectedCRS crs)
Constructs a new projected CRS with the same values than the specified one. |
|
DefaultProjectedCRS(java.lang.String name,
org.opengis.referencing.crs.GeographicCRS base,
org.opengis.referencing.operation.MathTransform baseToDerived,
org.opengis.referencing.cs.CartesianCS derivedCS)
Constructs a projected CRS from a name. |
Method Summary | |
---|---|
protected java.lang.String |
formatWKT(Formatter formatter)
Format the inner part of a Well Known Text (WKT) element. |
org.opengis.referencing.crs.GeographicCRS |
getBaseCRS()
Returns the base coordinate reference system, which must be geographic. |
org.opengis.referencing.operation.Projection |
getConversionFromBase()
Returns the map projection from the base CRS to this CRS. |
org.opengis.referencing.cs.CartesianCS |
getCoordinateSystem()
Returns the coordinate system. |
org.opengis.referencing.datum.GeodeticDatum |
getDatum()
Returns the datum. |
int |
hashCode()
Returns a hash value for this projected CRS. |
Methods inherited from class org.geotools.referencing.crs.AbstractDerivedCRS |
---|
equals |
Methods inherited from class org.geotools.referencing.crs.AbstractSingleCRS |
---|
getAxis, getDimension |
Methods inherited from class org.geotools.referencing.crs.AbstractCRS |
---|
distance |
Methods inherited from class org.geotools.referencing.AbstractReferenceSystem |
---|
getDomainOfValidity, getScope, 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, nameMatches |
Methods inherited from class org.geotools.referencing.wkt.Formattable |
---|
cleanupThreadLocals, toString, toWKT, toWKT, toWKT |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.opengis.referencing.ReferenceSystem |
---|
getDomainOfValidity, getScope |
Methods inherited from interface org.opengis.referencing.IdentifiedObject |
---|
getAlias, getIdentifiers, getName, getRemarks, toWKT |
Constructor Detail |
---|
public DefaultProjectedCRS(org.opengis.referencing.crs.ProjectedCRS crs)
crs
- The coordinate reference system to copy.public DefaultProjectedCRS(java.lang.String name, org.opengis.referencing.crs.GeographicCRS base, org.opengis.referencing.operation.MathTransform baseToDerived, org.opengis.referencing.cs.CartesianCS derivedCS) throws org.opengis.geometry.MismatchedDimensionException
name
- The name.base
- Coordinate reference system to base the derived CRS on.baseToDerived
- The transform from the base CRS to returned CRS.derivedCS
- The coordinate system for the derived CRS. The number
of axes must match the target dimension of the transform
baseToDerived
.
org.opengis.geometry.MismatchedDimensionException
- if the source and target dimension of
baseToDeviced
don't match the dimension of base
and derivedCS
respectively.public DefaultProjectedCRS(java.util.Map<java.lang.String,?> properties, org.opengis.referencing.crs.GeographicCRS base, org.opengis.referencing.operation.MathTransform baseToDerived, org.opengis.referencing.cs.CartesianCS derivedCS) throws org.opengis.geometry.MismatchedDimensionException
The properties are given unchanged to the super-class constructor.
properties
- Name and other properties to give to the new derived CRS object and to
the underlying projection.base
- Coordinate reference system to base the derived CRS on.baseToDerived
- The transform from the base CRS to returned CRS.derivedCS
- The coordinate system for the derived CRS. The number
of axes must match the target dimension of the transform
baseToDerived
.
org.opengis.geometry.MismatchedDimensionException
- if the source and target dimension of
baseToDeviced
don't match the dimension of base
and derivedCS
respectively.public DefaultProjectedCRS(java.util.Map<java.lang.String,?> properties, org.opengis.referencing.operation.OperationMethod method, org.opengis.referencing.crs.GeographicCRS base, org.opengis.referencing.operation.MathTransform baseToDerived, org.opengis.referencing.cs.CartesianCS derivedCS) throws org.opengis.geometry.MismatchedDimensionException
DefiningConversion
instead.
properties
- Name and other properties to give to the new derived CRS object and to
the underlying projection.method
- A description of the method for the
conversion.base
- Coordinate reference system to base the derived CRS on.baseToDerived
- The transform from the base CRS to returned CRS.derivedCS
- The coordinate system for the derived CRS. The number
of axes must match the target dimension of the transform
baseToDerived
.
org.opengis.geometry.MismatchedDimensionException
- if the source and target dimension of
baseToDeviced
don't match the dimension of base
and derivedCS
respectively.public DefaultProjectedCRS(java.util.Map<java.lang.String,?> properties, org.opengis.referencing.operation.Conversion conversionFromBase, org.opengis.referencing.crs.GeographicCRS base, org.opengis.referencing.operation.MathTransform baseToDerived, org.opengis.referencing.cs.CartesianCS derivedCS) throws org.opengis.geometry.MismatchedDimensionException
properties
- Name and other properties to give to the new projected CRS object.conversionFromBase
- The defining conversion.base
- Coordinate reference system to base the projected CRS on.baseToDerived
- The transform from the base CRS to returned CRS.derivedCS
- The coordinate system for the projected CRS. The number
of axes must match the target dimension of the transform
baseToDerived
.
org.opengis.geometry.MismatchedDimensionException
- if the source and target dimension of
baseToDerived
don't match the dimension of base
and derivedCS
respectively.Method Detail |
---|
public org.opengis.referencing.cs.CartesianCS getCoordinateSystem()
getCoordinateSystem
in interface org.opengis.referencing.crs.CoordinateReferenceSystem
getCoordinateSystem
in interface org.opengis.referencing.crs.ProjectedCRS
getCoordinateSystem
in interface org.opengis.referencing.crs.SingleCRS
getCoordinateSystem
in class AbstractCRS
public org.opengis.referencing.datum.GeodeticDatum getDatum()
getDatum
in interface org.opengis.referencing.crs.ProjectedCRS
getDatum
in interface org.opengis.referencing.crs.SingleCRS
getDatum
in class AbstractSingleCRS
public org.opengis.referencing.crs.GeographicCRS getBaseCRS()
getBaseCRS
in interface org.opengis.referencing.crs.GeneralDerivedCRS
getBaseCRS
in interface org.opengis.referencing.crs.ProjectedCRS
getBaseCRS
in class AbstractDerivedCRS
public org.opengis.referencing.operation.Projection getConversionFromBase()
getConversionFromBase
in interface org.opengis.referencing.crs.GeneralDerivedCRS
getConversionFromBase
in interface org.opengis.referencing.crs.ProjectedCRS
getConversionFromBase
in class AbstractDerivedCRS
public int hashCode()
hashCode
in class AbstractDerivedCRS
protected java.lang.String formatWKT(Formatter formatter)
formatWKT
in class AbstractDerivedCRS
formatter
- The formatter to use.
"PROJCS"
.Formattable.toWKT()
,
Formattable.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |