Skip to content

Class: GeoJSONPolygon

GeoJSON Polygon geometry

URI: debrief:class/GeoJSONPolygon

 classDiagram
    class GeoJSONPolygon
    click GeoJSONPolygon href "../../classes/GeoJSONPolygon/"
      GeoJSONPolygon : coordinates

      GeoJSONPolygon : type


Slots

Name Cardinality and Range Description Inheritance
type 1
String
Geometry type discriminator direct
coordinates 1..*
Float
Array of linear rings (arrays of [lon, lat] pairs) direct

Usages

used by used in type used
CircleAnnotation geometry range GeoJSONPolygon
RectangleAnnotation geometry range GeoJSONPolygon
PolyAnnotation geometry range GeoJSONPolygon

Identifier and Mapping Information

Schema Source

  • from schema: https://debrief.info/schemas/debrief

Mappings

Mapping Type Mapped Value
self debrief:GeoJSONPolygon
native debrief:GeoJSONPolygon

LinkML Source

Direct

name: GeoJSONPolygon
description: GeoJSON Polygon geometry
from_schema: https://debrief.info/schemas/debrief
attributes:
  type:
    name: type
    description: Geometry type discriminator
    from_schema: https://debrief.info/schemas/geojson
    domain_of:
    - GeoJSONPoint
    - GeoJSONEmptyPoint
    - GeoJSONLineString
    - GeoJSONPolygon
    - GeoJSONMultiPoint
    - GeoJSONMultiLineString
    - GeoJSONMultiPolygon
    - TrackFeature
    - ReferenceLocation
    - SystemState
    - MultiPointFeature
    - MultiPolygonFeature
    - NarrativeEntry
    - CircleAnnotation
    - RectangleAnnotation
    - LineAnnotation
    - TextAnnotation
    - VectorAnnotation
    - PolyAnnotation
    - ToolParameter
    - FileProvEntry
    - GeoJSONGeometry
    - GeoJSONFeature
    - DatasetAxisMetadata
    - DatasetEntry
    range: string
    required: true
    equals_string: Polygon
  coordinates:
    name: coordinates
    description: Array of linear rings (arrays of [lon, lat] pairs)
    from_schema: https://debrief.info/schemas/geojson
    domain_of:
    - GeoJSONPoint
    - GeoJSONEmptyPoint
    - GeoJSONLineString
    - GeoJSONPolygon
    - GeoJSONMultiPoint
    - GeoJSONMultiLineString
    - GeoJSONMultiPolygon
    - ViewportPolygon
    range: float
    required: true
    multivalued: true

Induced

name: GeoJSONPolygon
description: GeoJSON Polygon geometry
from_schema: https://debrief.info/schemas/debrief
attributes:
  type:
    name: type
    description: Geometry type discriminator
    from_schema: https://debrief.info/schemas/geojson
    alias: type
    owner: GeoJSONPolygon
    domain_of:
    - GeoJSONPoint
    - GeoJSONEmptyPoint
    - GeoJSONLineString
    - GeoJSONPolygon
    - GeoJSONMultiPoint
    - GeoJSONMultiLineString
    - GeoJSONMultiPolygon
    - TrackFeature
    - ReferenceLocation
    - SystemState
    - MultiPointFeature
    - MultiPolygonFeature
    - NarrativeEntry
    - CircleAnnotation
    - RectangleAnnotation
    - LineAnnotation
    - TextAnnotation
    - VectorAnnotation
    - PolyAnnotation
    - ToolParameter
    - FileProvEntry
    - GeoJSONGeometry
    - GeoJSONFeature
    - DatasetAxisMetadata
    - DatasetEntry
    range: string
    required: true
    equals_string: Polygon
  coordinates:
    name: coordinates
    description: Array of linear rings (arrays of [lon, lat] pairs)
    from_schema: https://debrief.info/schemas/geojson
    alias: coordinates
    owner: GeoJSONPolygon
    domain_of:
    - GeoJSONPoint
    - GeoJSONEmptyPoint
    - GeoJSONLineString
    - GeoJSONPolygon
    - GeoJSONMultiPoint
    - GeoJSONMultiLineString
    - GeoJSONMultiPolygon
    - ViewportPolygon
    range: float
    required: true
    multivalued: true