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.9.tar.gz
(3.2 MB
view hashes)
Built Distributions
Close
Hashes for pybind11_geobuf-0.0.9-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15d78d5b9ef6f4a663ab80c8f18c061c39ba9bb4ca5f05119411b302fbb40272 |
|
MD5 | deef318f8e0c80c2b4428f654703a131 |
|
BLAKE2b-256 | e1b5108166fc4ee5e7358db67d3e132db95612865edebdf9265fde8ccfb13971 |
Close
Hashes for pybind11_geobuf-0.0.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfd5c2b76b02da40339237792413f9ab92add130f6bf5c23042b8075725c131e |
|
MD5 | 8e3445ffd7a759f93c2a121ac3b250cb |
|
BLAKE2b-256 | 5dfa155f328652d1e88546aa3d25be107dcce13eda46eb61d7eb3d52727ecd3a |
Close
Hashes for pybind11_geobuf-0.0.9-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17d4e44e44e421830affa8d48eca41e30d59ccac5c3fd5ef1483c2d3047a5b21 |
|
MD5 | a7047569238d458e0928ac1e77e46989 |
|
BLAKE2b-256 | 4a35622d3d961fb9772c6252e261b2fad66293ea15c67cdbe9a2e926d129887a |
Close
Hashes for pybind11_geobuf-0.0.9-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc490597fdc7f83cedf36125456a6d29a27d8a0fcd14f5e264bd830b2e7f8887 |
|
MD5 | 82a4111ff01e7bed1f3102d41036a06d |
|
BLAKE2b-256 | d82a5294854690d0bbb67935d019fb91d646e0411e80bd3bf229ec59bb8ac730 |
Close
Hashes for pybind11_geobuf-0.0.9-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51673ae5b7faf3eceac41af1ef4376c4552d1cb3a524da821ce745ee8e9e7455 |
|
MD5 | c02ff3d048094d8410ec9898a6cf7d51 |
|
BLAKE2b-256 | b00bfc8eb7d13bffcc45a4755efa634439f6c33c807ac218e919d2c28bde609b |
Close
Hashes for pybind11_geobuf-0.0.9-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 480795f6dbe852ba51cc7e4d8ad4dcc9a5145be77c0b20161febf277c679480f |
|
MD5 | 7c5fa2f9b3f9d920f3c8cd33b0920d84 |
|
BLAKE2b-256 | 117a4b7ae555bbd8209cd8d2692c6064790a1d4871a73109079bc39c73a1ede4 |
Close
Hashes for pybind11_geobuf-0.0.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 685c46d578cc58f0293af7eae8a9a189499631a8c694b529379b46bc85786b18 |
|
MD5 | 92b31649ee74a8ca796dc3a00b3b6eec |
|
BLAKE2b-256 | 25b0aa4b9b4671fee1901cf8587cf1f6c6a0e43d637e3051df2c43292533b96e |
Close
Hashes for pybind11_geobuf-0.0.9-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23e69a732b0f3b96fccf61af6fbc6fb9fa182a3ddc8c434ecb117ccdc50bd1fb |
|
MD5 | c065dd8c5fb6fd8e0aec33dac925e4bd |
|
BLAKE2b-256 | a60348837fafdb88c4f2dd2d410673179ce367ce3a1fe3280cca949265ae4c16 |
Close
Hashes for pybind11_geobuf-0.0.9-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7ff5be3e60426869daa348460af557ab17fa8c90463aca12ae6e24680057caf |
|
MD5 | a693df2ff0a082cc116c3cc007a6fcbe |
|
BLAKE2b-256 | b48abb81e51dfa5f94ddd75f8ce854f6fdf281fab961dcacdfd59b43ffa9f277 |
Close
Hashes for pybind11_geobuf-0.0.9-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e454ef6fb58ad1e5a4e08667225fcc449bf0762601fa94a7bf783905707bef2e |
|
MD5 | ef5949e66d40e180440d2a519ee07d46 |
|
BLAKE2b-256 | 57072635e3b87f5a7924f03d379d907eda2a7ce4edfac220c2aab66df8dfdecb |
Close
Hashes for pybind11_geobuf-0.0.9-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 024da1484623e6c5cafc9e2e8a5530239ef18416e62288f6e04c44a84a0cb662 |
|
MD5 | 0bbefc44e854a4e9e8f93b7751d9b29e |
|
BLAKE2b-256 | 1cced866c52cc3212f3519773b1a9538443739d2388fb013cb566d83355a3f80 |
Close
Hashes for pybind11_geobuf-0.0.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27988adf5f221cf667c25f55881e26549a388a41025ecb7ad14a683e50cc4022 |
|
MD5 | 5f6dc4fcf9fa7021a804e3e175dae546 |
|
BLAKE2b-256 | a99a573736dc2b8d9a943a4b56124203e303d60d960fcb034aa95c5d6da35cfa |
Close
Hashes for pybind11_geobuf-0.0.9-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf082ec8206e6040763678a17287826a44fddf617b2d814de6b8302dd894da55 |
|
MD5 | 4d7506ad767328234ea5498d1912b343 |
|
BLAKE2b-256 | ba4be2932d971767ebcc56bf8c859e5628b5fdf34f352cd6ebf614a5cb3b055f |
Close
Hashes for pybind11_geobuf-0.0.9-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1453355e3d4f4216c29a542a22324cca02e40b4308265dfd3bdb20d27ec0c4fd |
|
MD5 | 2101a6ceffdab50e3256a4f4d82c0b0d |
|
BLAKE2b-256 | 3f07935adaf2aba52a4a7f1e63ae3eaf46a4a1f46b0902c3ce9281aedc42410f |
Close
Hashes for pybind11_geobuf-0.0.9-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36c486f751f752e2d42124c37a96004be856f5a4a07850f762bd8c87d3287eaa |
|
MD5 | b7d17b1c693d5713f8163fbfa705a993 |
|
BLAKE2b-256 | 2efe94a124e1a9316df761696013752af9cb1c0f64b219936d0a10885551218e |
Close
Hashes for pybind11_geobuf-0.0.9-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e306f8dad29b4f35892e3ea059d9e02fd339469c13b154be3f866c4e4ad1743f |
|
MD5 | 5d7ca180aec8115fa073a4d5e7de0fe0 |
|
BLAKE2b-256 | f5732c4c73a9721e921b5578e509bdc3f1bcb0c107d28c8dcbb1dedb0f0b3981 |
Close
Hashes for pybind11_geobuf-0.0.9-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3eafffc5f1c5c4f09c30fffa800ed69073e61c6d13d3191665166ff3c2b9f592 |
|
MD5 | e677ce56056319d862fe8a9930dca5de |
|
BLAKE2b-256 | 5c101b1ea3d28aabd634b430d20e36ee2e1b497a512ea13c1aa702fc73b5d6b8 |
Close
Hashes for pybind11_geobuf-0.0.9-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 620d0e41e3ca49e82bcced64bf985cb32b6469582c74b4c121adad4f6e12b6f8 |
|
MD5 | 02ad57564351663e98642d7738eda0d0 |
|
BLAKE2b-256 | 904592dced969214a90f6ba289b7a9abfbdf52df436487a7a493c07a69c5d066 |
Close
Hashes for pybind11_geobuf-0.0.9-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efb1591b70eb7f1bba7e6da57437544dedbaa24db3dd34b1ab767ed211764286 |
|
MD5 | 68ff8d3b99457c5baf6948a6299fc701 |
|
BLAKE2b-256 | f651ab5d458f57c603f967b0af42e3e0bc637016b8ee7c17a98697b1dbaa72e3 |
Close
Hashes for pybind11_geobuf-0.0.9-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbed89fa883aa1b464d36c39a534aaa2eccb9ea8741bdc1cca8da595ecfbebd2 |
|
MD5 | 412926f68f25c5ac691301321e9bbf84 |
|
BLAKE2b-256 | cc81dcf528ae28153affdc87c2e0c82a60532bf4eb96e6bfe71e22381d712877 |
Close
Hashes for pybind11_geobuf-0.0.9-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1807849a0e3ea5394861f46f169c684b29c5adaa547ba08ece60f38553dff4d |
|
MD5 | 698fdb02c08dcaadb67a2e68e3e86ccb |
|
BLAKE2b-256 | dcf5191a3a949f5ba27829753f67360e4e541d527df35c3040ab3b9a3ace2e07 |
Close
Hashes for pybind11_geobuf-0.0.9-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3ad28295bae929c14e9c08e1c56a24c8be4e537bb0612cfd939d64d41a22de1 |
|
MD5 | daba99de5b43e46b708d8aa371ac82d3 |
|
BLAKE2b-256 | 0710565b41077b20b730ee812ed1b025794f011f3341ccb5362a988230961693 |
Close
Hashes for pybind11_geobuf-0.0.9-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d366c4ef4567ae905f7896f42ec1281ccc80d6fe2103d70c050512dd076c5bf3 |
|
MD5 | 5367aac95dcdf7e2ba7a6d407178dc07 |
|
BLAKE2b-256 | d58c4dd017056017f73df3df67ae831182370434d927a3321e479975ffd16733 |
Close
Hashes for pybind11_geobuf-0.0.9-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1854f29a74e41cdaed7407e8c68d73b56b68a55facb8c99b0974f8e40349d22 |
|
MD5 | 274d380d2dc74b038a1db2ad12b7f344 |
|
BLAKE2b-256 | e68ee9c7faa008ca36940d7a8fb66b59f3de64db13024cfc10b6462ac93d13f7 |
Close
Hashes for pybind11_geobuf-0.0.9-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17b061efdecb26106d7f5f3768bbad06fb77e31a41617da28521ad1c2fb62e5c |
|
MD5 | 7de7bb8ca0cda47eaf1e9c7e52e24653 |
|
BLAKE2b-256 | 8c6887361a0f0089d3b63ce5599279783b45421cd6fff5dc7c1144ae45a8835d |
Close
Hashes for pybind11_geobuf-0.0.9-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 527a5690807ce5c6e8461ca4b335138e3282a59db04886729fa1f7009c592f93 |
|
MD5 | 3abebf26dce81cd5cbe512e51b1fdbfd |
|
BLAKE2b-256 | 6f639a86fd7403514a194cc6447d8d2c6c551e43b5fd2fc27b0859354fa7da71 |
Close
Hashes for pybind11_geobuf-0.0.9-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5098ba8185c5a3fb0407eb356bcf3a3a5102fd9cb6b7060c01a1e85d3db3c459 |
|
MD5 | 3c6efdf06ecb394a7513d69e5b1c98de |
|
BLAKE2b-256 | 90817e866430d60749e4c04527d91d4d52407381a48c8850400f328848c6504c |
Close
Hashes for pybind11_geobuf-0.0.9-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c96b48f696490f381aa178463d0258d50bd470132716662f73661497fb4ac76 |
|
MD5 | af0351be7ad61301128bbbd5510a9c62 |
|
BLAKE2b-256 | d641a0ae8526b84e4dffc9f0126142e47f1ecff0695200d93bf8d0afae7b6d69 |