Shape (Parent Class)

Note: The shape does not have an ID, because it is always contained by something else.

Note: We are assuming all point data is projected in WGS84. The FMIS would be responsible for reprojecting if needed.

ShapeSettings: Metadata


AttributeTypeMultiplicityDescription
IdInteger0..1
SettingsShapeSettings0..1

ISO19115 object

  Not implemented. Will wait for a requirement to work on it further.

TypeShapeTypeEnum1What kind of shape is this? (point, multipoint, etc.)

ShapeTypeEnum

 Note: These types correspond to those in the OGC standard

 

Enum ValueDescription
PointA single point
MultiPointA multipoint shape
LineStringA line described by an ordered list of points.
MultiLineStringA list of LineString shapes.
LinearRingOne ring of a polygon, described by an ordered list of points, ideally with the first point repeated as the last point so that it forms a complete ring.
PolygonOne exterior ring, and zero or more interior rings which denote holes. The interior rings should be spatially contained inside the exterior ring, and should not overlap.
MultiPolygonA list of Polygon objects, to support polygons which have multiple exterior rings.
RasterGrid

Child classes of Shape:

 

Point
X : double
Y : double
Z : double
M : int
Slope : double?


 

MultiPoint
Points : Array of Point


 

LineString
Points : Array

Note: The order of these points must be preserved!

 

LinearRing
Points : Array

Note: The order of these points must be preserved!

 

MultiLineString
LineStrings : Array
Polygon
ExteriorRing : LinearRing
InteriorRings : Array of LinearRing
MultiPolygon
Polygons : Array of Polygon