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.5.tar.gz
(3.2 MB
view hashes)
Built Distributions
Close
Hashes for pybind11_geobuf-0.0.5-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 079235c4469044d00358adeb724886694256a464654fd2b4c8317c02613f223a |
|
MD5 | a218645a157c833d4f0cac6f17ac3d2b |
|
BLAKE2b-256 | 4f1815640f5c15148761e570eb71a32ddc18fb45d28e6629aa7f455dfa912b95 |
Close
Hashes for pybind11_geobuf-0.0.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa4cfb00ae875501b7e4bd8849f4dd072578e31f1c491ebdbde80a959f548dee |
|
MD5 | 5360ff7f89ff127fd6fb94f0d9833bbe |
|
BLAKE2b-256 | 607cf144cb12522aed6372544f0cd2aca768af0a1261ae3a8a94cbc9bd452f0d |
Close
Hashes for pybind11_geobuf-0.0.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02602d9596a5e04b845d28d20931b20870b42cdaac06c853717f3d4742619d30 |
|
MD5 | 02a14ae614d3efd9486b7da3c7141e36 |
|
BLAKE2b-256 | 2ef2021e060ae65694bb59e5eaa22c5b6de3681997619ead37c0b695746c97bf |
Close
Hashes for pybind11_geobuf-0.0.5-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 580859b55f967a4aa1e195e64fcd862cd70c05b6abb110a4cba02459766df077 |
|
MD5 | 106f4ee769da017bf04ddc5f0eac2395 |
|
BLAKE2b-256 | dd9115f3503c89ad88c948c9dba2ac7e87d6f8578e87afd499b40e24417e06b3 |
Close
Hashes for pybind11_geobuf-0.0.5-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c69b5543719059bab1fa7eebcb25f6fbb2b58e8a447606ad4043d6c5de7840f |
|
MD5 | f9a2421602bf3ebb46cbcce5375cd26b |
|
BLAKE2b-256 | 7a90ee6a1253d479da7a8cb75c188e546646c0c855db18498825b1ecb93de7ee |
Close
Hashes for pybind11_geobuf-0.0.5-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 120acd37c55d6c783f0562692f1f4687ded4eb2eab17998d20813202a346915f |
|
MD5 | 8ffb3fb5dd688ff7a7e9d2b1ea2c9fdb |
|
BLAKE2b-256 | 6c086a24479b6a8bbefda21d40dc7a3796ddd5c373307a6dc933df762ab8eb8f |
Close
Hashes for pybind11_geobuf-0.0.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff4bf14025ce4fc781a869ed87df764eaa5d52d99f7407cf26368aaa941805f0 |
|
MD5 | 40e1d2c1f53fadf6fa4d9ebd8d3a796e |
|
BLAKE2b-256 | a6b433ff86b405d03a7e9e9062e3c3c28a756963326af6d82ff9cf033caf1ebe |
Close
Hashes for pybind11_geobuf-0.0.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a0536bab25c8770faddfc088c53efd5ac56c52ccd218f4d446cffa6bc0723a4 |
|
MD5 | 1a3e3c97a2f3b4f255bc8e876ab8451a |
|
BLAKE2b-256 | 1a281b10b746d40824d3d5fa3321e3d44de3531a9166a1cff21337943c5198fb |
Close
Hashes for pybind11_geobuf-0.0.5-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a760c3cf1576e4a040f2ff39e3cae2d98996800272786acf702f2f6cdade4552 |
|
MD5 | 24391c62bc32c016592178313f218780 |
|
BLAKE2b-256 | 4c7986d8de9ed5a9cdee4cb250fd7ab4e131b62bdf39d9f3aab353eda85f5283 |
Close
Hashes for pybind11_geobuf-0.0.5-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3ad84af763088c4c173b701e5d0d84e3adc573230697060540be577e651528b |
|
MD5 | 3b7025e46144149f10768bd3230eb88c |
|
BLAKE2b-256 | f216f2b982e22c235b4eaeb116d91ca4c107d64828d00b51fd086c857efe9e9d |
Close
Hashes for pybind11_geobuf-0.0.5-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bd8c11d50b97b24d2a7b423d772dfd7c8b72d67e97b54e7a0950fb783d5a0c4 |
|
MD5 | 8d6d61f44db632b6071957ed2650f7f6 |
|
BLAKE2b-256 | 99483f56b3aece67e1437333b812ad987f4f696915c8b9dc4c7dfee7bca18a89 |
Close
Hashes for pybind11_geobuf-0.0.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26e0e7d430b94d5ebcfdedbd4dcbffb13fc48efceed2cae21df150a31d36f6fe |
|
MD5 | c9b064f793775897dfe7f636cf328995 |
|
BLAKE2b-256 | 89b377039ae2daad28c7da19f60da32adb43b69dfb6b2fe4220db2b828bb05bb |
Close
Hashes for pybind11_geobuf-0.0.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9cd924466bd4ccd72562d830b62f011a77e1e472134421f34d65c75876ea0f5 |
|
MD5 | 1e2a0c20b595f53ff7fe5e9b9c5d4d2c |
|
BLAKE2b-256 | a5e03b11656a656bfbb57c45b39bd326ca7e4fbb29f8901218a72ae818228344 |
Close
Hashes for pybind11_geobuf-0.0.5-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9180b677720987f36c41ff47482995516cb67da20771c8cb9bdbaf15a1cbbdc |
|
MD5 | 36cd41441de575304315db3eebe35a30 |
|
BLAKE2b-256 | 125c386b4634d6114eab19fc28253692d55ebd470ee2dc29e8dbbb49ad8051a7 |
Close
Hashes for pybind11_geobuf-0.0.5-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24b3b2c88c8e96e4df28a68505aa941d3657f3c3129ced6fd8b98337d6955c4d |
|
MD5 | 1162188667ab3c8f1c3df0f0e6693100 |
|
BLAKE2b-256 | 75f21a3997959fcfd1d9eb3330feb3f3496de19fd852e17f436f1df22bafad36 |
Close
Hashes for pybind11_geobuf-0.0.5-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19da54293d9e269688f956b2ae70984ce8054d5b3abfc2dc392713e56da2e4e8 |
|
MD5 | a5651c4cecb2c6e175251478e21d7e2f |
|
BLAKE2b-256 | c4125061a4637dd0a7496d81763d944cf1e3d8f8552b7240e06b731f7c9e6195 |
Close
Hashes for pybind11_geobuf-0.0.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cef97fbfd9a8ed837b52c4d5bee3504feba9adea78b03f5ec7e9162fa5f4099 |
|
MD5 | 0da6bd519b0e380890b18c3076501802 |
|
BLAKE2b-256 | e7aea8d1933ea5762c095e045b92e698d4158fc6514e9200dfd03f0ccd452cde |
Close
Hashes for pybind11_geobuf-0.0.5-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81832762877cf8cc87deedd65a797037bae5b4f2013331504c9d49eb978ed4c9 |
|
MD5 | 989cc0238f77292d6347ce4f621aaaeb |
|
BLAKE2b-256 | eb2171e7a62743fa101d20de7cb5efc22bf7b020ad80c528ddea926c7c59ecbb |
Close
Hashes for pybind11_geobuf-0.0.5-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a979f810a65c76959abbfc2cf022915dd543f69a6d146e618d0cd7043afe1b3 |
|
MD5 | 80a6402c4c4a42e9e019ee28d8cfbb11 |
|
BLAKE2b-256 | 4bdfd1dc75769a55e5499437999c2aa3627af3e3cd43bae6608c1bb54c5ab48a |
Close
Hashes for pybind11_geobuf-0.0.5-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 349a63efb02388a1e4a4db9fb2e5c693a4eac42cb9d76adbcfa2347aebcb3385 |
|
MD5 | 24712a3f65a92ce4d0680e50ea827abc |
|
BLAKE2b-256 | 1d6c120551c79a909b745769270012ff4a4847d59dcdf0a8eb78ccd8d00a1fc5 |
Close
Hashes for pybind11_geobuf-0.0.5-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92c9926c09bb8052ed1aa7b7f793adba991f2557d02ddac55ca693253bc76bac |
|
MD5 | 5aa06461174f11ef847c06fd3375e669 |
|
BLAKE2b-256 | a6aa58b4d8d6b86b71d121eb9c7eb8f842585af880974793c5beae011e2180c0 |
Close
Hashes for pybind11_geobuf-0.0.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ae4aa2b0fc7deb375f200079d3bca52707b34b96fa6ad32cd068b4f7ed4274e |
|
MD5 | bdac90fc6cc662d1938504495f1b3d56 |
|
BLAKE2b-256 | afba709c6aeb959c67913ce904d65505600d280044385e8855b6b81ffbbcea4e |
Close
Hashes for pybind11_geobuf-0.0.5-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0234a90b7752a51806085f1b586114d274778407e36ce3a69ce0eff02835b801 |
|
MD5 | 3301fa6b2a5cbe8576543e333fde7beb |
|
BLAKE2b-256 | bf5b0352b8aece1fdd724a4000935357bb94eca2f46cc89bc8eceb9d15f5d9ea |
Close
Hashes for pybind11_geobuf-0.0.5-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b59c6acd19b284664ca8d076ad4ce948fb266f4c53fc24ac5f139231e850055 |
|
MD5 | c80f40cb22ff3089799791f0142b8337 |
|
BLAKE2b-256 | 386ee5e63c7c8be838dde3eb00b042f9baab5da7bd38b74f97dee80bb511d651 |
Close
Hashes for pybind11_geobuf-0.0.5-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d55800eba9568a1b5ae3a3eb5332086c63e3b36a1c9bd1a5382390aade5c8a51 |
|
MD5 | 4237da89ebcb2ac4de1712695aa6b3aa |
|
BLAKE2b-256 | d1b298c0ddac1c4087420f2f5f7682c36744f74c77e6c2c7065e5b1b8a220ce5 |
Close
Hashes for pybind11_geobuf-0.0.5-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 396e457351afd74932e1787b5678d831c49549b0eb02b03f3be8843c07d2f53e |
|
MD5 | cb6bbf4f83f95ad6dc207b332d5d9600 |
|
BLAKE2b-256 | 0632048da231e0c15ad8592e1de6b4939877595659615d977470d2363403974d |
Close
Hashes for pybind11_geobuf-0.0.5-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e064920d354612441e48e06fdded80f8cce9bf039e3cd66a876f26d37bf2643 |
|
MD5 | 085cd0114006d4d1a46dd62b09c5651f |
|
BLAKE2b-256 | 249ee29442e961680458ecd6ea07b350d7a4a72861a0c4e121f8abb869d18bb8 |
Close
Hashes for pybind11_geobuf-0.0.5-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26e679e53b1a9f96e7b72e9799b07be223f950bb645af809d4c0ba2f23599ebc |
|
MD5 | 8e1111c4ca6db0632a5b15f6f2e6ccec |
|
BLAKE2b-256 | 2dc38a5b243a16cfa4083ccdc853af20f6f4d4dd5bd93bce5e0841a1dc40deb8 |