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.0.6.tar.gz
(3.2 MB
view hashes)
Built Distributions
Close
Hashes for pybind11_geobuf-0.0.6-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ee95093c15e031ccdda7808bb6ac689e07d9e4ef3ede9e475477007dcb6a647 |
|
MD5 | 3b30e487c9c2dc8f963b2d23313073ed |
|
BLAKE2b-256 | 46f88ea1e29feea0af3ebf634c2071e432ccd0ba3d124cc4cbdd0a602c51b4b0 |
Close
Hashes for pybind11_geobuf-0.0.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ceda814918ec5d8d279ead1ea4a256cf132f0e99b7d159ccbcc9651a020faf2 |
|
MD5 | 5621631f8d7a58025a21e20202659a08 |
|
BLAKE2b-256 | 39b7b3c1d1cf998eb832afbfd10e898fef6915d5befc84398a875fdd6dca7b58 |
Close
Hashes for pybind11_geobuf-0.0.6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b48fa28a0e0503f7d2102f8c1be9302ec59b11541bb2c1317ef9d34ea454b056 |
|
MD5 | de8132c20f9c00b96bc98b4cc1c09b29 |
|
BLAKE2b-256 | 10fa38891c455b4c2008f067a0b7699308b8a62402a9222c0fd69efcf4d5e967 |
Close
Hashes for pybind11_geobuf-0.0.6-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9efa7273eaaa20038808d50d2b8bce2342a9aae2db29f81bd3af7dae3b35e12 |
|
MD5 | 94ce1d0fccc5a71cfa17930211949ac3 |
|
BLAKE2b-256 | fa572422548be0de2aa87f886e97afcf44748494801f6598666e8c2c6c426831 |
Close
Hashes for pybind11_geobuf-0.0.6-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9afbef552991b9c0133a164d84f8bed55ac78f0cfea311c688e0c9604e4d6af6 |
|
MD5 | 8d2039556cd1b2d64bc775026a16a6f4 |
|
BLAKE2b-256 | 81e1098d1c41287ebb41f848cd2cdd94d35712a3e71f86640c7d29fbfec25b29 |
Close
Hashes for pybind11_geobuf-0.0.6-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f5518c36107ed3d1abc51988e70655ab4b1d570e06884c08677a6e43e238594 |
|
MD5 | a91d12a82f0364e162837a9c167e1b8e |
|
BLAKE2b-256 | aa0796ceda25b20ba989037e388ddd90a762886e8d8d1333fa0968c8f04cac95 |
Close
Hashes for pybind11_geobuf-0.0.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3251f6f3fccc1013cb7c887f710b031ee71fc28144006f216406f95d6fbb3351 |
|
MD5 | 505c2b868a08843a11f309996691f370 |
|
BLAKE2b-256 | 72bfe01c3656e9d01eabc953937750cf1148fa104f2953d05fb93b7f233b67be |
Close
Hashes for pybind11_geobuf-0.0.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c098c699d7ac5e4a7715a05d1ed60a6b7f1abc06fefff8761b22403497316b5e |
|
MD5 | b5df4c0474087f52a7d13d0a247e25e8 |
|
BLAKE2b-256 | aa171007cbfaf50ca144071c6f62a4392fda07a7b2957480baceba7ecaed417b |
Close
Hashes for pybind11_geobuf-0.0.6-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46dc41e0110edb4c31359e3d7252507c5023ff75cbe4173e7644d835ad749d14 |
|
MD5 | 4c9afb27535a2ce5231f99635c4d088e |
|
BLAKE2b-256 | 71271dec944ce0a4c9b5da43f3f73d62e65cabba6f21335070a35833a24c5f53 |
Close
Hashes for pybind11_geobuf-0.0.6-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 027fa43ee6c3ea02508429af2dfaa53d7d19e126b8993d54867efe8a2b8ec205 |
|
MD5 | 479f766a1b5cacfa166145b34fe4c22a |
|
BLAKE2b-256 | 731e9dec77b734be43472d8015c584efcd5669bc1ae5e200ea19e93e2be7ff45 |
Close
Hashes for pybind11_geobuf-0.0.6-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc0e213cd1daaa64990cc3809b78458e428280d74b173e8387303b055b172641 |
|
MD5 | aae73e023a7fa594a15a7e54a21433c7 |
|
BLAKE2b-256 | 9482da9aacd6a77e48dad6c9be474335afe049bb55c38daedd988abb988c0744 |
Close
Hashes for pybind11_geobuf-0.0.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 915f594119f61bf8a5b544b9752156efa97ca981caa8f4b7d77f10cae816c452 |
|
MD5 | ae14023d3ec34264d51c3b388b137d08 |
|
BLAKE2b-256 | 4a1895d424cb78b575f1b51d7c3a6ac0820a6a9da3b312553dd03890491d4e04 |
Close
Hashes for pybind11_geobuf-0.0.6-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9256e2675f98292f57c185f5655a00bab8c306294657937f23b88046c6ce860 |
|
MD5 | aecd705c37fa053982d573e8448bdb2a |
|
BLAKE2b-256 | 548ec80503e18203111ad9ecf82c97423840b3a51ded976885d123186b84d2ee |
Close
Hashes for pybind11_geobuf-0.0.6-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6deeb8e11c7fcf5735216256501ceb3981a258abe7dfa4515df05be2d3a8c5e |
|
MD5 | f27ff3a15df472e8ec28c0cf8ebf818b |
|
BLAKE2b-256 | 1feb3a1a14c236ce97568b7932b9b863c085384e234aa27249cd82b0bef2c4d9 |
Close
Hashes for pybind11_geobuf-0.0.6-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55f33ac6b38b8f1f5f8812dbf3d893228b806d9e38b2ea923c5f2edbffef1443 |
|
MD5 | 2097170431afe138a47e567593d68244 |
|
BLAKE2b-256 | c2d053b117670d428adc33c47015253f9aad42c85408afc58adf45500edc7c88 |
Close
Hashes for pybind11_geobuf-0.0.6-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2bb14c098dfd6ac0d664f79328a29a40c742d5c01742a8259cbba82d1124631 |
|
MD5 | f47eb68caf15a56266ca26a418ca2347 |
|
BLAKE2b-256 | f818123242a3d97648363efbc580cfc080948c2296397959b92cd8c87a508eed |
Close
Hashes for pybind11_geobuf-0.0.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5940097334aa39c10775d7573dfc0f1884c79605c61a66a62cf2d5eaaab51396 |
|
MD5 | c6ea64972313c670066343afb0dedd70 |
|
BLAKE2b-256 | a7b29c802e137f1235bb22b1fe0abab4831de4619350051ce8e9f6fa691b52aa |
Close
Hashes for pybind11_geobuf-0.0.6-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d582eb15ead4b5343ea7d98ff0749fdcf2c6d1152cc673366edee893294fc1a4 |
|
MD5 | d31a987b15b1ac3168db0bbee9f8a2cd |
|
BLAKE2b-256 | 76b22df9bf101dcbbba78d37466c715677c8bd692d874044bdb4db4e92af3268 |
Close
Hashes for pybind11_geobuf-0.0.6-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40445ea3dc7ae2038820987126821eb837feb2a4d0b55c71ef423159a8f1572b |
|
MD5 | a7e9223444444fba639a44049a99e78f |
|
BLAKE2b-256 | efd6828da42ea5ebb12c15c7e3f4b49a76ff3f5f5fa8a6815ceb7c1842a9af18 |
Close
Hashes for pybind11_geobuf-0.0.6-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bc952292e8fa79a5fc80f0b5f060c670e082c28710701b021981a0ff2729ec1 |
|
MD5 | ad327ad62f4bd37433e543e2832972dd |
|
BLAKE2b-256 | 4b412d0b26e17961fec1af4739a1d99070e36b72b806209d8b0a4a612831ddc4 |
Close
Hashes for pybind11_geobuf-0.0.6-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b63a27c95f407e88e8d0ce21c85dc9fc5d39b3c5a3397e18fc358fd5f8b5018e |
|
MD5 | 6cb78857057d81904ec8af5bd8e88691 |
|
BLAKE2b-256 | af3e65f1b2f61d67222faa0888b571197a75514d663da1af50f51b5513c9a07e |
Close
Hashes for pybind11_geobuf-0.0.6-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22505954b2f244383ea8bf4b6f8d8bc70aa1f89a824240d27f8fcc43739ba1fe |
|
MD5 | 5d21879489d079a013a870869a90c2fc |
|
BLAKE2b-256 | c0a6dff556e3709e02f89494a727c524a9dce0352314dfa4499101bb72ea6eb2 |
Close
Hashes for pybind11_geobuf-0.0.6-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4f6d4a6c9d354ff95685757596b72419c5428a75bf43eba325d96e5a1922f16 |
|
MD5 | 05bca169715e6cd045e9f04cd5182772 |
|
BLAKE2b-256 | a0706e2af9505a085bf52bd9697f437cfa3fc4bac44e977cf39307fe53f8fd0c |
Close
Hashes for pybind11_geobuf-0.0.6-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5c85707c6be6d835aa6ca5bfd9c4e3734201996ec154b66bb3fc1c78392e737 |
|
MD5 | ccc119c22aaffa4995b27e1e13f44d58 |
|
BLAKE2b-256 | 980f0084b86f8f03a994fb1807e7bce5961f0fe1f33db028e33911d542d2c799 |
Close
Hashes for pybind11_geobuf-0.0.6-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ead0041fd23c1c237f9cf3aa9d3338e8070f5c89b09f372451122356d659c173 |
|
MD5 | e49ecd44b6df3db6febd79ac33a7a689 |
|
BLAKE2b-256 | 1a83ffce16ed5aacbb982e1695002b8d55e930b332a56fc99b884d03d88dc200 |
Close
Hashes for pybind11_geobuf-0.0.6-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63c86314c86365812ebb037be8e99209460be0112a7376b9112ef31f92a98fe4 |
|
MD5 | e36c28bb3586238b05fa2d4211ffc533 |
|
BLAKE2b-256 | c628e197bbaf33de77829beb9f2f6285d6cb37457129d042f864e70202e4dc09 |
Close
Hashes for pybind11_geobuf-0.0.6-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f090980abf9f33f02cf02daae2f1b7b4ad71505926a241f41a0c2ddeb49d79b6 |
|
MD5 | 300bd4c7999d0048992a570f501f6b1e |
|
BLAKE2b-256 | 518cc602bd23a790f02293cd3dacef20a48d58c8f0ab1d295e31c70a9dbb9af5 |
Close
Hashes for pybind11_geobuf-0.0.6-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43f52200e69e60b39548de28fa794ce29c617844627e48c3bb2f7d3a4cfecbf6 |
|
MD5 | fcb2fc6e02130f9ff2f1e621a8bb398f |
|
BLAKE2b-256 | 4da219cd720ce173f7ae777a16719c487de611bde573a20827c2633fc96caebd |