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
//! # geonative-core
//!
//! Core data model for [`geonative`](https://geonative.zebflow.com) — a
//! lightweight, pure-Rust geospatial library built from scratch.
//!
//! This crate defines the **interoperable intermediate representation** that
//! every format driver (`geonative-filegdb`, `geonative-shapefile`,
//! `geonative-geojson`, `geonative-geoparquet`, …) reads into or writes from.
//! The model is Simple-Features-shaped so WKB encoding, GeoJSON, Shapefile,
//! and GeoParquet writers all become near-trivial walks over the tree.
//!
//! ## What's in here
//!
//! - [`Geometry`] — the geometry tree (Point/Multi*/Polygon/Collection)
//! - [`Coord`] — a single coordinate, with optional `z` and `m`
//! - [`Value`] / [`ValueType`] — attribute values and their type tags
//! - [`Feature`] — `fid` + optional geometry + indexed attribute vector
//! - [`Schema`] / [`FieldDef`] / [`GeomField`] — layer schema description
//! - [`Crs`] — coordinate reference system (EPSG / WKT / PROJJSON)
//! - [`Error`] — common error type
//!
//! ## Cargo features
//!
//! - `geo-types` *(off by default)* — `From`/`Into` conversions between this
//! crate's [`Geometry`] and [`geo_types::Geometry`], plus `Coord`. Z/M is
//! silently dropped because `geo-types` is 2D.
pub use Crs;
pub use ;
pub use Feature;
pub use ;
pub use ;
pub use ;
pub use bbox_from_bytes;
/// Crate version, for diagnostic use.
pub const VERSION: &str = env!;