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.8.tar.gz
(3.6 MB
view hashes)
Built Distributions
Close
Hashes for pybind11_geobuf-0.1.8-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 563e0a0f208a33e240754bf40a52319692c229b304cee8df0c64bdab489425ea |
|
MD5 | 542ced511a53dce2e6a0d36a36edc081 |
|
BLAKE2b-256 | 58e37deffbea8363d1c25e887f3777606b1fd43ad8d66d0eac7255e5a5c863d0 |
Close
Hashes for pybind11_geobuf-0.1.8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d26dbd329d5a124ad758b816db93783935e96fd0d01db4ad240a2b48c742efdc |
|
MD5 | 3db7677c46a5691120454db1f943c233 |
|
BLAKE2b-256 | 18fa40d10d1cf276fa57dc70a86c5370b7eb403c07af4f0a5fa6ea35e5eec2c6 |
Close
Hashes for pybind11_geobuf-0.1.8-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5e9440c4b9dc654b159c35a7c4cf3a5f192a13190bab3bdf1f9d8d88d6de329 |
|
MD5 | 0ae83906cfd32de8f4d4246b1db1068a |
|
BLAKE2b-256 | 8b8b150a04e866f013ba57d08a8197089f9b0b18387be99cbe3217170dfbef53 |
Close
Hashes for pybind11_geobuf-0.1.8-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71790de2dabcc1d50c748084106a26d2e2415d14543fd7bba209e076e7fabc20 |
|
MD5 | 4b2fc09e2ea4d570446dde36a4cdde04 |
|
BLAKE2b-256 | 6bbbb77ebac3eb9987f52a965300e6706eb9af30a1f6b4d19ecc8b5ccaee844a |
Close
Hashes for pybind11_geobuf-0.1.8-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ebac486832e06b60e8227c362566c159023a3f94110f2e0403e171726efee6c |
|
MD5 | 1904f714955cbc3a4ccfaa959619b937 |
|
BLAKE2b-256 | 9cabb70db6a1dbcaa813d4a9fd94b9df61b5e6eb2857381a8d0cc2ba48bfe660 |
Close
Hashes for pybind11_geobuf-0.1.8-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e346f089e660fcefad19cf4193d1435e776d799a12a671cd1138d44de8a96d7 |
|
MD5 | 3da97d20e0c8471fa46d9c5757f4a1a8 |
|
BLAKE2b-256 | c267fd8c5c8527ecf6b74a7ad239af16e125fb7053f1c9d677bdc3c62ad6de9b |
Close
Hashes for pybind11_geobuf-0.1.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dce756041467ac8a9db69c04691d5fa22d06c17ead50b13e96d2ec0235bbc48 |
|
MD5 | 562330ac3a75afbf7e34f7fca4b50db4 |
|
BLAKE2b-256 | 6d2b4e93540db0c6859175f3c55f36ebad565e05c5a5460665e1f08cbb6cc77e |
Close
Hashes for pybind11_geobuf-0.1.8-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 730f6c3682079c069995f075626ec739b4cb99feacd6c53592adcf7177ab867c |
|
MD5 | f16b2aa063e844f8596266d17886026b |
|
BLAKE2b-256 | fbd7c019880d7aad58b5bba2bf39a9981474a0dd7e8e3de6c2eb2aa8e93163fd |
Close
Hashes for pybind11_geobuf-0.1.8-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e45e0835f9391d224ae0208991e7d3b923ebb84b7d04fcbce8b4e248684bf41 |
|
MD5 | 9ad1491f06a5d48729bd1489e5e5075e |
|
BLAKE2b-256 | b25c1092de51bfd4ae00ae95ea72ecc95eb91c4a5d79238089663b11eb4d8955 |
Close
Hashes for pybind11_geobuf-0.1.8-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89618ef6ff674b1786debcb4413d5fa657df15d5a9cdba0f2b41c9cf20dee712 |
|
MD5 | 5d2a7704e5d046ad808df51d9a1cc64b |
|
BLAKE2b-256 | 246a0be736c565a8fbd8ec3e49d26b024047f1094776df952aee61f160aac218 |
Close
Hashes for pybind11_geobuf-0.1.8-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6952b6eb73fac86b66ad34c49ccbb80d0de23c82224be921fe3b35c1d7eaec2a |
|
MD5 | c8767bc7ef5159533da44e5c92469795 |
|
BLAKE2b-256 | 89b648eb5a7eb9ea30053389a1c8b1e07b4c7a87837e5666b64ca211dd11ebc2 |
Close
Hashes for pybind11_geobuf-0.1.8-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de8840bd85ffd5f966a1ccb30fe39d8307182c3e12d0b8ebc429fd920ff485d3 |
|
MD5 | a86700dda6b6936a9e46d1bb9cc3fa29 |
|
BLAKE2b-256 | 00e5994a09df7547ea3d6d9e50ba2fb75d9eabbf933f06409d0a862cf826c2d5 |
Close
Hashes for pybind11_geobuf-0.1.8-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 722ceb11435717ce0f454cd3d0711978ea0f57c58a500ba874574d49f3bb216b |
|
MD5 | f5708a61ade60ed2e4b310ea14013a89 |
|
BLAKE2b-256 | 2ed76c06b5bf981efbba6f9c887e38d7b4db361f61bcc8eef14b838d8d475f09 |
Close
Hashes for pybind11_geobuf-0.1.8-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c36c10d83ad4edffa415edeea2da447829bb1fb08931f24843c1dcfc82bb815 |
|
MD5 | 7c907c61d8272f46ddb027e64300adc5 |
|
BLAKE2b-256 | 2cd27bed27a44f1b83d6bdfba0153965eec2ea0c73d9c06f43c37573ccf87950 |
Close
Hashes for pybind11_geobuf-0.1.8-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e42843fd86363a15435d72d8de32540e5d1e67593d21cccda7ffcbd81b39233 |
|
MD5 | 5406c0cdea539a7e99d4e1d7d5fd48d8 |
|
BLAKE2b-256 | 142748ac86bb23627196457be58cf42082d770628eb1fe5320aa5bb65f037f92 |
Close
Hashes for pybind11_geobuf-0.1.8-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44dc9740a6a61fe2a302d7c2ce035f28ba1b99da5c04bf1850679768abdb01f6 |
|
MD5 | 4883ec9a3555a91f99f0818e39738050 |
|
BLAKE2b-256 | f6036b72b6336b6fa6eefebeaa47fb471d816596386510ef9a6e1c10f4ab7762 |
Close
Hashes for pybind11_geobuf-0.1.8-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55a6178cf07d6aefb2ae2fa2ab5ab7d0e9f922f67d727c0b9bf6817e777a38bd |
|
MD5 | 3e6d8527b6a5d7066587e59fa25bd8bf |
|
BLAKE2b-256 | 4658a85338c86d895ea8569df383196e3f6a01bea2ecade6a079c075a5980f2e |
Close
Hashes for pybind11_geobuf-0.1.8-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 952fc664cc2939541b0b804dff492dbecd21125c61c6176467062e195edbe626 |
|
MD5 | c52f427638e9570788e4ebd92d933718 |
|
BLAKE2b-256 | 70717962f6a3925592aa365f73fbc9430a52bbb28036a15c60063235d7b61bfe |
Close
Hashes for pybind11_geobuf-0.1.8-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bb4b18e6e1180f0f5e7642b4279737e4aa7708ebe3c5a989d6b5c7cf8ce0a5d |
|
MD5 | a78642e91df12a9a23b8e32695edb01c |
|
BLAKE2b-256 | 697a488ca7bc6fd1a7bfee858c576ac63534775a7c6fa74d8d6fa9f875e2e95f |
Close
Hashes for pybind11_geobuf-0.1.8-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3883e2981ba38b0e88a69257de9b7e2af1692559972296cdd5b2035679e3d920 |
|
MD5 | a7379037718e6c301d2bf41eba901a89 |
|
BLAKE2b-256 | cbfb163f1baa49e66c0ce8b6340cdd4d9dd66f13a70d91d02187ba1297370ced |
Close
Hashes for pybind11_geobuf-0.1.8-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b95b216cc5ae595a4a8bd2ebe433fd77ea4ebeee97b85d287b44d9d5886f5d78 |
|
MD5 | a55c00e8a5d5abea1259cba56086f0af |
|
BLAKE2b-256 | 1f9dad9274cca3c4d6ccec186ed70292cad2a1219bb6525659a19b9bea648954 |
Close
Hashes for pybind11_geobuf-0.1.8-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbbfff55c295a28ccae8081638ce069fc9e69d5840dcd854a2bb03c9d3be596d |
|
MD5 | 72af4bf48c57358c02d0d43aa74fac3c |
|
BLAKE2b-256 | f86b51609efad594ad49550dad3b2232cdc23a7a39c34564f59c07a0f79423c0 |
Close
Hashes for pybind11_geobuf-0.1.8-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce0cb8f7fe46134d11485294bf451c599e6d5ba79eec42d5104649de2e042fac |
|
MD5 | 552bbcbc0cbb487f71f5f6d338828fec |
|
BLAKE2b-256 | 19735e88c18ce9d6b522d7b6bae5e4ed9518a0f4a801cc2912728a61cbc3e21d |
Close
Hashes for pybind11_geobuf-0.1.8-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14e7d1260b46c5298c4f954de695a53311525150d5c398290341f25db3969356 |
|
MD5 | 939ae48dbaf1c87f3ae17a1974e5c2e3 |
|
BLAKE2b-256 | 037b4d3913860ccd16988bb23a68a8476dd08946df3b3db16b7e8d447bb0a780 |
Close
Hashes for pybind11_geobuf-0.1.8-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6916cd06598668c732b6b50fe75f03bc0922c426f218e3c9463efb1a60e219e |
|
MD5 | 95c266fa81cc3276a77464eec6f5ce21 |
|
BLAKE2b-256 | 11988c046ecd88795969bcf79e039e45a9b4a242a13bb1a64208b926069fd55a |
Close
Hashes for pybind11_geobuf-0.1.8-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0823914088929d60897ab481f6fe024b2b09fb2e20b33e6ebe482d59a1f0c23a |
|
MD5 | b872609407993ba8bab82a98ee62ba94 |
|
BLAKE2b-256 | bfdb100e4f233d306cedd08bbe4be5442f80e9faa6b8695207f161d94cc06971 |
Close
Hashes for pybind11_geobuf-0.1.8-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2c648393fe53d5409903205bad90c967a2e14737d13711dc9db0783ee263db7 |
|
MD5 | 1dea6d3d0d4fd8d41df04341ac021682 |
|
BLAKE2b-256 | 4be47bbd86f01647a13b6ed0e5a1e0ca68618197446fd6b82a13430d0013d7c8 |
Close
Hashes for pybind11_geobuf-0.1.8-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e483724862099a57436492c7ef61cbfe1d8cda3bd27f52e7463ef0afbbf78785 |
|
MD5 | fede39c56949dd4d7d31cbce20848091 |
|
BLAKE2b-256 | 0509f735aba20aa3c0e22cc3c2ab093dc581ba3308b43e2d6703c404bed254fe |