Class: SpatialSlice¶
Geographic view state for the map display
URI: debrief:class/SpatialSlice
classDiagram
class SpatialSlice
click SpatialSlice href "../../classes/SpatialSlice/"
SpatialSlice : rotation
SpatialSlice : viewport
SpatialSlice --> "0..1" ViewportPolygon : viewport
click ViewportPolygon href "../../classes/ViewportPolygon/"
Slots¶
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| viewport | 0..1 ViewportPolygon |
Visible map area as 4-corner polygon (FR-012) | direct |
| rotation | 1 Float |
Map rotation in degrees 0-360 (FR-013) | direct |
Usages¶
| used by | used in | type | used |
|---|---|---|---|
| SessionState | spatial | range | SpatialSlice |
| SessionFile | spatial | range | SpatialSlice |
Identifier and Mapping Information¶
Schema Source¶
- from schema: https://debrief.info/schemas/debrief
Mappings¶
| Mapping Type | Mapped Value |
|---|---|
| self | debrief:SpatialSlice |
| native | debrief:SpatialSlice |
LinkML Source¶
Direct¶
name: SpatialSlice
description: Geographic view state for the map display
from_schema: https://debrief.info/schemas/debrief
attributes:
viewport:
name: viewport
description: Visible map area as 4-corner polygon (FR-012)
from_schema: https://debrief.info/schemas/session-state
rank: 1000
domain_of:
- SpatialSlice
range: ViewportPolygon
rotation:
name: rotation
description: Map rotation in degrees 0-360 (FR-013)
from_schema: https://debrief.info/schemas/session-state
rank: 1000
domain_of:
- SpatialSlice
range: float
required: true
minimum_value: 0
maximum_value: 360
Induced¶
name: SpatialSlice
description: Geographic view state for the map display
from_schema: https://debrief.info/schemas/debrief
attributes:
viewport:
name: viewport
description: Visible map area as 4-corner polygon (FR-012)
from_schema: https://debrief.info/schemas/session-state
rank: 1000
alias: viewport
owner: SpatialSlice
domain_of:
- SpatialSlice
range: ViewportPolygon
rotation:
name: rotation
description: Map rotation in degrees 0-360 (FR-013)
from_schema: https://debrief.info/schemas/session-state
rank: 1000
alias: rotation
owner: SpatialSlice
domain_of:
- SpatialSlice
range: float
required: true
minimum_value: 0
maximum_value: 360