ADAPT - Shape Discussion

ADAPT - Shape Discussion

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

 

Attribute

Type

Multiplicity

Description

Attribute

Type

Multiplicity

Description

Id

Integer

0..1

 

Settings

ShapeSettings

0..1

ISO19115 object

Feb 12, 2016  Not implemented. Will wait for a requirement to work on it further.

Type

ShapeTypeEnum

1

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

Moved to Parking Lot -  @R. Andres Ferreyra (Unlicensed) & @Tarak Reddy (Deactivated): ISO19115 what is it? How is it going to help? 

ShapeTypeEnum

 Note: These types correspond to those in the OGC standard

 

Enum Value

Description

Enum Value

Description

Point

A single point

MultiPoint

A multipoint shape

LineString

A line described by an ordered list of points.

MultiLineString

A list of LineString shapes.

LinearRing

One 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.

Polygon

One 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.

MultiPolygon

A list of Polygon objects, to support polygons which have multiple exterior rings.

RasterGrid

 

Child classes of Shape:

 

Point

Point

X : double

Y : double

Z : double

M : int

Slope : double?

 

 

MultiPoint

MultiPoint

Points : Array of Point

 

 

LineString

LineString

Points : Array

Note: The order of these points must be preserved!

 

LinearRing

LinearRing

Points : Array

Note: The order of these points must be preserved!

 

MultiLineString

MultiLineString

LineStrings : Array

Polygon

Polygon

ExteriorRing : LinearRing

InteriorRings : Array of LinearRing

MultiPolygon

MultiPolygon

Polygons : Array of Polygon