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§
- geo
- The main
geomodule of theversatiles_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.
Macros§
- impl_
from_ array - Automatically implements
Fromconversions for vector- and array-like collections into geometry container types.