|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.cs.Info org.geotools.cs.CoordinateSystem org.geotools.cs.LocalCoordinateSystem
DefaultEngineeringCRS
.
A local coordinate system, with uncertain relationship to the world. In general, a local coordinate system cannot be related to other coordinate systems. However, if two objects supporting this interface have the same dimension, axes, units and datum then client code is permitted to assume that the two coordinate systems are identical. This allows several datasets from a common source (e.g. a CAD system) to be overlaid. In addition, some implementations of the Coordinate Transformation (CT) package may have a mechanism for correlating local datums. (E.g. from a database of transformations, which is created and maintained from real-world measurements.)
CS_LocalCoordinateSystem
,
Serialized FormField Summary | |
static LocalCoordinateSystem |
CARTESIAN
Deprecated. A two-dimensional cartesian coordinate system with x,y axis in metres. |
static LocalCoordinateSystem |
PROMISCUOUS
Deprecated. A two-dimensional wildcard coordinate system with x,y axis in metres. |
Fields inherited from interface org.opengis.referencing.ReferenceSystem |
SCOPE_KEY, VALID_AREA_KEY |
Fields inherited from interface org.opengis.referencing.IdentifiedObject |
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY |
Constructor Summary | |
LocalCoordinateSystem(java.lang.CharSequence name,
LocalDatum datum,
Unit[] units,
AxisInfo[] axes)
Deprecated. Creates a local coordinate system. |
|
LocalCoordinateSystem(java.lang.CharSequence name,
LocalDatum datum,
Unit unit,
AxisInfo[] axes)
Deprecated. Creates a local coordinate system. |
Method Summary | |
boolean |
equals(Info object,
boolean compareNames)
Deprecated. Compare this coordinate system with the specified object for equality. |
AxisInfo |
getAxis(int dimension)
Deprecated. Gets axis details for dimension within coordinate system. |
int |
getDimension()
Deprecated. Dimension of the coordinate system. |
LocalDatum |
getLocalDatum()
Deprecated. Replaced by AbstractSingleCRS.getDatum() . |
Unit |
getUnits(int dimension)
Deprecated. Gets units for dimension within coordinate system. |
int |
hashCode()
Deprecated. Returns a hash value for this coordinate system. |
Methods inherited from class org.geotools.cs.CoordinateSystem |
fromGeoAPI, getCoordinateSystem, getDatum, getDefaultEnvelope, getScope, getValidArea |
Methods inherited from class org.geotools.cs.Info |
ensureNonNull, equals, getAbbreviation, getAlias, getAlias, getAuthority, getAuthorityCode, getIdentifiers, getName, getRemarks, toString, toWKT |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.opengis.referencing.IdentifiedObject |
getAlias, getIdentifiers, getName, getRemarks, toWKT |
Field Detail |
public static final LocalCoordinateSystem CARTESIAN
public static final LocalCoordinateSystem PROMISCUOUS
CARTESIAN
,
this coordinate system is treated specially by the default coordinate transformation factory
with loose transformation rules: if no transformation path were found (for example
through a fitted coordinate system), then the
transformation from this CS to any CS with a compatible number of dimensions is
assumed to be the identity transform. This CS is usefull as a kind of wildcard
when no CS were explicitly specified.
Constructor Detail |
public LocalCoordinateSystem(java.lang.CharSequence name, LocalDatum datum, Unit unit, AxisInfo[] axes)
name
- Name to give new object.datum
- Local datum to use in created coordinate system.unit
- Units to use for all axes in created coordinate system.axes
- Axes to use in created coordinate system.CS_CoordinateSystemFactory.createLocalCoordinateSystem(java.lang.String, org.opengis.cs.CS_LocalDatum, org.opengis.cs.CS_Unit, org.opengis.cs.CS_AxisInfo[])
public LocalCoordinateSystem(java.lang.CharSequence name, LocalDatum datum, Unit[] units, AxisInfo[] axes)
name
- Name to give new object.datum
- Local datum to use in created coordinate system.units
- Units to use in created coordinate system.axes
- Axes to use in created coordinate system.CS_CoordinateSystemFactory.createLocalCoordinateSystem(java.lang.String, org.opengis.cs.CS_LocalDatum, org.opengis.cs.CS_Unit, org.opengis.cs.CS_AxisInfo[])
Method Detail |
public LocalDatum getLocalDatum()
AbstractSingleCRS.getDatum()
.
CS_LocalCoordinateSystem.getLocalDatum()
public int getDimension()
getDimension
in interface Dimensioned
getDimension
in class CoordinateSystem
CS_CoordinateSystem.getDimension()
public AxisInfo getAxis(int dimension)
getAxis
in class CoordinateSystem
dimension
- Zero based index of axis.CS_CoordinateSystem.getAxis(int)
public Unit getUnits(int dimension)
getUnits
in class CoordinateSystem
dimension
- Zero based index of axis.CS_CoordinateSystem.getUnits(int)
public boolean equals(Info object, boolean compareNames)
equals
in class Info
object
- The object to compare to this
.compareNames
- true
to comparare the name,
alias, authority
code, etc. as well, or false
to compare only properties
relevant to transformations.
true
if both objects are equal.public int hashCode()
equals
(Info, false)
.
hashCode
in class Info
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |