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.4.tar.gz
(3.2 MB
view hashes)
Built Distributions
Close
Hashes for pybind11_geobuf-0.0.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a0a94cb228da7d43cd1b778292ea3248d6ec6e64e5e1a05a2739935277aa86d |
|
MD5 | 5709d233242e12fd7a92eedec4e7a923 |
|
BLAKE2b-256 | 7a6a5285fa5ed35a709f4828fb418cfc282a2da327b80d2b7535019ccdc8a7e8 |
Close
Hashes for pybind11_geobuf-0.0.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c25b7cf974304435d2ebc18de51f78827c43579a5c89e10eea7a51eace1c5e6 |
|
MD5 | a77c39ff77908dab3e42a196d7aa530f |
|
BLAKE2b-256 | ed00f89d9f32652431cb3b253bfd866db506e4b32b0a583e3a18eeefedcb3bb5 |
Close
Hashes for pybind11_geobuf-0.0.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5384d09a00ea3703f68a5e7b1ded5ac8150e0839d59935404b23140ee391a46f |
|
MD5 | 6b6a34689a35014db1f47794cc135c3e |
|
BLAKE2b-256 | dc51b369caed58ea6bb94dd3106e314edf98c2887dc20c8153a697025deb9cce |
Close
Hashes for pybind11_geobuf-0.0.4-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b976bde5189e3ba2a312a68299f46bee0d3b58e9ba2f0b05a8f2840daff65d79 |
|
MD5 | 888a2026365f6baeb04adfa4c4a8fe3f |
|
BLAKE2b-256 | d2338dcefdfbc931101e9757a8ea37e533ee0ac00b8b0d47097646c1c109f09a |
Close
Hashes for pybind11_geobuf-0.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3ffd35ec23799923e61e9d874904d88b8aa857c88f3a913daf0faa1a64e4154 |
|
MD5 | ee250799272417d0ce232362cbe8b29d |
|
BLAKE2b-256 | 75ba7ab9588b16da965d9fd442ee28cba15cffdbcb2fffb416cacec0553e7b48 |
Close
Hashes for pybind11_geobuf-0.0.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9aa97727ff4f0539837b5355169c1a56a14e155a6dc1d21a11ddccf54987cf7f |
|
MD5 | f8f09b20adc512423f45df5d42447bfd |
|
BLAKE2b-256 | 8604034b4183fcffb21161045d9d0a7b441a2f091915d3f9691f117e4d3f5ac8 |
Close
Hashes for pybind11_geobuf-0.0.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c89945b379f8c5ce4e1fd3ef86a533f466c01a07854a128e6a2618041250dd64 |
|
MD5 | 180e1a39d7ecc5016eca981aa445549d |
|
BLAKE2b-256 | dfb279d4b006fd7b4f7795c3cd76bad4e63464952f71ced4746c759dc60bd9ce |
Close
Hashes for pybind11_geobuf-0.0.4-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39ac4f88f0cf37b3da0200dea51e3eed91e22d5567b68e38f7cc56b7cc7fb5de |
|
MD5 | c39dc52ccab700d4aff391925e8cdd29 |
|
BLAKE2b-256 | 4f88fa56dd5ba5d97accfa7686306fd388202783a43659773ae15066caf67de1 |
Close
Hashes for pybind11_geobuf-0.0.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | feca5437bbe3e8c0ab957998e658fefcad212623b5cb04670fb3d4fb0832bbe7 |
|
MD5 | e4e18a57a0469ebe1b7f4947c6165573 |
|
BLAKE2b-256 | 99afa96f9a2c03bd5e08c3405f562815e32db385737901e04c26436c36adcef2 |
Close
Hashes for pybind11_geobuf-0.0.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e45451fee39ae22988d99c0f1a6c32dd6469e5436c4a2a1dac54f7f1f0254538 |
|
MD5 | 2b705337986b0c414f86ed5de5106e3d |
|
BLAKE2b-256 | ca799b05b1a631ed810aca5aaefa4a6f03088b18cc3c483d2325f55e1bbbda5e |
Close
Hashes for pybind11_geobuf-0.0.4-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56e62d4a28011a3765f953fc39199e62e9e5ce16512f3bd72632c6164b917daf |
|
MD5 | 22822ccb953865bf9ba332680ac3e4c3 |
|
BLAKE2b-256 | 79bb546f28a930228e433cbfdd5bdef90d77d98c37bca759abe2926813f0835a |
Close
Hashes for pybind11_geobuf-0.0.4-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b1d3e3c2e4f5b74d4c57152b87c17d8ee8c9e21c1d18a35c91aebdce3a50653 |
|
MD5 | 7813d14b7590f6edd3459f00cdaa9b17 |
|
BLAKE2b-256 | b1e4a5beddb236745dc453392141463489ee41ecbcf6e907b4724b50bd1dfa2a |
Close
Hashes for pybind11_geobuf-0.0.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fa7e4f7e7665eeb58aaed10873088150c5d8f15c735ede255ef72096dd8e1cb |
|
MD5 | a2efcc52d2c583d95f1833f727f03571 |
|
BLAKE2b-256 | c8869dc3131a9b63d7b1d240a8e1bbe1f6813eb618ea37dd149ac320fa817b0a |
Close
Hashes for pybind11_geobuf-0.0.4-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1cdcf61a0c809bc9199506a656094a4f89ef8d6c63112ed02f296ae9d21ad8b |
|
MD5 | 4611c054a7dfb379d1467ea962b3eebc |
|
BLAKE2b-256 | 7743675b973205cfec3e54359ad8d26f9a9b39bec646ea74d87fcf3115041a8e |
Close
Hashes for pybind11_geobuf-0.0.4-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f535e1e68e7e601dd1858367e4d028e83184f52d943c26e74bf212534781a00 |
|
MD5 | af4fe18516ad9fb03bdfafa61fdc90c1 |
|
BLAKE2b-256 | 3d8f41a9e083548c38885ccfd896a58818338789ac29aad5ef2cf63524ff5f3b |
Close
Hashes for pybind11_geobuf-0.0.4-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b51d4bdb5457e716f6bae3b0d741d8a1ee93ad78f94bede98c2f3e69250324f5 |
|
MD5 | e42eca176fdd469968f73eb7f85c40c0 |
|
BLAKE2b-256 | c9bd9560338bdd6d147afcd31bb86f588bf24b8ef0692e80aa5a6bd8597f8ec8 |
Close
Hashes for pybind11_geobuf-0.0.4-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0734ce6fbd7e2dcd8bd5c8b64e883c5d4441601555e860e5505fc13c2ca7d9a6 |
|
MD5 | de825dc4268eb8bc1f5b9951d6b07c26 |
|
BLAKE2b-256 | 581faed460fadcccddf7dd5ef826895c4983cd56e68640dc7c65a38dbe76fbb5 |
Close
Hashes for pybind11_geobuf-0.0.4-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48ff440521efbb8ea3f841a30fcb3c0f9aa0e323629fe06ae56967a903833a63 |
|
MD5 | af3be53de6b898bd2f9125ed4153af61 |
|
BLAKE2b-256 | 43d15d21bc03fff8fb535c8f8bcf0d6dc12478cefd1445e0f36630ff5a69749f |
Close
Hashes for pybind11_geobuf-0.0.4-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f65e6cb8d9f04e5bf5f317169120bbd4de629bf21667ff4955fd580929929a0f |
|
MD5 | 7262480fba79e9adb75c846646c53529 |
|
BLAKE2b-256 | db9374ca791ac84f47884901bfc50e908ff7c67bbf853eba4dcec3d569d25caa |
Close
Hashes for pybind11_geobuf-0.0.4-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e90f40977c8de18990c1d9234acc296c593cb74f927065c05282ca02022b728 |
|
MD5 | 118ac4a1707dd2b946259751bae41e4c |
|
BLAKE2b-256 | ef00f8bdb748eaf4e55a1a96ff6b29cad36e3827ee385250393aca14a97bb947 |
Close
Hashes for pybind11_geobuf-0.0.4-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45295a947ffe567fc4c044d0c2d31535d67c3ae4b3cc8e4f6dbd9b7a1efa6fe9 |
|
MD5 | 3e6fea138ea3da165ca7d492abb25381 |
|
BLAKE2b-256 | 92c7f944ca40bfe50d2b51d20a2004c1a25060354e345e7bc4209122deadfbfa |
Close
Hashes for pybind11_geobuf-0.0.4-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d138c5c7a803827b955d67952364ec024449112fe000731728596051927b037 |
|
MD5 | 53c740e75ddd9678a63ab6a18de5bba7 |
|
BLAKE2b-256 | b0386c3daf639c110f2a07a9e28fa8d396300aaa092931fe6596bfb93ef9f86e |