1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
//! # spatial-narrative
//!
//! A Rust library for representing, analyzing, and working with narratives
//! that unfold across real-world geographic space.
//!
//! ## Overview
//!
//! `spatial-narrative` provides tools for:
//! - Representing events with geographic coordinates and timestamps
//! - Organizing events into coherent narratives
//! - Efficient spatial and temporal indexing
//! - Graph-based analysis of event relationships
//! - Clustering and pattern detection
//! - Import/export in standard formats (GeoJSON, CSV, GPX)
//!
//! ## Quick Start
//!
//! ```rust,no_run
//! use spatial_narrative::prelude::*;
//!
//! // Create a location
//! let location = Location::new(40.7128, -74.0060);
//!
//! // Create an event
//! let event = Event::builder()
//! .location(location)
//! .timestamp(Timestamp::now())
//! .text("Something happened here")
//! .tag("example")
//! .build();
//!
//! // Create a narrative
//! let narrative = Narrative::builder()
//! .title("My Narrative")
//! .event(event)
//! .build();
//! ```
//!
//! ## Modules
//!
//! - [`core`] - Fundamental types: `Location`, `Timestamp`, `Event`, `Narrative`
//! - [`index`] - Spatial and temporal indexing for efficient queries
//! - [`graph`] - Graph representation of narratives
//! - [`analysis`] - Metrics, clustering, and movement analysis
//! - [`io`] - Import/export in various formats
//! - [`transform`] - Coordinate transformations and projections
//! - [`parser`] - Extract locations from unstructured text
//! - [`text`] - Natural language processing utilities
/// Error types for the library
/// Prelude module for convenient imports
pub use ;