Expand description
Shared functionality for geo operations.
Structs§
- Concrete
Vec - A concrete collection of concrete values.
- Encodable
Geometry - A wrapped
Geometry
that can be encoded and decoded via bincode. - Encodable
Ids - A wrapped [’Vec`] that can be encoded and decoded via bincode.
- Encodable
Option String - A wrapper for
Option<Cow<'static, str>>
to make encoding and decoding easier. - Encodable
String - A wrapper for
Cow<'static, str>
to make encoding and decoding easier.
Traits§
- CanGet
GeoJson Features From Source - Trait that supports getting the GeoJSON features from a source.
- HasGeometry
- A trait for types that have a
Geometry
. - HasProperties
- A trait for types that have properties.
- ToGeo
Json - A trait to convert to GeoJSON.
- ToGeo
Json Feature - A trait that allows types to be converted to GeoJSON.
- ToGeo
Json Feature Collection - A trait that allows for iterator types to be converted to GeoJSON.
Functions§
- get_
geojson_ feature_ from_ file - Get the GeoJSON feature from the binary assets.
- get_
geojson_ feature_ from_ string - Get the GeoJSON feature from the binary assets.
- get_
geojson_ features_ from_ file - Get the GeoJSON features from the binary assets.
- get_
geojson_ features_ from_ string - Get the GeoJSON features from the binary assets.
- get_
items_ from_ features - Get the concrete timezones from features.
- get_
lookup_ from_ geometries - Get the cache from the timezones.
- simplify_
geometry - Simplifies a
Geometry
using the Visvalingam-Whyatt algorithm.
Type Aliases§
- Id
- An index into the global static cache.
- IdFeature
Pair - An
(id, Feature)
pair. - Round
Degree - A rounded integer.
- Round
LngLat - A rounded longitude and latitude.