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.5.tar.gz
(3.3 MB
view hashes)
Built Distributions
Close
Hashes for pybind11_geobuf-0.1.5-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b5c8ff179c37b221e4256201f9814a0a6523e8ec920ad7794d065c21058915e |
|
MD5 | 0a5680ecd13464a4ec912fc075f4a337 |
|
BLAKE2b-256 | 56e2fd453964205b6766101ae7d555d6548856946ad80db8dee445086dc23bad |
Close
Hashes for pybind11_geobuf-0.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a743514551bea29349e09be8ce44db2ef18ec65c58da45d77abbbb53442a0dd9 |
|
MD5 | f4aaebd78618c54c1891905872f78532 |
|
BLAKE2b-256 | 8a6bf2b11eea3aa8443dabf4300bd7936fb12eaca0d74c50198a9627ed4560a1 |
Close
Hashes for pybind11_geobuf-0.1.5-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0a9e5f16db2f8816da4e51f7046a6500dedcb1fb0222db72f2b5452159658de |
|
MD5 | 25eb7b587f33356980da3019172abc0a |
|
BLAKE2b-256 | 1d452f0f3cecdb91650f2c8a48de07c3b25e6c15de0a729e9331bf5e23bc02fa |
Close
Hashes for pybind11_geobuf-0.1.5-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e2a0ca1f99366fdfecc1f0d1caaef63fdacbdd8d92c2efe6f59711af37fc832 |
|
MD5 | e22d5de137e60fd9b5e101a23377db59 |
|
BLAKE2b-256 | f66e021273a457eb9f8d4a413889255a3d7420e2fe6c1eb1a18d2a94e87f9c75 |
Close
Hashes for pybind11_geobuf-0.1.5-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6bf8faeb25549c8c1199df65656d8b51ba6d0864c79a8aa82b8b908763f4448f |
|
MD5 | dba7307cb527416c46d35baa0c762adc |
|
BLAKE2b-256 | 271d6d474d5eef5dd36ff4ee06f7b29d3dcd8bf935f253dbf07ee5219a4bf2f6 |
Close
Hashes for pybind11_geobuf-0.1.5-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 642d68486fc5e7200643ffa21017a9238ab28cb528bf4fc766b1767f8aab5b32 |
|
MD5 | 2cafaa63e8978890248e83cb7d927c97 |
|
BLAKE2b-256 | e22a4fbc39feead7afcb8d6261eb738573216ddbf65d08d95c9a3363bcf27e09 |
Close
Hashes for pybind11_geobuf-0.1.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 666438ec1ea9153c99f403549fe55b80fde0e1bcf270bebcde061224dec39e2f |
|
MD5 | 8611923e4e22fdc6fb506a0b8392b95b |
|
BLAKE2b-256 | 58032c855759855f6837d3a90df54839a3d57be65b823a211262161bec13d192 |
Close
Hashes for pybind11_geobuf-0.1.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19abaddcffb4da6401d6870d9c5ed35c995686f4b708b2cb60b4d08df5936486 |
|
MD5 | b9253fd918241ba2fd9aab18fca4bcd9 |
|
BLAKE2b-256 | ce74f97d3cfb773aba97ee9025ea23c2eca7a5c888f767fcb0da027ab1e65989 |
Close
Hashes for pybind11_geobuf-0.1.5-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb272c3bb743eb9c93b5a2d5bf0d5f3060b66a658d19ecf394497f49f9001875 |
|
MD5 | 242e62e7b40d3bd39d143cf7f5aebd4f |
|
BLAKE2b-256 | e830bed6c992d10a03631e53e4b8fe0a1968ad3ad17467990bce24c139daf3b5 |
Close
Hashes for pybind11_geobuf-0.1.5-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff4135ad1cb139d5773048acabbffa5f162a09ed258d0a0809207e23ab868506 |
|
MD5 | 5b48dd08e8df7961c9689ff6d3896af8 |
|
BLAKE2b-256 | bb97c1850edb8191a578017318e7a27f011ce17509eafb861d194d6a59c4b2ab |
Close
Hashes for pybind11_geobuf-0.1.5-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 500daf10a26b81caf118304809e492eb701353358f49c169f8c4da1cf28dd39c |
|
MD5 | ea2720629dbd1428728b4f938a9ea540 |
|
BLAKE2b-256 | ce9f922953c2c7252b9ee258fb9f8a6deab630b24fc53024e80b377c96827089 |
Close
Hashes for pybind11_geobuf-0.1.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b01a54bd846b13330b52543f17b08c5f9ec73bee09ccca16c94acc99709eeee0 |
|
MD5 | 2d11bb5ac8923565527e3f1037201d6f |
|
BLAKE2b-256 | 3aacef17c9c8a47a9b7f74222449a6da715e7dd10999f0f319f07b0606bd64a2 |
Close
Hashes for pybind11_geobuf-0.1.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fefa17c95b3dd2418716dd7d476112cc202c2f24e063f1a0d1e8b1bc3ba06c12 |
|
MD5 | 1f55937f137e8124c29cf7f30ea0a851 |
|
BLAKE2b-256 | 83d060959a8a823c99fc8d30af9be98fe420b4c7d4f05720c9832d0def8e35f1 |
Close
Hashes for pybind11_geobuf-0.1.5-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47b707cea820d66e0c233a4aec17f9d943f5f4a6d0cb8c39d67dde68f0c62612 |
|
MD5 | 20d5785b6b9be682fc17a90e8da59ae1 |
|
BLAKE2b-256 | 9ccee40d795b298d1620dcbae37b0c030c3a9e52a03ea3ad2597ae78687806a6 |
Close
Hashes for pybind11_geobuf-0.1.5-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 131d432b99cbea6c88544efac702fcff0144f6259b89c277af2b309fe69b55db |
|
MD5 | 6a347d60a87497d8d7a2a4090fd745f2 |
|
BLAKE2b-256 | feb576661e5ab46a0636ec5dd8e6baa5f32139399e6f4c006e6f217f1e9e9d56 |
Close
Hashes for pybind11_geobuf-0.1.5-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e2d7aa993281b8ddf7a4f94ec7ef0bcfcee2f5210527f1d3511cc4b0eb4fdf3 |
|
MD5 | 9b1fe837442de923f8b54abf8ad67dff |
|
BLAKE2b-256 | 18dc3a88f6d70c61c7d6296612898c601719e9f4044302ecac3a951895ec1e0d |
Close
Hashes for pybind11_geobuf-0.1.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b285e2ea1e44ce4791c089ae5b156e09b7ce6775d8efaba61be34684658e8092 |
|
MD5 | 9cc057908f3e1784eb6adc32ae532fc8 |
|
BLAKE2b-256 | 86a22809b3f99f18563606ee0926ad15ae85f691a1c0fb3b8193defa1f2999d2 |
Close
Hashes for pybind11_geobuf-0.1.5-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ffb4fa8213e2658fdc192aad8c500c781de06680dcc8926638aad4856dd1839 |
|
MD5 | 453fc0237de3a1b038d22f0a5f1ca6cd |
|
BLAKE2b-256 | 323a898125cb8fd67ddc22ecc65eaa74de4e851df259845819bb72cfe9c1b813 |
Close
Hashes for pybind11_geobuf-0.1.5-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c54d0f99934b43dca3e3093783258923dbf14463b9769564d04e7a789a00b53 |
|
MD5 | 387238bc4eb3428ecf6fa8da1b948c33 |
|
BLAKE2b-256 | 940b7a17f3ff82c9ef5ee3c8e629e9db48c84d74829b6545d582b884d2e25972 |
Close
Hashes for pybind11_geobuf-0.1.5-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c1cd167d5794845c5584323ef976954e50a8c993b993f5e0d33d2047258d988 |
|
MD5 | bd0501a788cdf9ee17320fae58b5bcc8 |
|
BLAKE2b-256 | 6531633c5de0157595e087a6aec5a41407a71dfec1c23c3a4883435428131958 |
Close
Hashes for pybind11_geobuf-0.1.5-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80c448abaad901b0aeb48cb212f94d582aeb65444da78220c164e0797b2ed01d |
|
MD5 | c5aade1ad93805f5ebca88f6e503bcce |
|
BLAKE2b-256 | 331c934a2183007842250bbd1dac0abf04c73552229d563d5087553b7a608deb |
Close
Hashes for pybind11_geobuf-0.1.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3fec4ab43cfd356137d0e2c8517380dcac519ccea951f93a5ac026b565dd597 |
|
MD5 | 37ec84095b2b31bf33410db07555e005 |
|
BLAKE2b-256 | 2c5986292b9981c36b650ae953d58857c262c296a34daa4a48b29b0103707731 |
Close
Hashes for pybind11_geobuf-0.1.5-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79194f5b63b34631e762dce5ae50aec61e163f009c0f5670075031acacf1ebf1 |
|
MD5 | 4d18991a4a7b79647fbf4637115c91ca |
|
BLAKE2b-256 | 4d208fadb723bad53ad604fee7ff5ea23ec27f9a630b21b8327b6f839730db8a |
Close
Hashes for pybind11_geobuf-0.1.5-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66b1a80e3c3829783fcb828ecf7f7d3f0c448485e351d2902b6d79873956eb1c |
|
MD5 | 24aec19758390935d87686af18c810d5 |
|
BLAKE2b-256 | 0e0696daf2360dea91130946b568123ddc99ad54a19f2c750fd35055823865bb |
Close
Hashes for pybind11_geobuf-0.1.5-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cc713de93ee7fbe2f8b9195c1b497607b5271a401a797b7ba1464092670defb |
|
MD5 | a71e671312eda601c36688fa43adfaab |
|
BLAKE2b-256 | 67856f97d877a4866e5bfe3364b339c02d7c36aca62837cd81b63acc14db9774 |
Close
Hashes for pybind11_geobuf-0.1.5-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d38671f7e5f6fadb1566d736f5523352242ef1d90ed1a4c42378a8e936879ba |
|
MD5 | ab5a6b0d778a30d154d9aca2a02bfa0b |
|
BLAKE2b-256 | 83f131f62b7852ce61f75e5e209d4a82d3694ac9b9bda6816af8536bdfdad4e7 |
Close
Hashes for pybind11_geobuf-0.1.5-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ceb1cd207807c53a3cac7233d5bab747c84581e39894b6bcf7c08d0e2b67e84a |
|
MD5 | a3998d608351af759371632c15736a79 |
|
BLAKE2b-256 | 7684072b9b7fbcad7fe2ce0830563801f193ec1b36bb6c461486b84553cd7035 |
Close
Hashes for pybind11_geobuf-0.1.5-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4049c4a80507e62dec6859c5f81c8c144b8f3c7fbf517005d0dcac507d332f6a |
|
MD5 | 9604a580db91f9bdb2abbcc876436cc2 |
|
BLAKE2b-256 | 4234392f4bca40989b216af04fae9421d68a23394dc4ec021d91beb216b8115b |