- All Superinterfaces:
IdentifiedObject
@UML(identifier="PrimeMeridian",
specification=ISO_19111)
public interface PrimeMeridian
extends IdentifiedObject
Definition of the origin from which longitude values are determined.
Most geodetic reference frames use Greenwich as their prime meridian.
- Since:
- 1.0
- See Also:
-
Field Summary
Fields inherited from interface org.opengis.referencing.IdentifiedObject
ALIAS_KEY, DOMAINS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
-
Method Summary
Modifier and TypeMethodDescriptionjavax.measure.Unit
<javax.measure.quantity.Angle> Returns the angular unit of the Greenwich longitude.double
Longitude of the prime meridian measured from the internationally-recognized reference meridian, positive eastward.Methods inherited from interface org.opengis.referencing.IdentifiedObject
getAlias, getDomains, getIdentifiers, getName, getRemarks, toWKT
-
Method Details
-
getGreenwichLongitude
@UML(identifier="greenwichLongitude", obligation=MANDATORY, specification=ISO_19111) double getGreenwichLongitude()Longitude of the prime meridian measured from the internationally-recognized reference meridian, positive eastward. If the meridian name is "Greenwich", then this value shall be zero.- Returns:
- the prime meridian Greenwich longitude, in angular unit.
- Unit:
- Angle
-
getAngularUnit
@UML(identifier="getAngularUnit", specification=OGC_01009) javax.measure.Unit<javax.measure.quantity.Angle> getAngularUnit()Returns the angular unit of the Greenwich longitude.- Returns:
- the angular unit of Greenwich longitude.
Departure from OGC/ISO standard for historical reason
This attribute is inherited from an older OGC specification. In ISO 19111,greenwichLongitude
is a property of typeAngle
rather thandouble
, and the unit of measure is part of theAngle
value.
-