Crate geozero[−][src]
Zero-Copy reading and writing of geospatial data.
GeoZero defines an API for reading geospatial data formats without an intermediate representation. It defines traits which can be implemented to read and convert to an arbitrary format or render geometries directly.
Supported geometry types:
- OGC Simple Features
- Circular arcs as defined by SQL-MM Part 3
- TIN
Supported dimensions: X, Y, Z, M, T
Available implementations:
Format conversion overview
GeozeroGeometry | GeozeroDatasource | Geometry Conversion | GeomProcessor | |
---|---|---|---|---|
geo-types | geo_types::Geometry<f64> | - | ToGeo | GeoWriter |
GeoJSON | GeoJson, GeoJsonString | GeoJsonReader, GeoJson | ToJson | GeoJsonWriter |
GDAL | gdal::vector::Geometry | - | [ToGdal] | GdalWriter |
GEOS | geos::Geometry | - | ToGeos | GeosWriter |
SVG | - | - | ToSvg | SvgWriter |
WKB | Wkb, Ewkb, GpkgWkb | - | ToWkb | WkbWriter |
WKT | - | - | ToWkt | WktWriter |
Modules
error | Error and Result types. |
geo_types | geo-types conversions. |
geojson | GeoJSON conversions. |
geos | GEOS conversions. |
gpkg | Geopackage geometry type encoding/decoding. |
postgis | PostGIS geometry type encoding/decoding. |
svg | SVG conversions. |
wkb | Well-Known Binary (WKB) conversions. |
wkt | Well-Known Text (WKT) conversions. |
Structs
CoordDimensions | Dimensions requested for processing |
ProcessorSink | Empty processor implementation |
Enums
ColumnValue | Feature property value. |
Traits
FeatureAccess | Feature processing API |
FeatureProcessor | Feature processing trait |
FeatureProperties | Feature properties processing API |
GeomProcessor | Geometry processing trait |
GeozeroDatasource | Datasource feature consumer trait. |
GeozeroGeometry | Geometry processing trait. |
ProcessToJson | Consume features as GeoJSON. |
ProcessToSvg | Consume features as SVG. |
PropertyProcessor | Feature property processing trait. |
PropertyReadType | Get property value as Rust type. |
ToGeo | Convert to geo-types Geometry. |
ToGeos | Convert to GEOS geometry. |
ToJson | Convert to GeoJSON. |
ToSvg | Convert to SVG. |
ToWkb | Convert to WKB. |
ToWkt | Convert to WKT. |