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
//! Vector data types and utilities
//!
//! This module provides types for representing and working with vector geospatial data,
//! including geometries, features, and feature collections.
//!
//! # Geometry Types
//!
//! Following the OGC Simple Features specification:
//! - [`geometry::Point`] - 0-dimensional geometry
//! - [`geometry::LineString`] - 1-dimensional geometry
//! - [`geometry::Polygon`] - 2-dimensional geometry
//! - [`geometry::MultiPoint`] - Collection of points
//! - [`geometry::MultiLineString`] - Collection of line strings
//! - [`geometry::MultiPolygon`] - Collection of polygons
//! - [`geometry::GeometryCollection`] - Heterogeneous collection
//!
//! # Features
//!
//! A [`feature::Feature`] combines a geometry with properties (attributes).
//! Features can be organized into [`feature::FeatureCollection`]s.
//!
//! # Example
//!
//! ```
//! use oxigdal_core::vector::{
//! geometry::{Point, Coordinate, Geometry},
//! feature::{Feature, FieldValue},
//! };
//!
//! // Create a point geometry
//! let point = Point::new(10.0, 20.0);
//!
//! // Create a feature with the geometry
//! let mut feature = Feature::new(Geometry::Point(point));
//!
//! // Add properties
//! feature.set_property("name", FieldValue::String("My Point".to_string()));
//! feature.set_property("value", FieldValue::Integer(42));
//! ```
// Re-export commonly used types
pub use ;
pub use ;