Crate wkb

Source
Expand description

§wkb

Crate API Documentation

A fast, freely-licensed implementation of reading and writing the Well-Known Binary encoding of vector geometries.

§Features

  • Reading and write without copying to an intermediate representation, thanks to geo_traits.
  • Full support for Z, M, and ZM dimension data.
  • Full support for little-endian and big-endian data, in both reading and writing.
  • Read-only support for extended Well-Known Binary (EWKB). Any embedded SRID is currently ignored.
  • MIT and Apache 2 license.

§License

Licensed under either of

  • Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
  • MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

at your option.

§Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Modules§

error
Defines WkbError, representing all errors returned by this crate.
reader
Parse buffers containing WKB-encoded geometries.
writer
Write geometries to Well-Known Binary encoding.

Enums§

Endianness
Endianness