Skip to content

Class: ViewportPolygon

Geographic area as a 4-corner polygon supporting rotated views (FR-012, FR-013)

URI: debrief:class/ViewportPolygon

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


Slots

Name Cardinality and Range Description Inheritance
coordinates 1..*
Coordinate
Four corners in clockwise order [NW, NE, SE, SW] direct

Usages

used by used in type used
SpatialSlice viewport range ViewportPolygon

Identifier and Mapping Information

Schema Source

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

Mappings

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

LinkML Source

Direct

name: ViewportPolygon
description: Geographic area as a 4-corner polygon supporting rotated views (FR-012,
  FR-013)
from_schema: https://debrief.info/schemas/debrief
attributes:
  coordinates:
    name: coordinates
    description: Four corners in clockwise order [NW, NE, SE, SW]
    from_schema: https://debrief.info/schemas/session-state
    domain_of:
    - GeoJSONPoint
    - GeoJSONEmptyPoint
    - GeoJSONLineString
    - GeoJSONPolygon
    - GeoJSONMultiPoint
    - GeoJSONMultiLineString
    - GeoJSONMultiPolygon
    - ViewportPolygon
    range: Coordinate
    required: true
    multivalued: true
    minimum_cardinality: 4
    maximum_cardinality: 4

Induced

name: ViewportPolygon
description: Geographic area as a 4-corner polygon supporting rotated views (FR-012,
  FR-013)
from_schema: https://debrief.info/schemas/debrief
attributes:
  coordinates:
    name: coordinates
    description: Four corners in clockwise order [NW, NE, SE, SW]
    from_schema: https://debrief.info/schemas/session-state
    alias: coordinates
    owner: ViewportPolygon
    domain_of:
    - GeoJSONPoint
    - GeoJSONEmptyPoint
    - GeoJSONLineString
    - GeoJSONPolygon
    - GeoJSONMultiPoint
    - GeoJSONMultiLineString
    - GeoJSONMultiPolygon
    - ViewportPolygon
    range: Coordinate
    required: true
    multivalued: true
    minimum_cardinality: 4
    maximum_cardinality: 4