Skip to main content

Module core

Module core 

Source
Expand description

Core types and traits for spatial narratives.

This module provides the fundamental building blocks:

  • Location - Geographic coordinates (WGS84)
  • Timestamp - Temporal information with precision
  • Event - Something that happened at a place and time
  • Narrative - A collection of related events
  • SourceRef - Reference to source material

Structs§

Event
An event in a spatial narrative.
EventBuilder
Builder for constructing Event instances.
EventId
Unique identifier for an event.
GeoBounds
Geographic bounding box.
Location
A geographic location using WGS84 coordinates.
LocationBuilder
Builder for constructing Location instances.
Narrative
A collection of related events forming a coherent story.
NarrativeBuilder
Builder for constructing Narrative instances.
NarrativeId
Unique identifier for a narrative.
NarrativeMetadata
Metadata associated with a narrative.
SourceRef
Reference to source material.
TimeRange
Time range for temporal queries.
Timestamp
A timestamp with timezone awareness and precision tracking.

Enums§

SourceType
Type of source material.
TemporalPrecision
Precision level for timestamps.

Traits§

SpatialEntity
Trait for entities with a spatial location.
TemporalEntity
Trait for entities with temporal information.