Interface Position

All Known Subinterfaces:

@Deprecated(since="3.1") @Classifier(UNION) @UML(identifier="GM_Position", specification=ISO_19107, version=2003) public interface Position
The GM_Position union has been removed in ISO 19107:2019.
A type consisting of either a direct position or of a point from which a direct position shall be obtained. The use of this data type allows the identification of a position either directly as a coordinate tuple (variant direct) or indirectly as a point (variant indirect).
Departure from OGC/ISO standard due to constraint of the Java language ISO 19107 defines Position as a union of DirectPosition and Point but unions are not allowed in Java. GeoAPI defines Position as the base interface of both types, and the Java instanceof operation should be used for determining the type.