Skip to main content

spatial_narrative/core/
mod.rs

1//! Core types and traits for spatial narratives.
2//!
3//! This module provides the fundamental building blocks:
4//! - [`Location`] - Geographic coordinates (WGS84)
5//! - [`Timestamp`] - Temporal information with precision
6//! - [`Event`] - Something that happened at a place and time
7//! - [`Narrative`] - A collection of related events
8//! - [`SourceRef`] - Reference to source material
9
10mod bounds;
11mod event;
12mod location;
13mod narrative;
14mod source;
15mod timestamp;
16mod traits;
17
18pub use bounds::{GeoBounds, TimeRange};
19pub use event::{Event, EventBuilder, EventId};
20pub use location::{Location, LocationBuilder};
21pub use narrative::{Narrative, NarrativeBuilder, NarrativeId, NarrativeMetadata};
22pub use source::{SourceRef, SourceType};
23pub use timestamp::{TemporalPrecision, Timestamp};
24pub use traits::{SpatialEntity, TemporalEntity};