public class AbstractReferenceSystem extends AbstractIdentifiedObject implements ReferenceSystem
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.
EMPTY_ALIAS_ARRAY, EMPTY_IDENTIFIER_ARRAY, IDENTIFIER_COMPARATOR, NAME_COMPARATOR, REMARKS_COMPARATOR
SINGLE_LINE
DOMAIN_OF_VALIDITY_KEY, SCOPE_KEY
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
Constructor and Description |
---|
AbstractReferenceSystem(Map<String,?> properties)
Constructs a reference system from a set of properties.
|
AbstractReferenceSystem(ReferenceSystem object)
Constructs a new reference system with the same values than the specified one.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(AbstractIdentifiedObject object,
boolean compareMetadata)
Compare this reference system with the specified object for equality.
|
Extent |
getDomainOfValidity()
Area or region or timeframe in which this (coordinate) reference system is valid.
|
InternationalString |
getScope()
Description of domain of usage, or limitations of usage, for which this (coordinate)
reference system object is valid.
|
Extent |
getValidArea()
Deprecated.
Renamed
getDomainOfValidity() . |
asSet, ensureAngularUnit, ensureLinearUnit, ensureNonNull, ensureNonNull, ensureTimeUnit, equals, equals, equals, equals, getAlias, getIdentifier, getIdentifier, getIdentifiers, getName, getName, getName, getProperties, getProperties, getRemarks, hashCode, nameMatches, nameMatches, nameMatches
cleanupThreadLocals, formatWKT, toString, toWKT, toWKT, toWKT, toWKT
getAlias, getIdentifiers, getName, getRemarks, toWKT
public AbstractReferenceSystem(ReferenceSystem object)
object
- The reference system to copy.public AbstractReferenceSystem(Map<String,?> properties)
Property name | Value type | Value given to |
---|---|---|
"domainOfValidity" |
Extent |
getDomainOfValidity() |
"scope" |
String or InternationalString |
getScope() |
properties
- The properties to be given to this object.public Extent getDomainOfValidity()
null
if not available.getDomainOfValidity
in interface ReferenceSystem
null
if not available.public Extent getValidArea()
getDomainOfValidity()
.null
if not
available.public InternationalString getScope()
null
if not available.getScope
in interface ReferenceSystem
null
if none.public boolean equals(AbstractIdentifiedObject object, boolean compareMetadata)
compareMetadata
is true
, then all available properties are compared including
valid area and scope.equals
in class AbstractIdentifiedObject
object
- The object to compare to this
.compareMetadata
- true
for performing a strict comparaison, or false
for
comparing only properties relevant to transformations.true
if both objects are equal.Copyright © 1996–2019 Geotools. All rights reserved.