Expand description
Vector format conversion utilities
Provides format-to-format vector conversion with optional attribute filtering. Supports GeoJSON, Shapefile, and FlatGeobuf as input and output formats.
Structs§
- Attribute
Filter - Attribute filter: matches a named field against a value using an operator.
Enums§
- Filter
Op - Attribute filter operator.
- Vector
Format - Supported vector output formats for CLI conversion.
Functions§
- convert_
vector - Convert a vector dataset between supported formats.
- core_
geom_ to_ geojson - Convert a core geometry to a GeoJSON geometry.
- geojson_
geom_ to_ core - Convert a GeoJSON geometry (
oxigeo_geojson::Geometry) to a core geometry (oxigeo_core::vector::Geometry). Returns an error if coordinates are malformed. - infer_
shapefile_ schema_ from_ geojson - Infer the
ShapeTypeandFieldDescriptors from a slice of Shapefile features. Used when the input is GeoJSON and output is Shapefile. - infer_
shapefile_ schema_ from_ shapefiles - Infer the
ShapeTypeandFieldDescriptors from core vector features (used for Shapefile-to-Shapefile passthrough is not needed here; used for Shapefile→FGB schema inference via core).