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:

Supported dimensions: X, Y, Z, M, T

Available implementations:

Format conversion overview

GeozeroGeometryGeozeroDatasourceGeometry ConversionGeomProcessor
geo-typesgeo_types::Geometry<f64>-ToGeoGeoWriter
GeoJSONGeoJson, GeoJsonStringGeoJsonReader, GeoJsonToJsonGeoJsonWriter
GDALgdal::vector::Geometry-[ToGdal]GdalWriter
GEOSgeos::Geometry-ToGeosGeosWriter
SVG--ToSvgSvgWriter
WKBWkb, Ewkb, GpkgWkb-ToWkbWkbWriter
WKT--ToWktWktWriter

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.