public class DefaultTemporalReferenceSystem extends Object implements TemporalReferenceSystem
DOMAIN_OF_VALIDITY_KEY, SCOPE_KEY
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
Constructor and Description |
---|
DefaultTemporalReferenceSystem(ReferenceIdentifier name,
Extent domainOfValidity)
Creates a new instance of TemporalReferenceSystem by passing a ReferenceIdentifier name and a
domain of validity.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
Collection<GenericName> |
getAlias()
An alternative name by which this object is identified.
|
Extent |
getDomainOfValidity()
Identifies the space and time within which the reference system is applicable.
|
Set<ReferenceIdentifier> |
getIdentifiers()
An identifier which references elsewhere the object's defining information.
|
ReferenceIdentifier |
getName()
Provides a name that uniquely identifies the temporal referece system.
|
InternationalString |
getRemarks()
Comments on or information about this object, including data source information.
|
InternationalString |
getScope()
Description of domain of usage, or limitations of usage, for which this (coordinate)
reference system object is valid.
|
Extent |
getValidArea()
Deprecated.
|
int |
hashCode() |
void |
setDomainOfValidity(Extent domainOfValidity) |
void |
setName(ReferenceIdentifier name)
This is a name that uniquely identifies the temporal reference system.
|
void |
setScope(InternationalString scope) |
void |
setValidArea(Extent validArea) |
String |
toString() |
String |
toWKT()
Returns a Well Known Text (WKT) for this
object.
|
public DefaultTemporalReferenceSystem(ReferenceIdentifier name, Extent domainOfValidity)
name
- domainOfValidity
- public ReferenceIdentifier getName()
TemporalReferenceSystem
Currently returns MD_Identifier, which is defined in ISO 19115, while ISO 19108 requires that RS_Identifier (defined in ISO 19111 and http://www.opengis.org/docs/03-073r1.zip) is returned. From the looks of it, org.opengis.referencing.ReferenceSystem could also fit the bill.
getName
in interface IdentifiedObject
getName
in interface TemporalReferenceSystem
ReferenceIdentifier
for the temporal reference systempublic Extent getDomainOfValidity()
TemporalReferenceSystem
TemporalPosition
s referenced to a reference
system which has a valid extent that is less than the extent of a data set containing such
values.
Please note this is very similar to ReferenceSystem.getValidArea() from ISO 19115.
getDomainOfValidity
in interface ReferenceSystem
getDomainOfValidity
in interface TemporalReferenceSystem
null
if not available.@Deprecated public Extent getValidArea()
public InternationalString getScope()
ReferenceSystem
getScope
in interface ReferenceSystem
null
if none.public Collection<GenericName> getAlias()
IdentifiedObject
getAlias
in interface IdentifiedObject
public Set<ReferenceIdentifier> getIdentifiers()
IdentifiedObject
getIdentifiers
in interface IdentifiedObject
public InternationalString getRemarks()
IdentifiedObject
getRemarks
in interface IdentifiedObject
null
if none.public String toWKT() throws UnsupportedOperationException
IdentifiedObject
toWKT
in interface IdentifiedObject
UnsupportedOperationException
- If this object can't be formatted as WKT.public void setName(ReferenceIdentifier name)
public void setDomainOfValidity(Extent domainOfValidity)
public void setValidArea(Extent validArea)
public void setScope(InternationalString scope)
Copyright © 1996–2019 Geotools. All rights reserved.