GeoAPI 1.0
Build 2004-05-18

org.opengis.spatialschema.geometry.geometry
Interface Position


public interface Position

A union type consisting of either a direct position or of a reference to 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 (variant direct) or indirectly as a reference to a point (variant indirect).

Version:
2.0
Author:
ISO/DIS 19107, OpenGIS® consortium
UML identifier (data type): GM_Position

Method Summary
 DirectPosition getDirect()
          Returns the direct position.
 Point getIndirect()
          Returns the point.
 

Method Detail

getDirect

DirectPosition getDirect()
Returns the direct position. If null, then getIndirect() must returns a non-null value.

Returns:
The direct position, or null.
UML identifier (conditional attribute): direct

getIndirect

Point getIndirect()
Returns the point. If null, then getDirect() must returns a non-null value.

Returns:
The point, or null.
UML identifier (conditional attribute): indirect

GeoAPI 1.0
Build 2004-05-18

Symbols, terms and definitions
Copyright OpenGIS® Consortium