c++ geobuf with python binding
Project description
geobuf
C++ port of https://github.com/mapbox/geobuf, and with python binding.
Python binding
Install
# from pypi
pip install -U pybind11_geobuf
# from source
git clone --recursive https://github.com/cubao/geobuf-cpp
pip install ./geobuf-cpp
# or just
pip install git+https://github.com/cubao/geobuf-cpp.git
(you can build wheels for later reuse by pip wheel git+https://github.com/cubao/geobuf-cpp.git
)
See tests/test_geobuf.py
for usage.
Dependencies
All dependencies are header-only, including:
rapidjson
for JSON read/writegeojson-cpp
for GeoJSON representation- dependencies
- forked from mapbox, with some modifications to
geojson-cpp
andgeometry.hpp
- added
z
to mapbox::geojson::point - added
custom_properties
to geometry/feature/feature_collection
- added
protozero
for protobuf encoding/decoding
dbg-macro
and doctest
are dev dependencies.
Simple roundtrip tests pass, have identical results to JS implementation.
Development
pull all code:
git submodule update --init --recursive
compile & test:
make build
make test_all
make roundtrip_test_js
make roundtrip_test_cpp
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pybind11_geobuf-0.1.7.tar.gz
(3.6 MB
view hashes)
Built Distributions
Close
Hashes for pybind11_geobuf-0.1.7-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0b04864dbf41e0c14247bdd888b43884fbd7941cef2819030d525018c5c88e0 |
|
MD5 | 638c93693fc9758d1ee4e0f105df2669 |
|
BLAKE2b-256 | 5305e36e1036d23cf4aadb658893a86c6bc751650ee81e425ed96c40b9aeeaf9 |
Close
Hashes for pybind11_geobuf-0.1.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b22efe215e1d8aa76bf1176ddf9f9be5a5f888e20f00ab08bd3c6bd5b11307f |
|
MD5 | 730477dd3581f73225b63ad613a733db |
|
BLAKE2b-256 | ece5b647ee6deb8df6b93a6ed5a446de32a52700424cffbc395a92ce6666f29a |
Close
Hashes for pybind11_geobuf-0.1.7-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53c7805a2536a603a28ff7718112104c68f205914c852a44cbcf54269f8e3915 |
|
MD5 | 1820ffb25179bee9facaea4b392654c7 |
|
BLAKE2b-256 | 9c3baaf3f0211be3342acd48b3813943a1b500597ae7ceac606f0dd14817bcf3 |
Close
Hashes for pybind11_geobuf-0.1.7-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49d8f6d4b4c336f2565851a5a857058ed824cd51a8f1640812001f718664ad49 |
|
MD5 | 0fa1a0cd2e9444223bde4677d367a68f |
|
BLAKE2b-256 | 6f3fc688cc40062bd0d13ebee2d2642ae9822f4d6d79f79aa65fe39a26ea9c0b |
Close
Hashes for pybind11_geobuf-0.1.7-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb7bf3ac82389c4e92248aef2a2a4dc87f34abba69ae8a66a09fa36dc14060cf |
|
MD5 | 1d2233513d15b007526e071a77618e51 |
|
BLAKE2b-256 | 97df25bd3915ec919ec5a6a77e11854a02acaeedf55085520ffb282bb8e27ad0 |
Close
Hashes for pybind11_geobuf-0.1.7-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24b5251c2cf9acdf430710e8754cc92aa62635242d8e2ecb42e966643237e2e6 |
|
MD5 | 02bfb4bc0380887b068ff8402434aa61 |
|
BLAKE2b-256 | 633b6412d66cfb85446cb396f2a77f2872692f36aff66ceed127765e0275f3c6 |
Close
Hashes for pybind11_geobuf-0.1.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b94095e6e44a9e0aeee0e8f5f65e38027620f0b9b6f42582b0d21cd87dbbb6e1 |
|
MD5 | 25fe30250959e60d6b820ae3cc6f1d98 |
|
BLAKE2b-256 | 04cb5ac3faaf883d036a1b722576f123adcf0e4209cd8cfc56e2c16ec88bf662 |
Close
Hashes for pybind11_geobuf-0.1.7-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 277ff29a54c9dae79a9121d2007afd0dac4a9700001f05a72a0d6bc9c51a6bf7 |
|
MD5 | b0857c6ee01f4a34b3c30338bce9cac2 |
|
BLAKE2b-256 | 87427d3ae1c09d02032455c51a03d3c19d0193060ff7c9f185e6215e13327beb |
Close
Hashes for pybind11_geobuf-0.1.7-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a88bd47a0782048dee217af0a7245c52f2ab7b4d92ac109bce0b8be5ac92b844 |
|
MD5 | 72d6d1e54490e70e39e69e58b44c701a |
|
BLAKE2b-256 | ac5f66a3500d36a43084819245c9aeb62a25bfb6f60c84ffeba96a189a988102 |
Close
Hashes for pybind11_geobuf-0.1.7-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3fe2ed4deae00417960a057196428c3c7e0bd34b6a3b562a59387f90ad3a06f |
|
MD5 | 3157ed61c7f115bb034d44b4d9ade5c2 |
|
BLAKE2b-256 | 119ff4d79a6a1f4930a41d334d34179abba79346d4536f52b0c37da7c25c2650 |
Close
Hashes for pybind11_geobuf-0.1.7-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 384bb31d472fcd266061fa5e05b23a7b3d025301bdd072c58c259315c7123aa7 |
|
MD5 | 1f62669774a355915e6599d054c2b056 |
|
BLAKE2b-256 | 5a18fbdc7325eee8b04071350affb678431ff4b90d814149ef81dbfe2563fe5b |
Close
Hashes for pybind11_geobuf-0.1.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e68cb940be5495ca1b59f42c6d92505d6f199fbbe848f11935809449ec4af73a |
|
MD5 | 1ff1b5e874d5f9ff2244f3c4c41e2e26 |
|
BLAKE2b-256 | db488b5b2932ad6b8f462f36ab43e7fd87f2c445fd0d6f6c96214feb660c528d |
Close
Hashes for pybind11_geobuf-0.1.7-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78824e19e96a8fa3b9ba3e0491169f66897d5b0e08f5e9a41bb745af41809329 |
|
MD5 | 4a9788f127076aa329fbbc7395e1303f |
|
BLAKE2b-256 | a236786a81883c3f4c37a60b7015b67b174181ac2a624c58102d06e9c36151f6 |
Close
Hashes for pybind11_geobuf-0.1.7-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb4a55ce54a23d5d15b75a4f01684076ade17f6ac7fd6a2d10b04d1aa1912817 |
|
MD5 | a09f29a5b1d0e91028e64817e56940a8 |
|
BLAKE2b-256 | b403eab3a058529656e005714fac6f31fbab65f2fd910230628c45cc0df5c945 |
Close
Hashes for pybind11_geobuf-0.1.7-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62217783d795601734eea334e1e911e1e6e50174fd28861538f531a1d7e65833 |
|
MD5 | c8be6836c7d7d50bfdcbe0a43edb2774 |
|
BLAKE2b-256 | b8150fc15af989ac5f0dd45c4645327e690d5dda2ac4944a00313302a32b0f83 |
Close
Hashes for pybind11_geobuf-0.1.7-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e057b543f934af242f583f390083618bce29f0a99a3d8026955b9ca94ae1c17 |
|
MD5 | 820e383f3f86ce20b4047276e8a4105b |
|
BLAKE2b-256 | e68eeccec87ad3d01f0abd7888069c3d7867d1ce84f464475a4ca8a4b17ca173 |
Close
Hashes for pybind11_geobuf-0.1.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ac8a59d321c0baa4bf1f0ca98181bc9c2c5ae739453fbdbf9d6802832f1fd4f1 |
|
MD5 | 9549f78948665798f9697bb5be5cd8bb |
|
BLAKE2b-256 | d3e77058d4b3e82a6d9168696b6e022cffdac8f5da12539ce7d277ee08b8bb34 |
Close
Hashes for pybind11_geobuf-0.1.7-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14d857344317ad3bf9bc6b3f4bd328919d3669a5da8fafd60069acc784f2fd20 |
|
MD5 | 7c7f9656cfc3eb40742f017e645186fc |
|
BLAKE2b-256 | 55dfadf209b64037e784660944894c41e9a3eb88307c7e375ff9d7f0a60e305f |
Close
Hashes for pybind11_geobuf-0.1.7-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03dbf1cb8562ef7831188f4b2727f59c7138720eaebfbf2539077dd79eed6ffb |
|
MD5 | 3be0fd872e8ee4d4fc39e019a2dc6314 |
|
BLAKE2b-256 | b4e672229c7ca2daf0d25f73a4e41da49b426970450cca8ae931afff20031724 |
Close
Hashes for pybind11_geobuf-0.1.7-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85804cc9a38abf62164ec0cf8a7d8ed2304ea51e9a6b135d046333d99b133b3f |
|
MD5 | 328b1d7b3adde0ad267dbdd2ece401d1 |
|
BLAKE2b-256 | b12ade4f174e97fe29c056e1ff90d0ea9aee3dc4e249bdb48325ef8668450693 |
Close
Hashes for pybind11_geobuf-0.1.7-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d2fdd274e17bbdadb4897a6d7c053ef948927e44d6c52923d150c17a4cf872f |
|
MD5 | 1d7c8cfc07d4b6f2effee9cb3a7a7eeb |
|
BLAKE2b-256 | e704e2a7a9411bb5339abe7663da647fc88f3db54d57266d3a8bb0e9a4fe9bc8 |
Close
Hashes for pybind11_geobuf-0.1.7-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2f75cebfe50b80668a4ee9de786ff26bd54e0ea87b9705cdd641f5af8efa284 |
|
MD5 | be896b019384717267e8368d24db4941 |
|
BLAKE2b-256 | 6e7efd2c8c59dcd2258c2e294baee1769d4639e5741c23fc35f53af86f8c1157 |
Close
Hashes for pybind11_geobuf-0.1.7-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8927f48bfc3c1b753a535398da89c2e6497218f3d9765750a3840b77a03f9b7f |
|
MD5 | 91392ed23cfdee9d2928a22c8406321b |
|
BLAKE2b-256 | c7457527ee9e8754a7fd610d4565caab8c230f8aef6eea5512c141d74f41965b |
Close
Hashes for pybind11_geobuf-0.1.7-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f04d17234d89f95bee446a5afc9d5d115278e4e56a13ab9664d0f3cb05aac1d |
|
MD5 | 0e129f16b2e6095a92bc9c7bab798127 |
|
BLAKE2b-256 | d3f3143d8eca48f42383f80604696e48e92d1a205e25307b5afb2f88a0400b2a |
Close
Hashes for pybind11_geobuf-0.1.7-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f4bb785edf2e83d87ff1463758704bd94da01735f62b454795eea1dd622f63b |
|
MD5 | e7677f37be40540dafbd3ff079fe5b67 |
|
BLAKE2b-256 | dd5b8b7a69e6b6f92ad90a3c81f3306815e7b22e6d378698314afdee25756ea1 |
Close
Hashes for pybind11_geobuf-0.1.7-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdd8b0e64bca0603ae35ad2d8355032863d2196c5e562d1a014f882a71a92f9e |
|
MD5 | b4c51f9b7536cb355d5f54650dec605e |
|
BLAKE2b-256 | 4d2f86b0f5d59f39e2e4594db0c532a23da5151c587a477f21868ffae8ea830d |
Close
Hashes for pybind11_geobuf-0.1.7-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c33410ad618cc91358f9d24699310861d44e952c9ad26df50a81318d894a5c1f |
|
MD5 | df6b49a2b65ce9700f69a3e8604fe8b9 |
|
BLAKE2b-256 | 399468a4ff30d2f7e39d90740bd9fec45b71995cf33a9ea8a4e7c9545e6c3da9 |
Close
Hashes for pybind11_geobuf-0.1.7-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76c3a39f4e6eb3fb73a7ca85dba8cfc365206c077c147155e859c1d97b5d551f |
|
MD5 | 7a7e310f34086fd2303ee8500f0f5a4c |
|
BLAKE2b-256 | e85a2923fe07163c338378a9d8001a3b23342059855827517c717be143395744 |