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.2.0.tar.gz
(3.7 MB
view hashes)
Built Distributions
Close
Hashes for pybind11_geobuf-0.2.0-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f571cd6a3320626c587c879668dc8c92d73df90e5b9a61cca8b09c5a78a368c |
|
MD5 | 4dc82f6f7a628062b96ac2a10ee38707 |
|
BLAKE2b-256 | c1b92ecc7ed8aac2e6e8a35678c784830da681c42145311fed60de02bb5fab33 |
Close
Hashes for pybind11_geobuf-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed9f4f8ed78094cde070470c884a67c5848833d103d18ae7277556585fefba2c |
|
MD5 | 4580259412be5c85d16efa89749a489a |
|
BLAKE2b-256 | 4bda98c30d62cb9384f69eab2fca3547edbbbec088299203d20c705fc8fed880 |
Close
Hashes for pybind11_geobuf-0.2.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b746f15be74032f8a49597fd095ba64705fcde269f8a886c996ca81709a39bb |
|
MD5 | 2fc206439d5665516a77e4050665a315 |
|
BLAKE2b-256 | a543c1c06b93b35210230ff73252859910c667bf0ed9fd661e34de1ec0de72f0 |
Close
Hashes for pybind11_geobuf-0.2.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f567acb9340747e47027736d152c8d606f532e86fc3383aae00e3a6ac1f525a9 |
|
MD5 | ddf90b712bc766ea36198a21ac64060d |
|
BLAKE2b-256 | ac4a5aebcb853fe89aaff6cf77fe66bf326c4048f0ebad87fe6dc0f8bc64071b |
Close
Hashes for pybind11_geobuf-0.2.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72cd3b4df59c36c27aadf37a986e39a29bedb30f6916d67073490d710c6bcbe2 |
|
MD5 | 38447d11430900bdd0c0c73b63bf9acc |
|
BLAKE2b-256 | a05f3b9b5ee57c15b212de8c32033395ac7d311afbc571c23430203c44bad608 |
Close
Hashes for pybind11_geobuf-0.2.0-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c617e85c282f22bf04e3ef934af96ab1e8210dfe95f4761c12228de232c9e78 |
|
MD5 | 7fe230d9d087bc59fecb0bbbff7fd199 |
|
BLAKE2b-256 | e5a65d7bc2b8b8132e2913495ba4d32763c97f6964519e031145589464a44241 |
Close
Hashes for pybind11_geobuf-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b8f743e0d18f3454f3ee2969cd1641d3619f6450103023889eae4b94923faf0 |
|
MD5 | 9b4f047578e4832642caf55ecb06a8e7 |
|
BLAKE2b-256 | 77ad5b03ac41ba661265ce1173cf011ba5ffa5e481579a21e553f3cbc2993348 |
Close
Hashes for pybind11_geobuf-0.2.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33584aeb61567385f8ab5210e1fdc6cd989fca66bfc759d0ef0c49d10af82dbe |
|
MD5 | 1be42282094917ce8b6ac11f3fd1474c |
|
BLAKE2b-256 | f2538c75a7f40c323d8c0868dc28b356e31bc75d5871409b8481df267318b9fd |
Close
Hashes for pybind11_geobuf-0.2.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0d0784a87a9e4f845be06636f8894fbc8e5da8afe1073aaff50c18c50df863b |
|
MD5 | ce64d990b1b76da1b1c3f80a48ad6813 |
|
BLAKE2b-256 | d01052f02a6fd873a50f19ea094c34758b7c51e350b434ee338d2a40c365ca1f |
Close
Hashes for pybind11_geobuf-0.2.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9c2d0fd523e113ba46b3d3cfb79be887988af22457a959c172c95a1e5c6ed35 |
|
MD5 | 7ead13f7d52e5f8b483f709122f10051 |
|
BLAKE2b-256 | 6794e1672cb43868512171f2ae83f78041dfc5e63eb7137bfa78bab1eb5610e7 |
Close
Hashes for pybind11_geobuf-0.2.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e81e4ae3840a3ebbae92861647cafa9943574bafd55bf37fb5d8c21f73f2dd17 |
|
MD5 | 17ad36bc36b7255ebc80434a46a71929 |
|
BLAKE2b-256 | b938be739bf99de257c69c43fdeae515d76d9f0d7bb62f98c0fd8d53172d79b9 |
Close
Hashes for pybind11_geobuf-0.2.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7805b5745e1d8bd046c45180e309dcbf288f8b8fd4f93f46f23c355038e757e |
|
MD5 | 09470ec5966c4ed761ad1ede747d1237 |
|
BLAKE2b-256 | 684f35fc54d4ba099e8f59acacf017390cd494f8e384129b12caf0e7e075065d |
Close
Hashes for pybind11_geobuf-0.2.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e3d88f926a61ee9fb4d9f2633dbbca970ec53942efeb8873646eaaf6d87e035 |
|
MD5 | bfdfae49c86cf83726b03b5840521ac6 |
|
BLAKE2b-256 | 8ae3b607f19d79ac99a1471273f4aeb22b16be6271582b0fc50d53827e726cb9 |
Close
Hashes for pybind11_geobuf-0.2.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 567966ccefcdc23bc64442e3f976ed4c9cecfe8f91ae3ef82fc5cd23d93f7bf1 |
|
MD5 | 0cb642c66794183a6a6ca98ff1a2d2c9 |
|
BLAKE2b-256 | d041fd510f442841428a67a2584345ed5d63bfbc0e17df98867b42dd71a5a2cd |
Close
Hashes for pybind11_geobuf-0.2.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a651286bea70fd41f854bd4c60b1ed71cf616888949e20c22e07c2d15f89eeb |
|
MD5 | 3aa344f31d4bf1cf4657317ed7f9438d |
|
BLAKE2b-256 | 787fdd93f545688de002723c9b8d04b3cb89a696150e99d697577b7642634a3b |
Close
Hashes for pybind11_geobuf-0.2.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09cd7c49e4dc1174ffe8152297d1466dccb75d92d896f6eed44298e39b81e096 |
|
MD5 | 636bec488146949528a85b7c792ab1a9 |
|
BLAKE2b-256 | 48645563838a56578e5bd8c6b3943caa1054e74f037b8d956b80192817c560ea |
Close
Hashes for pybind11_geobuf-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc8c59f5a86cd0d8ff176dadbf4b8c44195a36b9c7b6dd2c2788f9fb8a500446 |
|
MD5 | efead5ad5a51b8d67201d56f9ebae58e |
|
BLAKE2b-256 | 9d150e6376b793a20c91dbf881a53e6cc1ef1680be5213b2037a92b68891b226 |
Close
Hashes for pybind11_geobuf-0.2.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | acd11e4c8d0c640ce641a0f7856e8dbf7f4d9693ca73214d69722b44271cb25c |
|
MD5 | 3d288f05dbeb77b98678485fa4f955b6 |
|
BLAKE2b-256 | 61e6d7e7be80de4722e16394dcff4a2ff3d66d9fd5f54b505337de870775cbee |
Close
Hashes for pybind11_geobuf-0.2.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 669a4567303ff5e219939c027e486d33400ab4bab30511fd0eae4d10089cbb74 |
|
MD5 | ff217b3e4ab18aa4c290db666e61b6ce |
|
BLAKE2b-256 | 82b7ca67ceb15be61284ee725376f72fb8b1b14b286796fdcd1aa0f7a2b1d8fa |
Close
Hashes for pybind11_geobuf-0.2.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22cca5f2ff1f0abf243766b22b5ea64e0d7eca15127b8f407139a6ba06384162 |
|
MD5 | b9f6fd14c7b3417facd7752bf95515b6 |
|
BLAKE2b-256 | 819332a92067a019e5873ae7f2617f70e443cc40ba227d5c463d5a72eb64e708 |
Close
Hashes for pybind11_geobuf-0.2.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 165ebb45d9662ae7d382387362e7072401eb33a23fa530a6f222000b87bce827 |
|
MD5 | 6404c1656606f16bf29b39a4e3f3a300 |
|
BLAKE2b-256 | 19578c991b92bcd6051e93d48bc84ff8cc019a160d0c0a8a6258e614fbbedf0e |
Close
Hashes for pybind11_geobuf-0.2.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91d1e9602d27aeae090edeb42198327b550813a866b44bd1f27c59a4900c5e35 |
|
MD5 | 56f6bf113c8a78b5965185f6c0640834 |
|
BLAKE2b-256 | dcab104fde51f86de8d7b4ae6e6ec900fa7bdb132efa7fa506162bf1e8c9234b |
Close
Hashes for pybind11_geobuf-0.2.0-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a06aff25267a88f644741eee43321b07017a905e6e943c72a0b76815e95d864 |
|
MD5 | bf1fa1757de2ae4082ead1aa5a507f6c |
|
BLAKE2b-256 | 66d06f46c5f725cb96083baaa246b4433eef5043f88c59e9d7eaf3715209cf89 |
Close
Hashes for pybind11_geobuf-0.2.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32fd42c2f8c58291af8f4944bc2aa06ea4488afe0578e975bd516e0b3aec9dc9 |
|
MD5 | e309e02dd584d7ca656361b5c81aef73 |
|
BLAKE2b-256 | 7314aa9793618fbc93558e1d454b9dda93a549ddf46bac42e676d90fe18d50ba |
Close
Hashes for pybind11_geobuf-0.2.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2d80c4fa9a2496abe14c764a1a1cba3fe43070e8e1928ea20726368ecf5b37f |
|
MD5 | 1fd87a740d55191670f5c3ec86dcb970 |
|
BLAKE2b-256 | 25061b51da73600fd83ea0bb67db3db4d2bad1479bf7f9ce381db974e6a5204f |
Close
Hashes for pybind11_geobuf-0.2.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4436dc58b24b3b484c01510b2c4fa26b943c3f7460ba793aaca2e37af781020a |
|
MD5 | 09f358580e30eec5389a59cde3fef00f |
|
BLAKE2b-256 | 2de33b18a98b5bbe566859a1406973b5074f55e759e24d97cebbb475e0c944d4 |
Close
Hashes for pybind11_geobuf-0.2.0-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55ace20811a2e8f075e9134db5a660dbb4910e728ea989f130c1c15b0e9c510e |
|
MD5 | 7c308b40834a1961a79cab025d1e9bdd |
|
BLAKE2b-256 | 082ee75d3dcf320f284181092d89febb032549c228b80346be9459d1c340fd47 |
Close
Hashes for pybind11_geobuf-0.2.0-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8f0d916b443e19f4649d013d33c84389d17a24e9a3c2bb63296f717cfff2765 |
|
MD5 | 4d2d0dc22011354dc57d925faa2c3e14 |
|
BLAKE2b-256 | 7a48385d7e00143b0b3a94a3564bb81ed947d8bfb06e0c9ccc3dbe9f42fd6978 |