Ringkasan
Geovara
Project Overview
Geovara is a high-performance, stateless geospatial data engineering platform and map editor. Built with Next.js, OpenLayers, CesiumJS, and Turf.js, it combines an interactive vector drawing canvas with a Monaco code editor, deterministic RFC 7946 GeoJSON validation, client-side spatial analysis, and 3D globe visualization.
Architecture Principles
- Stateless by Design: No server-side database. Geometries and the map viewport live in a compressed (LZW) URL hash, so every project can be shared instantly via a link.
- Client-Side Privacy: Data stays in the user's browser.
- Two-Way Sync: The map, the Attribute Table, and the code editor stay in sync at all times.
Key Features
- Drawing & Geometry Editing: Point, LineString, Polygon, Rectangle, and Circle, plus a knife/slice tool, magnetic snapping, vertex editing, per-feature styling, and geodesic distance and area measurement.
- Monaco Editor & Validation: A full JSON editor with an instant RFC 7946 validator, jump-to-error, and GeoJSON schema autocompletion.
- Attribute Table: Inline property editing, batch mutations, and auto-computed area, length, centroid, and bbox.
- Turf.js Spatial Analysis: Buffer, multi-ring buffer, Douglas-Peucker simplification, convex hull, centroids, unkink, and union, intersection, and difference.
- Multi-Format: GeoJSON, Shapefile (auto-reprojection from
.prj), TopoJSON, CSV, WKT, KML/KMZ, drag-and-drop, and loading data from a URL. - CesiumJS 3D Globe: A realistic globe with lighting and atmosphere, and basemaps synced between 2D and 3D (OSM, satellite imagery, topography, dark).
- AI Assistant (Gemini): Natural-language spatial commands such as "create a 5 km buffer around the selected features", backed by a local pattern matcher and an intent cache.
- Developer API: A
window.geovaraconsole API to read, update, and analyze data.
