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.0.tar.gz
(3.2 MB
view hashes)
Built Distributions
Close
Hashes for pybind11_geobuf-0.1.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1987db0185c60bd0cfda1796f6d94d32c7c850d30bcee8f62261c6d1701a871b |
|
MD5 | ac590d0718f7dd0e98e9119a3c49c397 |
|
BLAKE2b-256 | ae59d01157a501332a2c772d4f16ae2632194ca0e9b6e37fe4a48e9d6d614652 |
Close
Hashes for pybind11_geobuf-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 488d95346c81baf1a33e2d2b33053560af65520a01f4d1bca566f3493a27e124 |
|
MD5 | 26ed27b518850a88d6522d042e76bbff |
|
BLAKE2b-256 | be45537cf7ee47999ab5a4179e7790204b61a18ecb5e07a7d73f138a4b41a4ce |
Close
Hashes for pybind11_geobuf-0.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc8e72855b4d58b784f09edf7a0390b628ccae4374123ee313da4d3e003a37d0 |
|
MD5 | d46315a9b9e06d61b78100415b183573 |
|
BLAKE2b-256 | ac713f4a9702b01a6371f17f11857f1bc388bc4a5cf267fa8112639c95aed640 |
Close
Hashes for pybind11_geobuf-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bac56eb9a75d7ac780a8f452a9633aa3082ed44add4dda70e0c77704e49c87f6 |
|
MD5 | befe484df1e6fcb24f96c52b012fd1d9 |
|
BLAKE2b-256 | 1929317e8e4aa04db375f86f7d647640a14190ebce004b9193aadb2623c3b741 |
Close
Hashes for pybind11_geobuf-0.1.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43f076cbfb8ff14d1968e3ad40b1ea591bedae6027ca30435ca813298f38adb9 |
|
MD5 | 699c2cf7e394f61b7ce89067d3e5620d |
|
BLAKE2b-256 | e30d88d575a18f448614db4dd27de0faf336129768576468d956f0834374c559 |
Close
Hashes for pybind11_geobuf-0.1.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00b320aae57be3c5a75938d4aefe7f0ee739af3055f3809875e5795eb79aa036 |
|
MD5 | ba5d024e14301ed2b9e3c26505735f5e |
|
BLAKE2b-256 | 1e3444aff97840cb7020f86d46c57a856c5755ab1323735d8311cabac406b777 |
Close
Hashes for pybind11_geobuf-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2eb317fc0db77d5499510885f64788dc37c97fa57ec821dbb9b695014761ed9 |
|
MD5 | a71b3afe64dbb4ea12ef0011ea5c7cc9 |
|
BLAKE2b-256 | c4f9ae5c423d859b4e15083f0cb828fe19d02a19894443b74d69d12d5a208d09 |
Close
Hashes for pybind11_geobuf-0.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0eeae2fa87b90dedd1f7ab4c155bb31fe5d259a89caa89fe85e13ac9df6deef8 |
|
MD5 | 1e560a0bcaf50bd80651f3215feac9b0 |
|
BLAKE2b-256 | 711f824e6ea560d10842a1922d5a04825a0a70936ad14f08ebfc2794ebfe4796 |
Close
Hashes for pybind11_geobuf-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7277c9b8a3bd526049adfe2c71e5c7647a92500ca17a74b68a8324035e3f04da |
|
MD5 | 8be7049f80bf99ba9bb91a65e8d4d204 |
|
BLAKE2b-256 | 6b4ff106bf4056bb6435417ae2aaa254f98626516bbe495e29966ed5b3fbad3e |
Close
Hashes for pybind11_geobuf-0.1.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9937fc4c380c0854a662f51374f3384cb99d8953619559b7d7861a146b6f5d23 |
|
MD5 | 55a89d5aaa42ccf0908019be5569a89e |
|
BLAKE2b-256 | 748a051d229e6ae17b4aad318012350677ca8c8e36bfcefd81321334a9c0d060 |
Close
Hashes for pybind11_geobuf-0.1.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c8255615b446c9bf1cc40be717b95693e371072c20073b15973b400c5307dbc |
|
MD5 | b9ba9bd54d17361b273e5511d264818a |
|
BLAKE2b-256 | 243137858aa3518fb9e61a0ee9e912738378c0d552347d4cb152d327e54a9f3b |
Close
Hashes for pybind11_geobuf-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22ad2669cbeb8678fcd608f589e346743f3004249a8a66226d24639d40c817f5 |
|
MD5 | fa78d1488245bb27a2f7fe5fbff1b4b4 |
|
BLAKE2b-256 | 54b56b9ac24bac5850c994830fc866ec4a700f3ef99a7010af3197e448969f70 |
Close
Hashes for pybind11_geobuf-0.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ed111363586668948fbc18ce16497feb0233022597657aba8d4c585181ae584 |
|
MD5 | 3bc5a1e62db366e6ebb91b35055d3a4f |
|
BLAKE2b-256 | 504f688960189b2a746ab6e28095dcd14b231a43f18b2df2c7244661dacf5dfb |
Close
Hashes for pybind11_geobuf-0.1.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bafb7e6023f7cd4a1aeb82ff83cd665e5237d88ee12c02331bf9f9f1339abf1d |
|
MD5 | 6964f762ee778b46a0d86ef1fa9c90bd |
|
BLAKE2b-256 | cce8f8eb9153dfdd345e630ab15374e48991aee39ad9af1464e010c88cc68cc3 |
Close
Hashes for pybind11_geobuf-0.1.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cf5845c8b582d93599c9e41b9b8d4841cd135ae875d22be2f9a5922f3414449 |
|
MD5 | ad2687db2f3210bd7e5b08561b68910a |
|
BLAKE2b-256 | fe5b7ab6a3997dd24cdd6471991134fae1622383e72c19e19ba192f98cde8079 |
Close
Hashes for pybind11_geobuf-0.1.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f3efc575a307d31f40042d7b10a66caebb1b978eba63d60476fdb5fa416c308 |
|
MD5 | c9c135ee70296e5b8c5659961f1fcdf8 |
|
BLAKE2b-256 | 946b4a70c71d6905520d7a85a3e94888c009f237a87d63c4a51bac89556b666d |
Close
Hashes for pybind11_geobuf-0.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d138a3dd6911f2dd477e54ccb6ac741ec964a561c622ac1290e53b5af046a2ee |
|
MD5 | ca9264b9aeb4cdde7e2144dca261268b |
|
BLAKE2b-256 | 1ac0d62d548d42044a9d178a5709ad066701b396db410e9e68ea1895734a67ed |
Close
Hashes for pybind11_geobuf-0.1.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc528b3f6c626acbf2de0cd970ac173bbd6c90de56888573545fa779aafe6cb6 |
|
MD5 | b4a6e0375d03251a8064c2fc81194c3a |
|
BLAKE2b-256 | aa8e49ee4fa333d41e393bc2b00eb6a1a5b8bb575415112acb884a5afdb4f4ab |
Close
Hashes for pybind11_geobuf-0.1.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cec0eafa8b614163ad838ff02ebcf28a7d2a1fa8fe7052113158934aeb5e311f |
|
MD5 | f94b9b24cc049ccd5a1ab8eb81b30ee4 |
|
BLAKE2b-256 | cde35ed077d47eb28458d3d43a781d31478874ede79a424d2ac11ec90a1c70ae |
Close
Hashes for pybind11_geobuf-0.1.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4a298ec3b9bef7efb238180cf66036703614828bd180cc34595851fb6c08b48 |
|
MD5 | 6b38626c1becf80848692c5171d2ec0d |
|
BLAKE2b-256 | 59a2fe97b65f00e7e1585c89ca5e0e68172a84720323e79056663c0d0d289165 |
Close
Hashes for pybind11_geobuf-0.1.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a287e488a72d45c0b0fed74c43469e83fb27f285d65a57ffefce9963017bedbb |
|
MD5 | f812d9cf38e8942e7a441be0fd383014 |
|
BLAKE2b-256 | ef4ac2f54ccec21225939f425783fece2e755e6d38d9f61fd6b3205569d10531 |
Close
Hashes for pybind11_geobuf-0.1.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d53d70133d59a476f96b3056eee8fd6c82c43d2a1eabee13a5e0d134ff9ce942 |
|
MD5 | 47aa1b9c4d0573a70e3119d0bf81674b |
|
BLAKE2b-256 | c08767401afb58a482e673b1b779c6aae3e3480e42fd55ace15c8eca0250a434 |
Close
Hashes for pybind11_geobuf-0.1.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9167b6d9531927749a60929f90b15b5062d1dd0f602e1bdf8475749c40494ff |
|
MD5 | dca1b52fd44faabc368f7b09e32210c9 |
|
BLAKE2b-256 | ea8ebaa176e1afa25cc7cdd4bed53f10fb13c20ff43e9f788164361a9d05145e |
Close
Hashes for pybind11_geobuf-0.1.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0cd87fdbf6a31f0e5db2dbb4b0637ac1a8d5120bf41161857f89a2682ca1e45 |
|
MD5 | 9fc154215c0f1ad9061e75e8df700082 |
|
BLAKE2b-256 | 297b2a89452cda9efc66ade7fe8058257aec2b0665ace42f4aa418ca7eea0e3c |
Close
Hashes for pybind11_geobuf-0.1.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 314550e617bb795692ced31a541931c2553f16217d8c51916f9f14957c17cfa0 |
|
MD5 | 7f56c2d982741f21f67474014b4e667c |
|
BLAKE2b-256 | 5a675ff9f0adbc1ff0664db01f50e09dec22e3952dae64bd5ab1b4c65d0d2a39 |
Close
Hashes for pybind11_geobuf-0.1.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e6c450607a9910ed3037460fd75804972d0157dfbcd55e801dc7daea5e6a34b |
|
MD5 | ca2d98fa1395c68b43989184fd89e099 |
|
BLAKE2b-256 | efbc8fa2645083446662c07fd25bb78f238e7d286fc2f86882ebd7aa07165d42 |
Close
Hashes for pybind11_geobuf-0.1.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 322259468c3d6e9a50baf25637653abfb03a3b9aeb171e72ffe9817ac4cfa1ca |
|
MD5 | 0ead4fd205c67c12372ff3ab11b5e7c7 |
|
BLAKE2b-256 | 6671bcc40ade76c286c4acd115c05b9c4f970396bccc77829f839a13c4497f50 |
Close
Hashes for pybind11_geobuf-0.1.0-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf6a6d2f816c99268d05b40daec6fa305a8a0627bc9dacbca1cadf8d0dfb5b48 |
|
MD5 | 00f21b8a15bd519a7f2a5ec31cb9e603 |
|
BLAKE2b-256 | 8a6aa650babea5a49a8a10aa4d554b6909e027ddb6bf469627b038978206e6d8 |