#geometries #polygon

wkb

Fast, pure-Rust reader and writer for Well-Known Binary geometries

8 breaking releases

0.9.0 May 14, 2025
0.8.0 Dec 3, 2024
0.7.1 Apr 24, 2021
0.7.0 Sep 23, 2020
0.1.0 Aug 4, 2017

#92 in Geospatial

Download history 1723/week @ 2025-02-01 1360/week @ 2025-02-08 2234/week @ 2025-02-15 2008/week @ 2025-02-22 1972/week @ 2025-03-01 1266/week @ 2025-03-08 1428/week @ 2025-03-15 1094/week @ 2025-03-22 1131/week @ 2025-03-29 1185/week @ 2025-04-05 1448/week @ 2025-04-12 1486/week @ 2025-04-19 1496/week @ 2025-04-26 1376/week @ 2025-05-03 2130/week @ 2025-05-10 1384/week @ 2025-05-17

6,545 downloads per month
Used in 20 crates (10 directly)

MIT/Apache

185KB
3K SLoC

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

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.

Dependencies

~1.2–1.8MB
~38K SLoC