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.1.tar.gz
(3.7 MB
view hashes)
Built Distributions
Close
Hashes for pybind11_geobuf-0.2.1-cp312-cp312-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc08e346a030e5c4024861597661708e3e8dd90b51508c87085ea13975051f57 |
|
MD5 | 5643dddf0e8c424bfeafe4c7aa01361c |
|
BLAKE2b-256 | 07f2e75026a4be3e100e313bd875918113b029b0ac75a1f98e801a103b8412dd |
Close
Hashes for pybind11_geobuf-0.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bc69cc82d3338fdd4d09362dd5424168080e3bb237860b6d8c2efd0259b2eff |
|
MD5 | b182a2a9121e97f6398e08cb65f4d787 |
|
BLAKE2b-256 | 6acec4a5c79ec9e4f69a81558c4e517afeae70f71f99b83f8f36f92516731e1e |
Close
Hashes for pybind11_geobuf-0.2.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b1193c537570a23b3104eaa93f35d6b606336335613e4eb9bd51bc881f808a0 |
|
MD5 | c071389a79bf3dbb51c7b91ca3470580 |
|
BLAKE2b-256 | bf5c1e6999a70c9ea55ee566a4dd0a734043cbb7861cf33478085ea058faed08 |
Close
Hashes for pybind11_geobuf-0.2.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c90f1162abfdd150e949236a8f3d189f7059c13793ac21fe78556f62fd351146 |
|
MD5 | 35d68dba75c97b8570ba1ececaf38aa7 |
|
BLAKE2b-256 | 75569db0c82a03bf37cd77747e253a21ed73154fb602bf66dc3a28c040162a9a |
Close
Hashes for pybind11_geobuf-0.2.1-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e2825b96b1f19ab80d0574e7f501492f7f21d3bde029d3a8aa6deb9f2951d14 |
|
MD5 | b1cb712f9a8e1f481111b539cda3177d |
|
BLAKE2b-256 | a8c675515e95c68042b7f4006ce112a5e853fe94d3c8a4d7eb2052a4f1953f20 |
Close
Hashes for pybind11_geobuf-0.2.1-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e679a9e3752c3a9e24c699fae5986f8f8d844fd682e9f6ba40577f6c6389dad |
|
MD5 | ed04a66b11c64611563d871b4be10105 |
|
BLAKE2b-256 | 058442b153bd2c8403b68667368862e19ff979d7e49a0d4d77b9f8c32fbcebdb |
Close
Hashes for pybind11_geobuf-0.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7cfbcd9f4c73919ac11eb74d382c386d0e9cc80bad6d3a76f74af5bc9ef68c5 |
|
MD5 | 64a5233e753946d82ec7acd4255d2ff1 |
|
BLAKE2b-256 | b735d2d73f8aead4390cda9776a0dd5caf0420b55516a782c29df2e1e50a8e75 |
Close
Hashes for pybind11_geobuf-0.2.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a938098aa131f82106ecf8d7cdc59d0058f71dfbb24ad2dc9834b00d92497c5 |
|
MD5 | 294050147819018f2bf66690e19628e8 |
|
BLAKE2b-256 | e1899c724d77db9813e53e87287dbb28a54435f335ac4a1381918995afbff901 |
Close
Hashes for pybind11_geobuf-0.2.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e05d970dee90974633b94573f4f0adbd6e2de6136eb4e1a16304a16e15eb127d |
|
MD5 | 35a65bf4df0306459d148922a7d68f36 |
|
BLAKE2b-256 | d835365783bef1cc735500bf072db691954a85b4991763f8b795984a6aaabe39 |
Close
Hashes for pybind11_geobuf-0.2.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3daff8d4c55512f3e69755f23c6db1d39013055df4233ce06516f6f1b949e8e5 |
|
MD5 | d4963ed34723682798d012e276125673 |
|
BLAKE2b-256 | 6502e37e9a8bfac320fffad3c3d26500e214cc7d18b0b89c0e8627fcb2724bcd |
Close
Hashes for pybind11_geobuf-0.2.1-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9660c0eeffd164c94b577c2853c783fe889b625834bacb44cee1ce72cf36e95 |
|
MD5 | 0203dabeafa995f7a87376cf843a5eb7 |
|
BLAKE2b-256 | 890828e8b2f98b1cc65f951e99abbf189fcd0ee8affc33a1ae225fc4b976e984 |
Close
Hashes for pybind11_geobuf-0.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff490de41d83ce97d44e5bc6b9d74e50e8382ad75791553a50566fc9bec836e3 |
|
MD5 | ac70aa7020470a31c900a6a29965f37d |
|
BLAKE2b-256 | 47add81f38b9374946fec03cb2aa81031b62532467609f8d552d118ce71d8ae2 |
Close
Hashes for pybind11_geobuf-0.2.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb238c59b606bb5a654ffb72e46ed56c50ac60e0e775840899a15a7bc09949db |
|
MD5 | 5648eccce538cbc7a7ff157a1b6defdd |
|
BLAKE2b-256 | 18b6b91b877aeb0f74da61ef5a3a981c6f1dc911d5f924bcd46df332358ac525 |
Close
Hashes for pybind11_geobuf-0.2.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89cb287c9c81af3efb2ab2844bf872b26f16467281854b291e6447a2b12b76ef |
|
MD5 | 19b1ad287c78b5083e059f945f23dbc6 |
|
BLAKE2b-256 | 63f9a22d373413f37e7178058215206d99ced379387059230a77b8a5ee767fa7 |
Close
Hashes for pybind11_geobuf-0.2.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0cf181039a907c10e22a9920c6f7b1b84aafb5bd6ecabda45b3326582a17a95 |
|
MD5 | 34be98b6f188acf11801a96a6591a80c |
|
BLAKE2b-256 | 5210538dcef4245a441c8b5d4bd3c5318a0ba3395c99186c2eb04e342efab28b |
Close
Hashes for pybind11_geobuf-0.2.1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b64a6a4780be31f7d2d787b4c7a6c4f19ffeb1b1e5271cb168c4d5de7b6f653 |
|
MD5 | 02492f0fc30624d3d6d9d162799a9382 |
|
BLAKE2b-256 | 89e3f81b52369f9982f469ad4b4dfa79c9c8af473905182707f4402c5c93a9fb |
Close
Hashes for pybind11_geobuf-0.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48f19b39c292b660d391eaa008de11e78fffb08789ee30aebea1769475cd27ae |
|
MD5 | ab7eaf0fc08419c431482de5227e8ffa |
|
BLAKE2b-256 | b9f0786d534f70382876cd1cd4428a819ab4d94825efdb31ae6ff77c3704f9f9 |
Close
Hashes for pybind11_geobuf-0.2.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70d7a260e3ed9b47acbd8a58fd1103189fe198e97bed0ec2495e2346362cc1b4 |
|
MD5 | 0e9932ed33654b1aefb388c34eb1e49c |
|
BLAKE2b-256 | 28428917aa9b40dbd11359ad16e4d21027c68bb904f02bafbc6746463a5a901b |
Close
Hashes for pybind11_geobuf-0.2.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1164723c10c49c09aef9ac220845198e62ff33597d9e7e593d6dadbdbcf55833 |
|
MD5 | caa879ea139d94e334c653e8b9034622 |
|
BLAKE2b-256 | bd58aeb9c8f5c9d747008e3264a1908b8ecfa5dd195ee42f79f5e3867c1b5f41 |
Close
Hashes for pybind11_geobuf-0.2.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4d615547414a6aa96ae52e8a93ad3e961e504e174bd5beee5483b6d26c87eb5 |
|
MD5 | e9320568a4f5da854c8a084021b90aba |
|
BLAKE2b-256 | ba1ace10be70b7e58246eee3f8be2460f388376ef786631e57748c64de1873bb |
Close
Hashes for pybind11_geobuf-0.2.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dce90b00dd928581cd330df7f6545dc0da851692e74f91e0ed3d68f2f7e91d1e |
|
MD5 | ce4939c71fa755094fae15b498d2d130 |
|
BLAKE2b-256 | f80284e3335888c79e0e487cdd5dcb0d4002f204f0cd79b81a55fa18971941c5 |
Close
Hashes for pybind11_geobuf-0.2.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d864573f2567d5cc3efdb78a018c5a504f298ca6a270a6359264efe2536c7c57 |
|
MD5 | 8021ddd6148836b2fdd412699e054647 |
|
BLAKE2b-256 | 0c877d1167a5aefc18d88662fc62247d80e970c0682031b4191cc32f56e7a63d |
Close
Hashes for pybind11_geobuf-0.2.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a7ef3335ccb651a51c11de1591c4f176e15df8085f6763d3d5d83e1453cd919 |
|
MD5 | cfa2d0a872bbe22e60caaf994784ce9c |
|
BLAKE2b-256 | 3d271157908f2749643c94c8e79c889ad51f788e6351ef72341f25942937e000 |
Close
Hashes for pybind11_geobuf-0.2.1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4611d30197193c876da9f228a0693082b8ca129e25fd5a3ff4000e259865ff7 |
|
MD5 | 2b86430fa9ebe00a3688c9b13c0dc98f |
|
BLAKE2b-256 | a2a23d5962c26038b356d25c2fa2ed4455217a55f7145142bb3c1d300f16dc95 |
Close
Hashes for pybind11_geobuf-0.2.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b9fde20ac4e2abb45cf76aa980acd8a437c0b8fd2a2ceaf2405da1ac9417289 |
|
MD5 | 42950a76fd674363c06ed631ddfd8000 |
|
BLAKE2b-256 | d0813d60543616b5b3543033d641bfaa83f32685707bbd979d25beb59d034f18 |
Close
Hashes for pybind11_geobuf-0.2.1-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a527b7afb88f324d060dbe928b1af6512f7a27b549874787c22b9b1bad3d555 |
|
MD5 | 8536dfbd2c174a972787f73aff8eba68 |
|
BLAKE2b-256 | 69f156ba27e7b7cdf6155d6c6e5906de57134c2fa2ee59ec65bb2bf611be2576 |
Close
Hashes for pybind11_geobuf-0.2.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 178e309027bbfc072fd854eebd622fef18f603b2b9970dc0ecdf38f8d958f26f |
|
MD5 | 765f87ba7578b210bc24923e60b0b5e9 |
|
BLAKE2b-256 | dd268287afae575a9bf40e835af3354dd4b003eacda083ee4584ba3599d5eb9a |
Close
Hashes for pybind11_geobuf-0.2.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbb2c6318b59e78470e733a59e6f2fc2a96638de8390a2298d1f80fbdb79338d |
|
MD5 | 0d088a1c7819a0a332fffce6bfc84195 |
|
BLAKE2b-256 | 4e997c729731365947f84939f7484d0452c2b6985daf6317786dd11e8b4dda8a |
Close
Hashes for pybind11_geobuf-0.2.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca94ac6d347341c2d213ea2adc15cc55b884903008d97b26cfcc85531c2a01b7 |
|
MD5 | b9aff7215d6150e98dd25d5c5829dc3b |
|
BLAKE2b-256 | d9daa448ca87e63b78108fba88dd3b6c847f14e6a7ef81059c3ddb115e842b3d |
Close
Hashes for pybind11_geobuf-0.2.1-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05b3b6f1bf50977f2562714f5c07a57254fd6e18108166a6cf046172b3458b02 |
|
MD5 | 47570ef90ecbe6159621bc59638d5d02 |
|
BLAKE2b-256 | d69e32f361360a9424d9c7e2e1955578752e421eaff48603eaf95cce80af1e25 |
Close
Hashes for pybind11_geobuf-0.2.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 982744e608f186f318de246c33709e7604d1302f9b6f9c46ae7298133d23ff8d |
|
MD5 | 2ed93197fbbab84fb98ef77c7c6d97dd |
|
BLAKE2b-256 | 9ff9e6afc6798fc07e6f023a4eaffa8d2e49a665906d40ad9ee8361820bd9403 |
Close
Hashes for pybind11_geobuf-0.2.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8c121de4e1dc70521112c222c2decddfd839661923cfa3bd44a4403f3198fbb |
|
MD5 | fee0d66ed9b52d18b2bebe4d2a96c92e |
|
BLAKE2b-256 | 691b9f2c242e44598c8a7c1aa185020569352d3be0096622cb3c3cb13f8b44d9 |
Close
Hashes for pybind11_geobuf-0.2.1-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 900a7cda4ac43d05d2a9f8e9e1f31eaaf85366deafd85371417ba243d5669c1f |
|
MD5 | 881a6b956141310c09cae82e48708cc5 |
|
BLAKE2b-256 | 401401521035aa274e108b744cd100754e5816bd9b2b095ee15d2422fa392436 |