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 |
---|---|---|---|
Id | Integer | 0..1 | |
| |||
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 |
---|---|
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 |
---|
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 |