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.8.tar.gz
(3.2 MB
view hashes)
Built Distributions
Close
Hashes for pybind11_geobuf-0.0.8-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d26ffbb058eed8379a35a5318dbc6801a83ec4df87a007efae71c2200682ce4 |
|
MD5 | d4e4147abc1188c1ba08d53fd0a706e4 |
|
BLAKE2b-256 | 54cca81f4d03a0855fbde865e0786417f75a249e887654ba6854afb6f623461a |
Close
Hashes for pybind11_geobuf-0.0.8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21579264c53fe31afbf032d39ce1d3a3dac166cd0a9f22f7cb3425642afcf180 |
|
MD5 | dc4b754ec9c61644c11df6cdbf638f0f |
|
BLAKE2b-256 | e45ebf7889488e1395eb3416454c23b2785dce3492869fd6f3c9f9995b5c1c5a |
Close
Hashes for pybind11_geobuf-0.0.8-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5c3069ff59ef22e6ac391c61da4168024f411842336e00677f4ba3252f83306 |
|
MD5 | a19d032dad462360d6845fe7e9b7678e |
|
BLAKE2b-256 | 9bd0cdedbbfbde9dc928ba2d1c32c1fe152c7da6e4b55288c380cdbfc7dffc42 |
Close
Hashes for pybind11_geobuf-0.0.8-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8383f7ef9f7c875a104fbd1f64630441cb5793ef29bb825e2b410fdca3e56147 |
|
MD5 | 8ee20ab232bdf6810329c954e9e3e9fe |
|
BLAKE2b-256 | d592e55b876ce4d606f1a1171394d812d9a1c7c110af8b70a826a4b3705d8489 |
Close
Hashes for pybind11_geobuf-0.0.8-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 652e4def0d2607cbc5b81b69ff7ac428d52558498edfd5495eab32a7e4bb78b1 |
|
MD5 | 8fe87c2ef06c11c10a85b09a937198af |
|
BLAKE2b-256 | 63f66775a36320a828f3f9b859a16c215376f841416ba0024d004b8fa25c9bd3 |
Close
Hashes for pybind11_geobuf-0.0.8-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7cd4d98f00e909aa0a6c5e42dd5a97dc4d11d5444d54ef567303f999f91f4e5 |
|
MD5 | db6fb281243451305dfe27ebb6eaba98 |
|
BLAKE2b-256 | 5f147c0a9c3c3cf96b5b72a8ce6c0059e1ed55986f6ddd375c28dd10e45a75cc |
Close
Hashes for pybind11_geobuf-0.0.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 275881971091eca37f3175941e30dff076294987893b5d9c5d895de1e178742a |
|
MD5 | 698daa001a718bf12b207c227f2491a5 |
|
BLAKE2b-256 | e5a783878d751d896c65514647879a81fea08b9cc8112c4d1b018e6ff60193dc |
Close
Hashes for pybind11_geobuf-0.0.8-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8acef34523f4989fbe15091d81964cb37af9bc0e52339f9fe277739d147db4c |
|
MD5 | fa5b420f3fa9f4ce3044731184b11d86 |
|
BLAKE2b-256 | a7dc1a7b2684ad556ea0cfe873b3be7efb48c4aa999ada0dd4acfa78398d9b95 |
Close
Hashes for pybind11_geobuf-0.0.8-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e33760264946dd087fe1a4b8a9bcd9d88e0f54572bafe6a18174673f3fc0a4b |
|
MD5 | ac88f226fd49c4a15a70d577deff6ffe |
|
BLAKE2b-256 | ce218335da001476577ec595f813bf87717a5e616dac52c951075cb22fb47c6d |
Close
Hashes for pybind11_geobuf-0.0.8-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88f288d9cd5395e492bb168f91f0549d21a38e194057950fa6b229fde055e02d |
|
MD5 | ee21857099d0b2d030f43f58786522aa |
|
BLAKE2b-256 | e461c5fd030aef603db92acf1e23595e3a3905391f35f9f718a7082c79d6a92e |
Close
Hashes for pybind11_geobuf-0.0.8-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cf92b4276d06a4f4fd3accd0f9c3107f33820767343debefddf09cebd893bdc |
|
MD5 | c68cfc5e412e5ed2e278df017c38ded5 |
|
BLAKE2b-256 | ee768fca4eba537a8486f761093a2cb794cf815e5a3c851320d032afb181a97c |
Close
Hashes for pybind11_geobuf-0.0.8-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57e02b909d879b66484fc7b56682a6172651043433a1e2b1d6ee25d46a15452f |
|
MD5 | db0ab8d1d4227b1744a91c6eced2f238 |
|
BLAKE2b-256 | f9980d8a16af10676a46938b8bea2ff0fa6e8dccc5a765001c8f222fbfa3595c |
Close
Hashes for pybind11_geobuf-0.0.8-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 665f3f518a62bab7d08ab78e83a7a04cfac175a80e8a8b0e8c274f63ef260714 |
|
MD5 | 5e20ab1aaced2c22a1504ed905d3a703 |
|
BLAKE2b-256 | 2d8c64864cbf11d1ffb8a00b6e800dc6afca97d87f18b75e8576c52ae3b60d9c |
Close
Hashes for pybind11_geobuf-0.0.8-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0db2c1818a8f43fa49da84cc4011857d677ebd00fa7542c2ec0b13faaa39a127 |
|
MD5 | fd8b40c4c7626c78d5d6d3a0942e76e5 |
|
BLAKE2b-256 | cf0d9d4c6e012ed8c7f4c2e129da0af4fd9cbe742d6242e1727fad13ae476214 |
Close
Hashes for pybind11_geobuf-0.0.8-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98c26705e422bc36703a922b0628fffb57264b2e675a47d6ca477798108f83a5 |
|
MD5 | a2d6ce2a04a87b8c8d94368e93316d5c |
|
BLAKE2b-256 | 50dbe56d3f87ff9f2e531f382a632ff633005d706ea7701e124ae74172a0aa5d |
Close
Hashes for pybind11_geobuf-0.0.8-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a517fad9805e5d772ee0ac93d72e9d20ecde83e3e21bd83968445790444e20b |
|
MD5 | dce2781a42722cc59ddad2dcb865d8f1 |
|
BLAKE2b-256 | df7164bdc78cbb1124e03eada12777b6ff809531f95004ee8f2904faad3b3777 |
Close
Hashes for pybind11_geobuf-0.0.8-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a89af5930bf86bdfb326b828e1640285b52dee4950643879582048dac71d6794 |
|
MD5 | 4588008bbade15bc272752426c47aa2b |
|
BLAKE2b-256 | 86828ca64d4e8520157c0b50f0880d28631d6502948be0c3ceb04f3111fc8759 |
Close
Hashes for pybind11_geobuf-0.0.8-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d9845b410f1da4f8bef09719d11e170b7abf4457d903af94febdece95296fba |
|
MD5 | aff4754d64884138309e5c313a9c7866 |
|
BLAKE2b-256 | ebbe5cb38a5e7f3568f359f82b662db274836ff50950d55cc95b25527a9c7a95 |
Close
Hashes for pybind11_geobuf-0.0.8-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a8f4e12c2d4d1ed802cf80fed82cfa9e53027a531b00c843a79256c45937732 |
|
MD5 | 6e9ef583ef7911682ad21882847a4b1e |
|
BLAKE2b-256 | 96230252df01fa9cd087e7772eb1519dffd35d6075d6f357565d212558624ef7 |
Close
Hashes for pybind11_geobuf-0.0.8-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35b0a6781cdeb28ded271f7397a4012e6d7a347a2f4a043f66bac9bf86c601f8 |
|
MD5 | ec6fe9286adbcd85a9305c9426696a58 |
|
BLAKE2b-256 | b78dee69189b1c6209fa87c55ab3aecd7c38a1880e4cc123b9475830b961e8d0 |
Close
Hashes for pybind11_geobuf-0.0.8-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d18f9eafda9965babab0bdff47bdc88e137493c2fa5939d9f7734afed2c7930 |
|
MD5 | 35b072d550ecd812f784d57b96ee8d6d |
|
BLAKE2b-256 | 80cf6db7eb5dbf5c3662f0deeb5e3de66b25a35e7cabb90e3e079813799a44ba |
Close
Hashes for pybind11_geobuf-0.0.8-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cad6b313babfdc644cd2f8416e2584e3512a1562e6058f3b58fcbeab9a59484 |
|
MD5 | 52e14c03d6e4e62a75ddd4b81871db73 |
|
BLAKE2b-256 | 0793e419637f11de85048d08149a37dca7bd958dfca737d23c9f6ea6353a22de |
Close
Hashes for pybind11_geobuf-0.0.8-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38b470fc7b1933643b3eafd8572652236ba2f4a062d2a1016215b988717a90f6 |
|
MD5 | 9987a3d2bc3478c3a868d09b625e9f3d |
|
BLAKE2b-256 | 4c0e6f1c1889343ebc513c93b20c3e1631e23930bb580c832cda7ae2b718b714 |
Close
Hashes for pybind11_geobuf-0.0.8-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80dab2b8fa7958ad7bb15a276d4efad60c602601c55a57d50cd43c01e93b511e |
|
MD5 | 36cff8fe47fc8fb7ff91643dbb8ab4c4 |
|
BLAKE2b-256 | bd4ef5ba57ce366a5506ee8326d0c3f711943414fb14ff53b52596abb705dc0d |
Close
Hashes for pybind11_geobuf-0.0.8-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6adca103f129fa6475b2c084508460f20c42223b762e0fe481afd373d051a977 |
|
MD5 | 0ccfb077852d68c400df6b7315def5cb |
|
BLAKE2b-256 | c72d8cfe1d62d10e5d9dff354674fff452aecaf3fc5e6c3f7ade08f66d9d2cfb |
Close
Hashes for pybind11_geobuf-0.0.8-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 411d2aa96dc384f994d0b4a8f1cb31c060cdf75175f0caeea5b242a4a36b470b |
|
MD5 | 2267571a534d04df133fb0024483cacb |
|
BLAKE2b-256 | fa0c06f9679a66affe31e0586edef8f994e3c39e7805ed3e4bfa534a43ec666f |
Close
Hashes for pybind11_geobuf-0.0.8-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c187a1f72b90b888b32540c6b9b95d65259ca894001f7eb2fd19dfe0a142e49 |
|
MD5 | 32956692225b132daf4e98bea83956a5 |
|
BLAKE2b-256 | 18f1784d681a2ba51f7ba0e47b74b37d12810b2add1c61f4af0995f7ed049d7a |
Close
Hashes for pybind11_geobuf-0.0.8-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39af498470bd3557baf29097ed29ca44342af9f79cab5a571842cd017f8c36ce |
|
MD5 | 942341d89235ab2d600670b73aa95eed |
|
BLAKE2b-256 | 86033925e613a3584e80836a368ff7d2175cfccdb84da52e7f404381676495b8 |