- All Known Subinterfaces:
AffineCS
,CartesianCS
,CompoundCRS
,ConcatenatedOperation
,ConicProjection
,Conversion
,CoordinateOperation
,CoordinateReferenceSystem
,CoordinateSystem
,CoordinateSystemAxis
,CylindricalCS
,CylindricalProjection
,Datum
,DerivedCRS
,Ellipsoid
,EllipsoidalCS
,EngineeringCRS
,EngineeringDatum
,GeneralDerivedCRS
,GeneralParameterDescriptor
,GeocentricCRS
,GeodeticCRS
,GeodeticDatum
,GeographicCRS
,ImageCRS
,ImageDatum
,LinearCS
,OperationMethod
,ParameterDescriptor<T>
,ParameterDescriptorGroup
,PassThroughOperation
,PlanarProjection
,PolarCS
,PrimeMeridian
,ProjectedCRS
,Projection
,ReferenceSystem
,SingleCRS
,SingleOperation
,SphericalCS
,TemporalCRS
,TemporalDatum
,TimeCS
,Transformation
,UserDefinedCS
,VerticalCRS
,VerticalCS
,VerticalDatum
Supplementary identification and remarks information for a CRS or CRS-related object.
When
CRSAuthorityFactory
is used to create an object,
the authority and
authority code values shall be set to the
authority name of the factory object, and the authority code supplied by the client,
respectively. The other values may or may not be set. If the authority is EPSG, the
implementer may consider using the corresponding metadata values in the EPSG tables.- Since:
- 2.0
- Departure from OGC/ISO abstract specification:
Departure for harmonization between different specifications
ISO 19111 defines anIdentifiedObjectBase
interface. The later is omitted in GeoAPI because the split betweenIdentifiedObject
andIdentifiedObjectBase
in the ISO/OGC specification was a workaround for introducingIdentifiedObject
in ISO 19111 without changing theReferenceSystem
definition in ISO 19115 but GeoAPI does not need this workaround.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAlias()
An alternative name by which this object is identified.An identifier which references elsewhere the object's defining information.getName()
The primary name by which this object is identified.Comments on or information about this object, including data source information.toWKT()
Returns a Well Known Text (WKT) for this object.
-
Field Details
-
NAME_KEY
Key for the"name"
property to be given to the object factorycreateFoo(…)
methods. This is used for setting the value to be returned bygetName()
.- See Also:
-
ALIAS_KEY
Key for the"alias"
property to be given to the object factorycreateFoo(…)
methods. This is used for setting the value to be returned bygetAlias()
.- See Also:
-
IDENTIFIERS_KEY
Key for the"identifiers"
property to be given to the object factorycreateFoo(…)
methods. This is used for setting the value to be returned bygetIdentifiers()
.- See Also:
-
REMARKS_KEY
Key for the"remarks"
property to be given to the object factorycreateFoo(…)
methods. This is used for setting the value to be returned bygetRemarks()
.- See Also:
-
-
Method Details
-
getName
@UML(identifier="name", obligation=MANDATORY, specification=ISO_19111) ReferenceIdentifier getName()The primary name by which this object is identified.- Returns:
- The primary name.
-
getAlias
@UML(identifier="alias", obligation=OPTIONAL, specification=ISO_19111) Collection<GenericName> getAlias()An alternative name by which this object is identified.- Returns:
- The aliases, or an empty collection if there is none.
-
getIdentifiers
@UML(identifier="identifier", obligation=OPTIONAL, specification=ISO_19111) Set<ReferenceIdentifier> getIdentifiers()An identifier which references elsewhere the object's defining information. Alternatively an identifier by which this object can be referenced.- Returns:
- This object identifiers, or an empty set if there is none.
-
getRemarks
@UML(identifier="remarks", obligation=OPTIONAL, specification=ISO_19111) InternationalString getRemarks()Comments on or information about this object, including data source information.- Returns:
- The remarks, or
null
if none.
-
toWKT
Returns a Well Known Text (WKT) for this object. This operation may fails if an object is too complex for the WKT format capability (for example an engineering CRS with different unit for each axis).- Returns:
- The Well Know Text for this object.
- Throws:
UnsupportedOperationException
- If this object cannot be formatted as WKT.- Departure from OGC/ISO abstract specification:
Addition of element not in the ISO/OGC specification
This method is not part of the OGC specification. It has been added in order to provide the converse of theCRSFactory.createFromWKT(String)
method, which is defined in OGC 01-009.
-