Expand description
This crate provides geometric data structures and utilities for the VersaTiles ecosystem.
It includes modules for:
geo: core geometry primitives and traits (e.g.,Point,Polygon, etc.).geojson: parsing and serialization for GeoJSON and NDGeoJSON.tile_outline: helper for generating polygonal outlines from tile bounding boxes.vector_tile: support for reading and writing Mapbox Vector Tile (MVT) protobuf data.
These modules form the geometric backbone for reading, transforming, and exporting geospatial data in VersaTiles.
Modulesยง
- arc_
graph - Arc graph: a topological decomposition of polygon rings and linestrings that lets shared edges be simplified once.
- ext
- Extension traits and free-function helpers operating on
geo_typesgeometries. - feature_
import - In-memory feature-import engine.
- feature_
source - Sources that load vector features from on-disk formats.
- geo
- Feature/property layer of the
versatiles_geometrycrate. - geojson
- This module provides functionality for parsing and reading GeoJSON data.
- tile_
outline - This module defines the
TileOutlineutility for aggregating tile bounding boxes into unified polygonal outlines. It can collect multiple tile or geographic bounding boxes, merge them into a singleMultiPolygon, and export them asGeoFeatureobjects suitable for GeoJSON serialization. - vector_
tile - Vector Tile (MVT) support.