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.9.tar.gz
(3.7 MB
view hashes)
Built Distributions
Close
Hashes for pybind11_geobuf-0.1.9-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f886fd7ea2fb2b5a42d52d018de0ff468c8b9ed5dce5545609da778d8b02f6b |
|
MD5 | e455ff0b2c2315b440ec2d58542cd0da |
|
BLAKE2b-256 | 861781e2612ef49d832e7c464dab14793f3c2e7231938fca62e86affb537207a |
Close
Hashes for pybind11_geobuf-0.1.9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 785fee6c236a55e3c623d3f61ef38795c02972e792b1e470d964c6744db2d068 |
|
MD5 | a43c1b510298a1884832e0afc76d0335 |
|
BLAKE2b-256 | 5530992ade1270ab68e9b353b44913eaeef240e7ca7f13f5de42eed059b0c446 |
Close
Hashes for pybind11_geobuf-0.1.9-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46d4429b4cff1e7cb749c0a536b5a13d1ea25ecb30e23e1d2e8e3033dddd30d3 |
|
MD5 | 53bebba4870f823166612dd05271c355 |
|
BLAKE2b-256 | 34e302d5806e33c9cccf062ff836be3c7cd4fe4ee7b6f365f61cc226aa1d5da4 |
Close
Hashes for pybind11_geobuf-0.1.9-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 836203471061f8a600b1bc899b70c87fa77f227a392865fec992806f14ade552 |
|
MD5 | d50d0861969760029ef96e0e741d286e |
|
BLAKE2b-256 | e16b8ee8f80f4bd1dac08eeef5b3857dbe5811afd894d34d682d7de11871c80f |
Close
Hashes for pybind11_geobuf-0.1.9-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2be3477f2ebfe85b6df40a02e2ec156150ea3cc657311d754187cf6ad9a848b6 |
|
MD5 | d7ce8cb996f6bd49702936386e35da23 |
|
BLAKE2b-256 | a520ef92c8f674585d38c63d1d7a3e486b6ad59aed4cb803969f40aca571cca1 |
Close
Hashes for pybind11_geobuf-0.1.9-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c365760f93310e536a8712dd4c341e2227870d935f21214dd846b6d4b0bc9de |
|
MD5 | 2642f03b48afd8500329395e511b3460 |
|
BLAKE2b-256 | 10d65275c935cdac2afedae6d6df5e46ed0f8c0854f87eef20dd4bd1b3b26051 |
Close
Hashes for pybind11_geobuf-0.1.9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a444783ecea419155228a7dc2cc5b98fbce1b2b8d88504073385a2d27e0897c9 |
|
MD5 | a496c371042470edb7b7e23d324392ec |
|
BLAKE2b-256 | 99687ffa2560f38c11664387d76d46cf1f9755da3885906967d132b16dd7340c |
Close
Hashes for pybind11_geobuf-0.1.9-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c119d6aa3f6bcff8f8e171adb7149be59c64b5a4a2df5e085469a3fc8a94b1f3 |
|
MD5 | 2809593a907cce1c09e0afa9583f8d38 |
|
BLAKE2b-256 | 369833c714c0fe47bf861846505e893d9844a4e673ee1b1854a52248e69c2c0f |
Close
Hashes for pybind11_geobuf-0.1.9-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 157b070529022a357bfc10f0300b860c9977235f4df2efa36221b122f23bb1d2 |
|
MD5 | b5b39fe31ef152cae1022b5f8133d45a |
|
BLAKE2b-256 | 1f9f1f9497e25ee1269f39d1cd06378da6660c69acdd6d7b611c34ef3673dd86 |
Close
Hashes for pybind11_geobuf-0.1.9-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01a9443f9e35a9e2b49ae5a49abbd7914d3754bc0e9346d9310b9142b38b30fa |
|
MD5 | 5bd2bfc60253afd41c2edcad859ec693 |
|
BLAKE2b-256 | d4b7b1a5817f839bc761176b789dc75e4ab6701da8b6d7b27b8c3f79ee06a0a7 |
Close
Hashes for pybind11_geobuf-0.1.9-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d70222665266b87a8158e886dc3357e333fa2884ad268dda6e631f3782845973 |
|
MD5 | 7382ffe5d32d992b3b88ae9103db7322 |
|
BLAKE2b-256 | 041be2c28941adb76aa2eb37cac546f85a43310d4246d0c7f41687b1b741f152 |
Close
Hashes for pybind11_geobuf-0.1.9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a3636e9d04b5b920d5c2b935ed5c67479f34b162d6d41e77ec57eb1c31685db |
|
MD5 | 40a16a3a5d3db42fc16e45a7c2a00168 |
|
BLAKE2b-256 | dcd5437b897ba0f3bdf68dcda98e3ccc3a024745233d26c515d9864832764d23 |
Close
Hashes for pybind11_geobuf-0.1.9-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed4096e70cfba2248b8b76ebf617b9ddf0b7f47e208043ffb73e59952df14753 |
|
MD5 | f78e9639a83d2901389bf3de1914430a |
|
BLAKE2b-256 | ba4a694defe818a4a7b7f536db7845117c975736735ea9f97d281c9a946426bf |
Close
Hashes for pybind11_geobuf-0.1.9-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b65786c43e569f7d11a4e6c6c643e758e3262e57b4c1606861aca1685f924303 |
|
MD5 | 9a1dc8b3880a164764eb4d198edb4ef6 |
|
BLAKE2b-256 | 6832bd3af96d5680d1b678016192e6768a8b1def3b4c54742fd86673d7527413 |
Close
Hashes for pybind11_geobuf-0.1.9-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a22239057ca792929a2a73be9029a196cb54a67ffe7ff251318354e12d3f17d |
|
MD5 | c73493bc05fa07202e399638d614e198 |
|
BLAKE2b-256 | 7d32e39cb80345654e3398e6703f324fb49e8bf7b23906fb1a51fd1de58c6980 |
Close
Hashes for pybind11_geobuf-0.1.9-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99f320de4f77731a0bbbe0c956f6e6b73bebcdf4f74706109636df0a63e0b3af |
|
MD5 | 13adebc3cf952f95b855b2be75ad0316 |
|
BLAKE2b-256 | 37fbd0d74fd98a89ba8236a0497793f2908d8979faa098dad6e773c7df57a006 |
Close
Hashes for pybind11_geobuf-0.1.9-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f7ca08b417fa60eb9cda45074cb5547c2dcce298924b0d6a9fd3ea8c067ec27 |
|
MD5 | 9eb8bd1c35c40139fe337985600592d8 |
|
BLAKE2b-256 | b060b66dc6a6dee8012e3eeb3e03c50e49c7212e4b163a04b28a868c58bfb057 |
Close
Hashes for pybind11_geobuf-0.1.9-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbfcfb14c61cf25d8ddee79e16d434d96d0bceebc415d3bafb32ec41726ad229 |
|
MD5 | 8d54616c5dae07c49d26e6d75c684c2a |
|
BLAKE2b-256 | ff328dbd7ad95b85c9499df5684d6238d275bf097cca1b563c9e93fc8286e58a |
Close
Hashes for pybind11_geobuf-0.1.9-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff9da00e85fb4b5f9e8885262c755fb09c887daa5248bbacd32ee4c96c8f1c9f |
|
MD5 | c4696f82928899b1ead553b9309e3cf6 |
|
BLAKE2b-256 | e381d81dab6263105b27e3c97636799a65309f97c26ebcb2bb3ef668a16f3b5f |
Close
Hashes for pybind11_geobuf-0.1.9-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb0e95d1685093ab856457cbb24eadde283fd68c471e16f8e1248fa9e144bc42 |
|
MD5 | 3ddc0f8a6c49c9edfaeca685e3772065 |
|
BLAKE2b-256 | e23be4c36bed0bc13b4364de370633322f6db4ff92b092d3cae97980644de97f |
Close
Hashes for pybind11_geobuf-0.1.9-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a9829f9e5c0faa3957ce83de510e31268235773c99a976bb3a552875d7cc48a |
|
MD5 | 5244b334345d50904d985dc84a5ecafb |
|
BLAKE2b-256 | d1333e95502697563376c116d9de0656f02fe7d04e580cd01c306b24651f68db |
Close
Hashes for pybind11_geobuf-0.1.9-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49625ffaa7ca8a9b77bb937b8d854df6bee21f13e1363a781c64dbf6f65c6e72 |
|
MD5 | c2bee46f7ed577ca3559dae364a78fb4 |
|
BLAKE2b-256 | fadc2c6dbed95d99c0945637e662c022d3a918911c03311da954f8a22ac4a45f |
Close
Hashes for pybind11_geobuf-0.1.9-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 155da7714ef4e70e0937b969d4c006e956f8d2e8dfc633031ddbef873fe5951d |
|
MD5 | bf1e20416ee15bc0dde79ae5504094ef |
|
BLAKE2b-256 | 06f9b3d67c0ecf0bdf4b181356af777e242f80605f073bc0cdc7885064bed60e |
Close
Hashes for pybind11_geobuf-0.1.9-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce8881de01f042992a8a683561a578e6d500f09e2b938fc1ecc70460f38f682d |
|
MD5 | 8ecaef1ac06560069f7d62cf2e7ad910 |
|
BLAKE2b-256 | 9568d7b3fda2aff80c14114960dc2187acf1f171c23552832a168bf41df2059b |
Close
Hashes for pybind11_geobuf-0.1.9-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f86e0ffdd1d165ddf2fe5b2ff5f972386f57c90e84ac66cb8dff3a229eada41f |
|
MD5 | bb5e693fc2376e58249830cbc1315c43 |
|
BLAKE2b-256 | a9d3227332bcead78e9acc75fcaccff1bf3a60c2775457654521b929b2604dcd |
Close
Hashes for pybind11_geobuf-0.1.9-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3f096aedbe96128ca0dac0d604100c7fea8a1399cc5e36bd7e1ba462bc95e49 |
|
MD5 | 11179b248ba41bb9a36f42ab7f4efd50 |
|
BLAKE2b-256 | f764483d3298236b7b349885cb2fdbe0b835a349758231a170f6ccdcbbab5e49 |
Close
Hashes for pybind11_geobuf-0.1.9-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1300391fff4f16b5438698c1b33b45a28836334687a94ccf294bb8034cf74400 |
|
MD5 | da8af87284e398f0bb8d063d9e38c57c |
|
BLAKE2b-256 | fa2404b1459c001cf5026745d4c171c6489e1c92c7f240c73aff23f3c9e6110b |
Close
Hashes for pybind11_geobuf-0.1.9-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 658f5fc052d557619051de4a16c8462f8c760186209f250ce225e737677f04c1 |
|
MD5 | 63ba2fee526531b4842ab4a93e5695aa |
|
BLAKE2b-256 | 96e8f4e162401d87be6993c670f8bfe548996f0fbbe82651fb15daf826451d6d |