public class DefaultParametricCRS extends AbstractCRS
Used with datum type:
Parametric.
Used with coordinate system type:
Parametric.
DefaultParametricDatum
,
DefaultParametricCS
,
GeodeticAuthorityFactory.createParametricCRS(String)
,
Serialized FormDefined in the sis-referencing
module
DEPRECATED_KEY, LOCALE_KEY
DOMAIN_OF_VALIDITY_KEY, SCOPE_KEY
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
Modifier | Constructor and Description |
---|---|
protected |
DefaultParametricCRS(DefaultParametricCRS crs)
Constructs a new coordinate reference system with the same values than the specified one.
|
|
DefaultParametricCRS(Map<String,?> properties,
DefaultParametricDatum datum,
DefaultParametricCS cs)
Creates a coordinate reference system from the given properties, datum and coordinate system.
|
Modifier and Type | Method and Description |
---|---|
DefaultParametricCRS |
forConvention(AxesConvention convention)
Returns a coordinate reference system equivalent to this one but with axes rearranged according the given
convention.
|
protected String |
formatTo(Formatter formatter)
Formats this CRS as a Well Known Text
ParametricCRS[…] element. |
DefaultParametricCS |
getCoordinateSystem()
Returns the coordinate system.
|
DefaultParametricDatum |
getDatum()
Returns the datum.
|
castOrCopy, computeHashCode, equals, getInterface
getDomainOfValidity, getScope
castOrCopy, equals, getAlias, getDescription, getIdentifiers, getName, getRemarks, hashCode, isDeprecated, isHeuristicMatchForName
print, toString, toString, toWKT
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDomainOfValidity, getScope
getAlias, getIdentifiers, getName, getRemarks, toWKT
public DefaultParametricCRS(Map<String,?> properties, DefaultParametricDatum datum, DefaultParametricCS cs)
Property name | Value type | Returned by |
---|---|---|
"name" | Identifier or String |
AbstractIdentifiedObject.getName() |
"alias" | GenericName or CharSequence (optionally as array) |
AbstractIdentifiedObject.getAlias() |
"identifiers" | Identifier (optionally as array) |
AbstractIdentifiedObject.getIdentifiers() |
"remarks" | InternationalString or String |
AbstractIdentifiedObject.getRemarks() |
"domainOfValidity" | Extent |
AbstractReferenceSystem.getDomainOfValidity() |
"scope" | InternationalString or String |
AbstractReferenceSystem.getScope() |
org.opengis.referencing.datum.ParametricDatum
and org.opengis.referencing.cs.ParametricCS
Those change are pending GeoAPI revision.properties
- the properties to be given to the coordinate reference system.datum
- the datum.cs
- the coordinate system.protected DefaultParametricCRS(DefaultParametricCRS crs)
This constructor performs a shallow copy, i.e. the properties are not cloned.
org.opengis.referencing.crs.ParametricCRS
. This change is pending GeoAPI revision.crs
- the coordinate reference system to copy.public DefaultParametricDatum getDatum()
public DefaultParametricCS getCoordinateSystem()
getCoordinateSystem
in interface CoordinateReferenceSystem
getCoordinateSystem
in class AbstractCRS
public DefaultParametricCRS forConvention(AxesConvention convention)
this
.forConvention
in class AbstractCRS
convention
- the axes convention for which a coordinate reference system is desired.this
).AbstractCS.forConvention(AxesConvention)
protected String formatTo(Formatter formatter)
ParametricCRS[…]
element.
ParametricCRS
is defined in the WKT 2 specification only.formatTo
in class AbstractCRS
formatter
- the formatter where to format the inner content of this WKT element."ParametricCRS"
.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.