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.2.tar.gz
(3.3 MB
view hashes)
Built Distributions
Close
Hashes for pybind11_geobuf-0.1.2-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 993e1f160f110b61ca6b3a547f127f349c77a549716f850e6e9fb4140c7a9456 |
|
MD5 | 0a1019945b40104be73241745dd1d25c |
|
BLAKE2b-256 | e64d5a110c9b911e24db311929887f3b1b1de3988ef59cfe1bd893136c41e6a5 |
Close
Hashes for pybind11_geobuf-0.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8278b021f046d6cb0bd67fa91d26a27567f38bcb6c66e88d909b3553b0a7bc96 |
|
MD5 | 614d3262742c6cb6c7f9a223617ac612 |
|
BLAKE2b-256 | f22cccee5c73d5153a000238d7237ae9377d03a8719f63202cda363d4d6b3141 |
Close
Hashes for pybind11_geobuf-0.1.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 580a4e0e0062e51f271ae4faf792a48086eefeaab2649ccdfbfa4ff525b88045 |
|
MD5 | 93f94fcc055d1e3988c3fa0ddaa81c2e |
|
BLAKE2b-256 | 260f4bc709c44b71ef628e029ec5051577a411898d4299918dcb888c798addee |
Close
Hashes for pybind11_geobuf-0.1.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a487b95ddb2695291bd10f848210dba2a82f0816e110465ea6ae7193edb4ca7e |
|
MD5 | 9697f0b5e6a0dfcfd1d3f5cfe5d67c2a |
|
BLAKE2b-256 | b1b9dd0e77f0583e37e8390ad60d392f84bde576c542703468fb2c7d1bb71016 |
Close
Hashes for pybind11_geobuf-0.1.2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5a9cdb69a0e460b7f98192dc925e305c953e42e9b73faa555f1b7629a4f4ff2 |
|
MD5 | 84234dca7f5c15d29c96a7a72703138d |
|
BLAKE2b-256 | 292d97e8a875d47232aff3f8abc4820880d8a788172f10d0f92decbd7b8ea5c9 |
Close
Hashes for pybind11_geobuf-0.1.2-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85479f195d5fff6c99aada33f95b285a468f1e9ab86d20e8d532784457b92c98 |
|
MD5 | e44834342586a23a4eddba8ad6fb72b1 |
|
BLAKE2b-256 | 7e267e34345153f4dadb11d8a4f1bffcfa02177e60d4ddb9cd85b53c5ad4ada4 |
Close
Hashes for pybind11_geobuf-0.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09169efaf5264aada83b199edffcee9cc71591638b65d07b91480c06d19f6807 |
|
MD5 | 56daa706eec10b067f9f532b05d09427 |
|
BLAKE2b-256 | 49636931f6014ed03c0f231a78b0d0902b2100cc3a7069b750b3cb713cde6fb0 |
Close
Hashes for pybind11_geobuf-0.1.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f40d365fbb2c74555093e46b88de8260c3404a09362d78142f484652c0af30b5 |
|
MD5 | 2a09cc881b08b5317e4cbda5872dbcba |
|
BLAKE2b-256 | 334bf19603856e95d1326f608d7277916a3bc18151de02a48cf3e9e12da13fcf |
Close
Hashes for pybind11_geobuf-0.1.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6d7be3a90f3f71aa8190548649af01a064f2069c6b72da69a752b7a34e0a5a0 |
|
MD5 | 7f7c5a907b32fb8b81c9254f743d0e86 |
|
BLAKE2b-256 | 5ed026c129784d56eb42674cb5f5e88e2735b165c5eb35e375f55832efe5341d |
Close
Hashes for pybind11_geobuf-0.1.2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1809a658a7b27343290e564ef64fd2021d91257b90d2acb3dc6ce2aa7896426 |
|
MD5 | a256468b1a3ddce4d61e2475f6d4adf9 |
|
BLAKE2b-256 | 152500d992e9178cdc2ef95a845f35efe08fadd11e5310272da541869ee5c965 |
Close
Hashes for pybind11_geobuf-0.1.2-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e795d3a44f3008bd8199cd359256aebf3c9f859f9d1ca1bde4717e28fb04b56a |
|
MD5 | ac53b2e2154437151cf58679f488463b |
|
BLAKE2b-256 | fabebaf436ffa680b0bf4542a06eac67576a27f844b59e7a3b2a067fac22c296 |
Close
Hashes for pybind11_geobuf-0.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 217fd10742492e02516b6b064026ef7e5db02a32dee691636d2c580dede25d4f |
|
MD5 | 0980623813c0da322dbfd4b62c1ef333 |
|
BLAKE2b-256 | 8ac9e0337a3938faea3e28c0518af145c3ff85a6c03c9483039008a8b322bbe4 |
Close
Hashes for pybind11_geobuf-0.1.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e59c691e7ca99e99206ce70a9817f9742abeb9efeb24fab930c25d41c126093 |
|
MD5 | ff7117eee7acc33d8dd98159acc22bd5 |
|
BLAKE2b-256 | db356150a84235dcb0ec2922509990802de9bd35039a21ce7b1219d9662e7ede |
Close
Hashes for pybind11_geobuf-0.1.2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0738c8877fbe19809a7549dfa05f9a1f027d69e5b2fe5531221b5a40f068c18 |
|
MD5 | 9f7f13242ea62e195bf66d07d3b19afd |
|
BLAKE2b-256 | 18ed3d02527f17a93a93b8139cd3499548a0076d2f739e797528a832879bcfe6 |
Close
Hashes for pybind11_geobuf-0.1.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a00be04f2d1526a23cf75ff458c0995ebee93f6deef98b79526a7b76e4538989 |
|
MD5 | c9ec7eb107a11340130deb0317520b7e |
|
BLAKE2b-256 | e576b03cd0252dabb83834c572cd2704107c8781a29657b3cca20399ce7eef2c |
Close
Hashes for pybind11_geobuf-0.1.2-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7a2bc29defc6530bc40c8ba2fe027673ddf1897c307f1b3776302bedcf30cc5 |
|
MD5 | 5e42f4384a7044b184f9262e0d9312cd |
|
BLAKE2b-256 | 804b70cab4db4e7681a0bf4dde5f661a4ec02ac3ab82cd150796956994a7f843 |
Close
Hashes for pybind11_geobuf-0.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fdbab5b57f4879c0d7795073f7e9feb837e03b91cf392dfd2e1ecbc16f165fad |
|
MD5 | e872c3584988d710b3d7c85410433db5 |
|
BLAKE2b-256 | 3b129e4b8056276015c0af390cdb090165f0a5378c1849c12aad84d037357e8f |
Close
Hashes for pybind11_geobuf-0.1.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79da8bf7cc598cfdaa88da5a27f363814870d1badccf0f149c24e35708ff61a1 |
|
MD5 | 72c32e7ff6dd7109a6ee91551bf6edb6 |
|
BLAKE2b-256 | 19467aa00af81f15b27cebe12f0b3ae99017dc1f9866e485aab7f8f0166e4a82 |
Close
Hashes for pybind11_geobuf-0.1.2-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a94fc9391191a31c379998d4dfafe2ee320fb3e15a7b7b4f4864cc4b1444987 |
|
MD5 | c2217be7cb1be27ade78bcf334e8a801 |
|
BLAKE2b-256 | 8402a8cb0a7dadcaea4d556c0b4193378aec4fe8763cd4eac50638ded61e5caf |
Close
Hashes for pybind11_geobuf-0.1.2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b6af80844c513d291a14649ceeb195b7d59e441c92c0c59aa26b2c2d6603b9a |
|
MD5 | 4ad5c29214c44bf920e22f03267f5293 |
|
BLAKE2b-256 | 53396ff079e87ff06d0bbd89ed85c2475e66e76a1f242384f35dafb29f5954ea |
Close
Hashes for pybind11_geobuf-0.1.2-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4cf606df5b0746772e44535baac5fe26bc6c82035973cefb9975fb35aa3cb9a3 |
|
MD5 | b0ab90eda4387062b84be0bbef23adcf |
|
BLAKE2b-256 | 1fd37de30db4a5fc235dc5e0dd21223774f47ada0d601f31c5d074d4c0f73477 |
Close
Hashes for pybind11_geobuf-0.1.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05587b88587d38737a5212850c9ec6a3902f155a62d9c76a42eefcfa9d441c3d |
|
MD5 | 989a77022b627fa7d9353cb66f299371 |
|
BLAKE2b-256 | f5117b0b7039e6f3eb96d42f57928f32e9caeb22acf509e1e193453d14fa2e14 |
Close
Hashes for pybind11_geobuf-0.1.2-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0d4bb7464f9a36b88e8244afbe700a5d89c1af949913da7e716ca67266f86a7 |
|
MD5 | 609f0dc5c6f85466ad10bac22dc81fc2 |
|
BLAKE2b-256 | 20fd058f7855299948e920fd357a7fbe76bdf74335cf6d792230fabce84eec46 |
Close
Hashes for pybind11_geobuf-0.1.2-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7add9d22e0cafed55cec5a43182005835f682d059359c40ddf54aa4e277cea16 |
|
MD5 | 3523d1621ca3b000e8c80583bb1a7bba |
|
BLAKE2b-256 | 3611b58bd073c1f330221092110140c93b648742aa1045882203cccc4cce8dbe |
Close
Hashes for pybind11_geobuf-0.1.2-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07e0ebc1133eb252351b637e76a3dd8bb4e20605f6a0e0cd38832c10fc60f6e0 |
|
MD5 | c6402c0c9f5779535cc1866870652d57 |
|
BLAKE2b-256 | 3726aa8a060f4e099920507f17c78ff25e969e0c8b9df35b2cfbfd194ba7e712 |
Close
Hashes for pybind11_geobuf-0.1.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00ff672a85b1499b69db1b78c38a63a4a003b6ab1ff7ed459f7d647876f5a659 |
|
MD5 | 89073e9a696dbecb2b9e054f5b684710 |
|
BLAKE2b-256 | 2a355d15dc210f0211108b9392a84bd2f2aa16cf76196ea9b0e95c3474746eaa |
Close
Hashes for pybind11_geobuf-0.1.2-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e26457805e4e1c66fb20169b4acff1e4f7c7b2570c0453c3dcc57c73562b4a61 |
|
MD5 | a902ff8fd238f5ad0143df331e5c702d |
|
BLAKE2b-256 | b83a5edfb89dc51ed25fdb427ab293a9cbd9f68266dbed0b235725fd0176a4cb |
Close
Hashes for pybind11_geobuf-0.1.2-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1475508c4e025a18fd4d316fb6296242c638cba65e4d1facd85994e7eb623cbf |
|
MD5 | 2bb222cc725caa751eafe9cbdf2cc482 |
|
BLAKE2b-256 | c2b22834d404e08ffe948b1cb4ffb992d2a8df7e60488cd21a83361babcb84d5 |