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





        ViewportPolygon --> "1..*" Coordinate : coordinates
        click Coordinate href "../../classes/Coordinate/"



      ViewportPolygon : zoom


Slots

Name Cardinality and Range Description Inheritance
coordinates 1..*
Coordinate
Four corners in clockwise order [NW, NE, SE, SW] direct
zoom 0..1
Float
Map zoom level for restoring the view (optional) direct

Usages

used by used in type used
SystemStateProperties viewport range ViewportPolygon
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/common
    rank: 1000
    domain_of:
    - ViewportPolygon
    - GeoJSONPoint
    - GeoJSONEmptyPoint
    - GeoJSONLineString
    - GeoJSONPolygon
    - GeoJSONMultiPoint
    - GeoJSONMultiLineString
    - GeoJSONMultiPolygon
    range: Coordinate
    required: true
    multivalued: true
    minimum_cardinality: 4
    maximum_cardinality: 4
  zoom:
    name: zoom
    description: Map zoom level for restoring the view (optional)
    from_schema: https://debrief.info/schemas/common
    rank: 1000
    domain_of:
    - ViewportPolygon
    - Viewport
    range: float
    required: false

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/common
    rank: 1000
    alias: coordinates
    owner: ViewportPolygon
    domain_of:
    - ViewportPolygon
    - GeoJSONPoint
    - GeoJSONEmptyPoint
    - GeoJSONLineString
    - GeoJSONPolygon
    - GeoJSONMultiPoint
    - GeoJSONMultiLineString
    - GeoJSONMultiPolygon
    range: Coordinate
    required: true
    multivalued: true
    minimum_cardinality: 4
    maximum_cardinality: 4
  zoom:
    name: zoom
    description: Map zoom level for restoring the view (optional)
    from_schema: https://debrief.info/schemas/common
    rank: 1000
    alias: zoom
    owner: ViewportPolygon
    domain_of:
    - ViewportPolygon
    - Viewport
    range: float
    required: false