Skip to content

Class: RectangleAnnotation

GeoJSON Feature for rectangle annotations. Geometry is a Polygon with 4 corners (plus closing point).

URI: debrief:class/RectangleAnnotation

 classDiagram
    class RectangleAnnotation
    click RectangleAnnotation href "../../classes/RectangleAnnotation/"
      RectangleAnnotation : geometry





        RectangleAnnotation --> "1" GeoJSONPolygon : geometry
        click GeoJSONPolygon href "../../classes/GeoJSONPolygon/"



      RectangleAnnotation : id

      RectangleAnnotation : properties





        RectangleAnnotation --> "1" RectangleAnnotationProperties : properties
        click RectangleAnnotationProperties href "../../classes/RectangleAnnotationProperties/"



      RectangleAnnotation : type


Slots

Name Cardinality and Range Description Inheritance
type 1
String
GeoJSON type discriminator direct
id 1
String
Unique identifier direct
geometry 1
GeoJSONPolygon
Rectangle as Polygon (4 corners + close) direct
properties 1
RectangleAnnotationProperties
Rectangle metadata direct

Identifier and Mapping Information

Schema Source

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

Mappings

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

LinkML Source

Direct

name: RectangleAnnotation
description: GeoJSON Feature for rectangle annotations. Geometry is a Polygon with
  4 corners (plus closing point).
from_schema: https://debrief.info/schemas/debrief
attributes:
  type:
    name: type
    description: GeoJSON type discriminator
    from_schema: https://debrief.info/schemas/annotations
    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: Feature
  id:
    name: id
    description: Unique identifier
    from_schema: https://debrief.info/schemas/annotations
    domain_of:
    - TrackFeature
    - ReferenceLocation
    - SystemState
    - MultiPointFeature
    - MultiPolygonFeature
    - NarrativeEntry
    - CircleAnnotation
    - RectangleAnnotation
    - LineAnnotation
    - TextAnnotation
    - VectorAnnotation
    - PolyAnnotation
    - Tool
    - PlatformRecord
    - PlotSummary
    - StacItemSummary
    - GeoJSONFeature
    required: true
  geometry:
    name: geometry
    description: Rectangle as Polygon (4 corners + close)
    from_schema: https://debrief.info/schemas/annotations
    domain_of:
    - TrackFeature
    - ReferenceLocation
    - SystemState
    - MultiPointFeature
    - MultiPolygonFeature
    - InputFeatureState
    - NarrativeEntry
    - CircleAnnotation
    - RectangleAnnotation
    - LineAnnotation
    - TextAnnotation
    - VectorAnnotation
    - PolyAnnotation
    - GeoJSONFeature
    range: GeoJSONPolygon
    required: true
  properties:
    name: properties
    description: Rectangle metadata
    from_schema: https://debrief.info/schemas/annotations
    domain_of:
    - TrackFeature
    - ReferenceLocation
    - SystemState
    - MultiPointFeature
    - MultiPolygonFeature
    - InputFeatureState
    - NarrativeEntry
    - CircleAnnotation
    - RectangleAnnotation
    - LineAnnotation
    - TextAnnotation
    - VectorAnnotation
    - PolyAnnotation
    range: RectangleAnnotationProperties
    required: true

Induced

name: RectangleAnnotation
description: GeoJSON Feature for rectangle annotations. Geometry is a Polygon with
  4 corners (plus closing point).
from_schema: https://debrief.info/schemas/debrief
attributes:
  type:
    name: type
    description: GeoJSON type discriminator
    from_schema: https://debrief.info/schemas/annotations
    alias: type
    owner: RectangleAnnotation
    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: Feature
  id:
    name: id
    description: Unique identifier
    from_schema: https://debrief.info/schemas/annotations
    alias: id
    owner: RectangleAnnotation
    domain_of:
    - TrackFeature
    - ReferenceLocation
    - SystemState
    - MultiPointFeature
    - MultiPolygonFeature
    - NarrativeEntry
    - CircleAnnotation
    - RectangleAnnotation
    - LineAnnotation
    - TextAnnotation
    - VectorAnnotation
    - PolyAnnotation
    - Tool
    - PlatformRecord
    - PlotSummary
    - StacItemSummary
    - GeoJSONFeature
    range: string
    required: true
  geometry:
    name: geometry
    description: Rectangle as Polygon (4 corners + close)
    from_schema: https://debrief.info/schemas/annotations
    alias: geometry
    owner: RectangleAnnotation
    domain_of:
    - TrackFeature
    - ReferenceLocation
    - SystemState
    - MultiPointFeature
    - MultiPolygonFeature
    - InputFeatureState
    - NarrativeEntry
    - CircleAnnotation
    - RectangleAnnotation
    - LineAnnotation
    - TextAnnotation
    - VectorAnnotation
    - PolyAnnotation
    - GeoJSONFeature
    range: GeoJSONPolygon
    required: true
  properties:
    name: properties
    description: Rectangle metadata
    from_schema: https://debrief.info/schemas/annotations
    alias: properties
    owner: RectangleAnnotation
    domain_of:
    - TrackFeature
    - ReferenceLocation
    - SystemState
    - MultiPointFeature
    - MultiPolygonFeature
    - InputFeatureState
    - NarrativeEntry
    - CircleAnnotation
    - RectangleAnnotation
    - LineAnnotation
    - TextAnnotation
    - VectorAnnotation
    - PolyAnnotation
    range: RectangleAnnotationProperties
    required: true