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.7.tar.gz
(3.2 MB
view hashes)
Built Distributions
Close
Hashes for pybind11_geobuf-0.0.7-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dce737abc9d599abe52e93f659027b6556857ec2c3ec56783a149ed990da1c4 |
|
MD5 | dae1b60460cf6d19838b89a770efd77a |
|
BLAKE2b-256 | 8887ce84043ae0ac8a9492e1d02c6053c436c3ad84473a76c6434c2ca94c9ace |
Close
Hashes for pybind11_geobuf-0.0.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe94abc2a00512fbc4b7ab0d243ab607e333fe5f4cc81024743d6d2af06624e6 |
|
MD5 | a863e79af45dc1a098315969a0e784dd |
|
BLAKE2b-256 | 94a2b7223ee06b50f03f537d883ef275f8c80aacf6ed7ce97a4c7755dae936ab |
Close
Hashes for pybind11_geobuf-0.0.7-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9af535cda2d72b9c569f49627bc41ee484d2291bb98bec0b7517680e456553fc |
|
MD5 | 39f74de9727e61c406da7f23b98cc0c5 |
|
BLAKE2b-256 | 0839be821fec03912da13a4ab90d4260a62ad5999b1c1adb9ad575664c5cf3eb |
Close
Hashes for pybind11_geobuf-0.0.7-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f94f6e70c1b656ea4aa440740e26ee79b5cc4163b39530b4bca2fc1d2fe6a4d3 |
|
MD5 | 53c794a585975b5c35e9c79f18471901 |
|
BLAKE2b-256 | 224c8f7ccc15a5cbc2fabaccfe33da22061362fa78a2c2279d8e998d74e28e98 |
Close
Hashes for pybind11_geobuf-0.0.7-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99b2c644d44dc1637b69acae44886cef263aa99eed14a11ce9e67fe805f835ca |
|
MD5 | 803d968334924d3f53401ec078f85605 |
|
BLAKE2b-256 | 69bdbf38a15f38621e122fb2c9de27ab71a542caccf38c07583f550aa5dcd7d6 |
Close
Hashes for pybind11_geobuf-0.0.7-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5b4994d171bb97c3ff91df7bec8100f9fcb736d0652c6d5072ef74189643cce |
|
MD5 | 605ba1da49126635deac2cf506c50de2 |
|
BLAKE2b-256 | dfc18535d6b828559bc4ed0125286f2e611bd0cef46a6a8e6ce38f19f7a4d2db |
Close
Hashes for pybind11_geobuf-0.0.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1edadfd8cf5a259f2af1bb103e73ab054b81e722a12087ac1a7cf935e7855ea0 |
|
MD5 | 18840f243f1c5a5b51ec569c94b645e2 |
|
BLAKE2b-256 | 22eaff8e8cc2a5f808f248e48cf4af82f2c5318f48046173882ef5e13b601b0f |
Close
Hashes for pybind11_geobuf-0.0.7-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7461784d15047e5d325a20d57e6cf5f47cc8e3d3a4b8632f6eb28669c1b7d0ed |
|
MD5 | 830c018212eb0b17725851ac3b0fa4c4 |
|
BLAKE2b-256 | 17ea4b921242dfe82259885009b5d0629fc58f75d8e18753024c6de8b6f3415f |
Close
Hashes for pybind11_geobuf-0.0.7-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23a9c6863d5fc4f3dc954c9c7ca5787c88ba94e464736806344b192df9945334 |
|
MD5 | 8ee96974d1a62e3fa81f98994039aa2e |
|
BLAKE2b-256 | 66e7c5ac356b5c012984926f6cc05e3a330da1085bc88bbc0c2aa209c0e05f5d |
Close
Hashes for pybind11_geobuf-0.0.7-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 918c0fadcd6093e0b3f5d442f4a9e49b203b90d489b4a38c549246966329ad47 |
|
MD5 | 602bc9bd68a3d4a2a2cb5aa9ca131df4 |
|
BLAKE2b-256 | b6120ec6d2e5ed28668648458a6b69fa86686bea22d7f8f807c10f1bc511407e |
Close
Hashes for pybind11_geobuf-0.0.7-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24d9e3a261f5066ebbb16229ffd847a18d40cd53e17424c40121bd089a38a0c3 |
|
MD5 | 59ed558e2956b90ec064fc690b2a75d7 |
|
BLAKE2b-256 | 25663a5da2d50515173d16c63a07c74792e8b56c58dbfd3a0ff3c8724c82629b |
Close
Hashes for pybind11_geobuf-0.0.7-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8d44e558d09ab3ea6e99b5d37749b238adfe24b08c83993d365877a61890484 |
|
MD5 | d4b4deb04d3c3f430abf03f2e26b983c |
|
BLAKE2b-256 | 21e1458b34535fa28f683c1579542d3eb519d1b50f95201361980b0bbb940b5f |
Close
Hashes for pybind11_geobuf-0.0.7-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 067a736897e5ba162639bed4ad9f1aedc33faae10cce18464b0431e2a30d059e |
|
MD5 | 098418448a2d23f0ed73f10826126c6c |
|
BLAKE2b-256 | 9e1db85fb2a224620e7abbe66991530be75e64827529afe5346728356506c608 |
Close
Hashes for pybind11_geobuf-0.0.7-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a37a013b0efe290a3f48e2fb11ae312067cfc6ebe8302694567768293225139 |
|
MD5 | 76af78ca9e9ed3e22d26904bd58c5517 |
|
BLAKE2b-256 | 1fcb3f8ec59c55ecf8245d714a114f2db8a580aa584cf061c70ff357fb8fe045 |
Close
Hashes for pybind11_geobuf-0.0.7-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 559673713b8b9752a99df7d198de2f3af0f7aa86e54bcb905433c77c69d0d1b8 |
|
MD5 | 7b40cc971eeefef49fd72c184c142d0f |
|
BLAKE2b-256 | cef1713a348187895e631173ff23beab6602ef25e11699fead416a77d37cc122 |
Close
Hashes for pybind11_geobuf-0.0.7-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dc0e6a42fd77560f62804d1e654174955f863859404f0327ac3050f72abf89c |
|
MD5 | 8cc271fd94c76e61f61882a052e2439b |
|
BLAKE2b-256 | 7e19b46421289f09b652541289bbf5cc2270ce896c2a962d793cccff388631d7 |
Close
Hashes for pybind11_geobuf-0.0.7-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 960d6c088d7aa1aad331e66774ca44030b62acfa306f0b06e615cf108f24f32d |
|
MD5 | 704db6105ce163da4f8830c5456d8de7 |
|
BLAKE2b-256 | c4b14edbb350887445db3372337ed8a7bb4030d7ab67ae26a66a1808b07aacc6 |
Close
Hashes for pybind11_geobuf-0.0.7-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 431568dc5e6cbf2bab3aa4d1fc49740def15f4b049bc1aed817ecc04e4e5ee65 |
|
MD5 | 3f9f07b9a3d6b1e9d4dfa8ef664d5e05 |
|
BLAKE2b-256 | d880fcd1aa80936e77e263427c30ab0eb749f4d6af9a853add85ff8da95e985c |
Close
Hashes for pybind11_geobuf-0.0.7-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2289ec0766cbb76fccd97afc1f828eb8a64d61f12af2a5c0b319e2ed54e2bc5a |
|
MD5 | b0abd314e233889e97cc1527c8f6caa5 |
|
BLAKE2b-256 | 6355202f80caee41b8bb8b19407958f0e901e62ab173cbc8ad1e119158cd5372 |
Close
Hashes for pybind11_geobuf-0.0.7-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cb3a55ec05c77931f058f3006e5a57242b1d3e4473d3af0f708f80f54d7a033 |
|
MD5 | 156d183a971ad1a9508fa106442d3850 |
|
BLAKE2b-256 | add2d2d3083d7206dd32a343891c6009c1b3e365e89f19493182ba97334d1dfa |
Close
Hashes for pybind11_geobuf-0.0.7-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb21a2b53e44fc42bd25caeaf9f1039f9e1cfc2aefabf3a2f0cf262f32c50f83 |
|
MD5 | 9466d299f3b6513fbf80ffc952f925a2 |
|
BLAKE2b-256 | 9386edf84d0441fe6a68c97cdf12714e1b995a2659e668f7244a61d08d4a30cf |
Close
Hashes for pybind11_geobuf-0.0.7-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e547336cae8b180d62e94c5dabe5e42ec86ccdb421616f457111e5a52eab08b |
|
MD5 | 9a1d6465a0bca06c3b04383f51d799f5 |
|
BLAKE2b-256 | 4b1c4c63476d60bc82aa4fd15c147bb8737a942f717de89cd40f7d5a197c95ea |
Close
Hashes for pybind11_geobuf-0.0.7-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aab7109257166c1f9c1a649c3626656f2f7bfa7972f81b8d7210600f97b8e611 |
|
MD5 | 6dff090e7b2428d4160c78d70eb6cdc9 |
|
BLAKE2b-256 | f3e1d2e198bf753fbd1c743c38ff40f25ec2ab9981212446618adec44ccaf471 |
Close
Hashes for pybind11_geobuf-0.0.7-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f24adc8d4b95d3fc6319007f2de83897fd9d565afc9a450927a9a039a7cbcf02 |
|
MD5 | f7fc98cdad99897df7f6874aca428936 |
|
BLAKE2b-256 | a3d1b318627530ef9cdc0d441cf04efa95c6e5d514a84d0c42754a79dec1295e |
Close
Hashes for pybind11_geobuf-0.0.7-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bab8508abe73e61e83afbf512a6355bb1158e33255b20338da8a474d6c5028d |
|
MD5 | f42c5c202ff1ab5d9509b836e2a18986 |
|
BLAKE2b-256 | 3be643fa1c549e56ad58cc4bec6553e9c585a238c159ce51462cf7e2bdf56d10 |
Close
Hashes for pybind11_geobuf-0.0.7-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67b3994e4253c765935dad2f9169e8d08934e99178dbb3719d211fdec609421c |
|
MD5 | 947a726fd81198f857f6a4198c851bbb |
|
BLAKE2b-256 | 32ad64117d54804141910cf4f921bc3071f5fe0a7ff8e37a1a5320d2df1aeb7e |
Close
Hashes for pybind11_geobuf-0.0.7-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24c3ac394d13c8ffc8261e44a7b77bf8e26e18ae5930f66f801248dbdf5970da |
|
MD5 | fa4b357342e807e56a0d55e995c41fc9 |
|
BLAKE2b-256 | 9934dff69a1a7214dbfeb330092a9b773a91c91fb703b58b060ff753ff23f7a7 |
Close
Hashes for pybind11_geobuf-0.0.7-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37186480215e556dc6f7382cfda072209bd7ca9f9b19597552e97723d68a7318 |
|
MD5 | 6f1a545276aee27506f59a6aeec0ad24 |
|
BLAKE2b-256 | af1c9c07e37dfb293bbaeb9e12badbd7ee4d517c97e29e26167ad28e4681ff93 |