{"repo":"pkvartsianyi/spatio","free":true,"listed":false,"github":"https://github.com/pkvartsianyi/spatio","clone":"git clone https://github.com/pkvartsianyi/spatio.git","description":"An embedded spatial database designed for applications that need to store and query location-based data efficiently.","language":"Rust","stars":51,"topics":["database","embedded","geospatial","gis","rust","spatial"],"license":"MIT","category":"databases-storage","readme_excerpt":"Spatio Spatio is a high-performance, embedded spatio-temporal database written in Rust. It's designed for real-time tracking of moving objects , with hot/cold state separation , durable persistence , and native Python bindings . Quick Start Python Rust Architecture: Hot/Cold State Spatio follows a specialized architecture for tracking millions of moving objects: - Hot State : Current locations are kept in-memory using a lock-free DashMap and a high-performance R -tree spatial index. - Cold State : Historical movement (trajectories) is persisted to an append-only log on disk. - Recovery : At startup, the Hot State is automatically rebuilt by scanning the latest entries in the Trajectory Log. Features - Spatial Queries: Radius search, 2D/3D Bounding box, K-Nearest Neighbors (KNN), Cylindrical queries. - Object-Centric API: Query around moving objects directly without manual coordinate lookups. - Trajectories: Optimized storage and querying of historical movement paths over time. - Durable Persistence: CRC-checked append-only trajectory log with configurable sync policy and checkpoint recovery. - Lightweight: No external services, no SQL overhead, and a zero-setup embedded engine. - Cross-language: Native high-performance Python bindings via PyO3. - Server Mode: Includes an optional lightweight TCP server for remote access. Configuration Spatio exposes a Config builder for tuning performance and persistence. Examples Tracking Moving Objects 3D Spatial Historical Trajectories API","default_branch":null,"files":null,"tree":[],"storefront":"/r/pkvartsianyi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pkvartsianyi/spatio/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}