public class AbstractSingleCRS extends AbstractCRS implements SingleCRS
A coordinate reference system consists of an ordered sequence of coordinate system axes that are related to the earth through a datum. A coordinate reference system is defined by one datum and by one coordinate system. Most coordinate reference system do not move relative to the earth, except for engineering coordinate reference systems defined on moving platforms such as cars, ships, aircraft, and spacecraft.
Coordinate reference systems are commonly divided into sub-types. The common classification criterion for sub-typing of coordinate reference systems is the way in which they deal with earth curvature. This has a direct effect on the portion of the earth's surface that can be covered by that type of CRS with an acceptable degree of error. The exception to the rule is the subtype "Temporal" which has been added by analogy.
This class is conceptually abstract, even if it is technically possible to
instantiate it. Typical applications should create instances of the most specific subclass with
Default prefix instead. An exception to this rule may occurs when it is not possible to
identify the exact type.
|Modifier and Type||Field and Description|
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR
|Constructor and Description|
Constructs a coordinate reference system from a set of properties.
Constructs a new coordinate reference system with the same values than the specified one.
|Modifier and Type||Method and Description|
Compare this coordinate reference system with the specified object for equality.
Returns the axis for the underlying coordinate system at the specified dimension.
Returns the datum.
Returns the dimension of the underlying coordinate system.
Returns a hash value for this CRS.
distance, formatWKT, getCoordinateSystem
getDomainOfValidity, getScope, getValidArea
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, nameMatches, nameMatches, nameMatches
cleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKT
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
protected final Datum datum
public AbstractSingleCRS(SingleCRS crs)
crs- The coordinate reference system to copy.
public AbstractSingleCRS(java.util.Map<java.lang.String,?> properties, Datum datum, CoordinateSystem cs)
properties- Set of properties. Should contains at least
datum- The datum.
cs- The coordinate system.
public Datum getDatum()
public int getDimension()
public CoordinateSystemAxis getAxis(int dimension) throws java.lang.IndexOutOfBoundsException
dimension- The zero based index of axis.
dimensionis out of bounds.
public boolean equals(AbstractIdentifiedObject object, boolean compareMetadata)
true, then all available properties are compared including valid area and scope.
public int hashCode()
Copyright © 1996-2014 Geotools. All Rights Reserved.