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.3.tar.gz
(3.3 MB
view hashes)
Built Distributions
Close
Hashes for pybind11_geobuf-0.1.3-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1159df16b8d67517e9e578c001b2051f2fe4c856241675a41c486e954beb938d |
|
MD5 | 22ce051e1c7ef42927cb51aa32c53a24 |
|
BLAKE2b-256 | 3b184d49b0e35652aab76a1c12da71765fcaf3e73dcb387fc4026faafda520bd |
Close
Hashes for pybind11_geobuf-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db5144a9b2950dc8f11fffbf10af74c5e82df69f3196bd752620db05da0f83fe |
|
MD5 | c46e4ecc23d8689c9aa441e07bac860b |
|
BLAKE2b-256 | f52e98977adefc8358261ccded786aba310cc67a82863716cb95c68fe64d2256 |
Close
Hashes for pybind11_geobuf-0.1.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54e71fdc8295b5aba028f7d034aec856019a0adec0d5a97955a51d00f7b528c2 |
|
MD5 | a035dca7a0d95e586d216d895cf892db |
|
BLAKE2b-256 | eedcff49ba60fe212b74e68ba7c8ab9a4256df5a9cee3b94de6cd6d217bf72bb |
Close
Hashes for pybind11_geobuf-0.1.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 138b706201076bcf804e14fde2cd18ca7f1434f917fbfb8703078fea15e65829 |
|
MD5 | e121e7f5c9cb122f97d9de77803442de |
|
BLAKE2b-256 | 16d39b8e2e32c8cb687da029bc3ba06beeca47ea15036f63c4eed0a967fd3019 |
Close
Hashes for pybind11_geobuf-0.1.3-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ad3fe4fa7df630f11b313dc19c502418aea31ddaf21561c5f1c55589215a9ed |
|
MD5 | baa2ac226a30198087de8e599f3ca565 |
|
BLAKE2b-256 | 7bc8cfa7e7fd144f8965fa13673a8c5f158a96ee8c665d33a449ffc9326ab93f |
Close
Hashes for pybind11_geobuf-0.1.3-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c7f0663df2ae2c958d42a9423b9f527dd84464e0396bdd63e5c62d98f0ce5bb |
|
MD5 | 915c3d6ae632787c1ac4fcbd2ab3e850 |
|
BLAKE2b-256 | 3d25a3279dfe0457335c24f29c2841db723d50dfc58456e44d69fcd83c18a697 |
Close
Hashes for pybind11_geobuf-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89e4c37d36f7a2c4df3b79d6208039b9a36c2c3700f5dc629738a4d43215b723 |
|
MD5 | 1331a5ccb2b1abc4d73a074694e954f2 |
|
BLAKE2b-256 | 84e01be244475d2eccc6bbecfc3ea1ee7f58d93b3c05a52d0cd429546c6ace05 |
Close
Hashes for pybind11_geobuf-0.1.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1cde914a3100e90803985bd56094ff0e3df0c22fe2dc80090e889b68a2790d0 |
|
MD5 | cd5293094cf83b36dd821cb98f2b1a8b |
|
BLAKE2b-256 | d440b544a8ef96c42cb38b1d5bc62f3bd0e4dcc77e10fa5c71cf5514c1bcf987 |
Close
Hashes for pybind11_geobuf-0.1.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eed5e3b82b7c26bcb106d34074b976d3a2f864788f5382229bc14a365a263e4b |
|
MD5 | 9a81afe725bfbd387acee66f6733e46e |
|
BLAKE2b-256 | dfbd5570b36cc80f352a5260988ecc603b6509d50f24b94bd53c3489348a4c0a |
Close
Hashes for pybind11_geobuf-0.1.3-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 797040cdc07ac01ef054ef492a473fc576493ea339d2a367800846fabff01d93 |
|
MD5 | 2a202943d3de223f006645bf4efa744d |
|
BLAKE2b-256 | 95a48fb6b8e728e303f513c85dcb6fdc8e2c32d1a962c5790bc3fec655d23b6c |
Close
Hashes for pybind11_geobuf-0.1.3-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1eb4c052bec1606bffa18214ff44d2e729e40d16df497cbf8e5827b90b82b943 |
|
MD5 | 907c554416bb0198e5f190be05ad0f3f |
|
BLAKE2b-256 | 9d26b6c3d78ba79fb03c58dec927bda2db23f5cd4db3d90e2ea5be23cd5da991 |
Close
Hashes for pybind11_geobuf-0.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b93ccf919ccd4bf2ad726cfa842c7ce09bdc02dd48dd537ac5a937102de4412 |
|
MD5 | cac1937252205a699e8a9284aebae693 |
|
BLAKE2b-256 | 60268d1b063ea21c39177beae9cdc4646a4c9da818dc2d1e68909acb82459be4 |
Close
Hashes for pybind11_geobuf-0.1.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b84af8dbf073dc6b2c7f0f6861741eb8419e6df396c99d36c925753b0a2cacf |
|
MD5 | 38ad50da0be2457773c9c0b7f0635fc2 |
|
BLAKE2b-256 | 135626a203971c671cb87b4c3eac215d2cb7fd4408d737f584bbd3278d471608 |
Close
Hashes for pybind11_geobuf-0.1.3-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8340b061047c06a5b3e420e9c0bb857bb0bdff4146c3dccbd0af8870f390a900 |
|
MD5 | 9542e9d4da17c1287dde041bbe048067 |
|
BLAKE2b-256 | c273e12c7ee87623794cede64770b02517ef86d08da3a8c419999147fe96966b |
Close
Hashes for pybind11_geobuf-0.1.3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fe06f8559a6cb07e045fafbfd5c7ae255739d263b053e017e5b25294b12c329 |
|
MD5 | 9c27a52d552cd5759230d20a224e0a86 |
|
BLAKE2b-256 | 50fe4aaebb93ece268a34c67b966c299d19341e62d7772fc69e4a77b2a31a951 |
Close
Hashes for pybind11_geobuf-0.1.3-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18a8986abd1c22954651d4cbf91b1b150cdc583e101d9af123168f272ab620f7 |
|
MD5 | b75012639f6594b3b180956082d2139b |
|
BLAKE2b-256 | 4a523a74375a367460cd39285b966e79ef6ba1b2108e4331e3b4581b3f11730b |
Close
Hashes for pybind11_geobuf-0.1.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed4affb7f26746e36b0f813ecba786ed52f9ded69d8e2170168e110bdce7d660 |
|
MD5 | 56c2f24551cd5ee16a539a8198d14151 |
|
BLAKE2b-256 | 0e37299729cc7265f6860b0397d3dc2f7cfed3bd9ab2e746e82419ae96fcfb3a |
Close
Hashes for pybind11_geobuf-0.1.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 515ca50915ec451378eaa370f320ce68432699fc2b2a88d8c87464f98f0702c3 |
|
MD5 | 1ebb9622e762658bd9a182527518ab64 |
|
BLAKE2b-256 | af070b3bd08a86fc3565134f7003df4e3c744aecf358c8d3aea731ee67e4f94e |
Close
Hashes for pybind11_geobuf-0.1.3-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3c0c775019fdf0d601425eff56283302890f49e6762afc515ecd254767ad3aa |
|
MD5 | 77931a66e31bbe89f2002985f3ce378e |
|
BLAKE2b-256 | a158cb0cc08b79b25a998bb936ee7a8fd9a08f7bc61235e13d008092323b76c8 |
Close
Hashes for pybind11_geobuf-0.1.3-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c610455d0c0b716d912973fd68720462738e27fca0b8bc93cfc40419646d482 |
|
MD5 | bb29d7a613a3e805474954a14fe02b0c |
|
BLAKE2b-256 | baa9b9921b02ce5cbeafd4378025e7216a5713816ec87580b29a1ef7c69f9f9a |
Close
Hashes for pybind11_geobuf-0.1.3-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 480c90bb297dc4c0897a243510fd7ce3a6aa7fd742b4a306a03ceb5de495ee69 |
|
MD5 | eb8d2c031b5fd6e68662040e1c14a682 |
|
BLAKE2b-256 | a8072d81827a241b916e773c7adce5b7bd1b3b4578d457066c9109a52d5bf1f4 |
Close
Hashes for pybind11_geobuf-0.1.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01d0790bc71524acc00a4be74d46f02a1aad21a5a2ed97cbb38c8ea2ffb609b9 |
|
MD5 | fe4c53286a45d41765a882fdf4ed0020 |
|
BLAKE2b-256 | fa16867c3d8f79f32d231f7102afb159ac82685ca94bc1ded56ad74dd7d09432 |
Close
Hashes for pybind11_geobuf-0.1.3-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d593383c749f8648b42064b88818ee1b0e1570a036d2cda69b8859735ccb735e |
|
MD5 | a00982640283b34c629c20e2c2911816 |
|
BLAKE2b-256 | 146e19fc12492055e2ce772fa1575272eecade7477f10628498854496b9ada44 |
Close
Hashes for pybind11_geobuf-0.1.3-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfd2b3f28c8e4508d38e41f2684180d3e1cf2e886ae5e76b0f79e369312a9737 |
|
MD5 | 84148c11e1051f55af5857dec5ef5d1a |
|
BLAKE2b-256 | 41398a0e9eb992200af45c7c62f6c99bdd5971b8516766d17bc87749771fceea |
Close
Hashes for pybind11_geobuf-0.1.3-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87a4a9dc84e7eaaa98b5f3bdbe7169486fcd27bc06012abd7cbc2df3222deee5 |
|
MD5 | 1d5c5ed7af4a1574fdcaad47d1bbb0e8 |
|
BLAKE2b-256 | 58c41dde985027244124ebefdd2428b241c7be7ad4228abb4634e7ccc6b226c2 |
Close
Hashes for pybind11_geobuf-0.1.3-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36f6ec2f418c82353e4fea0eff993e74ebb5423562caf080389648c296f134a1 |
|
MD5 | 87dd4cb39523933fd2b28f7357eae7b0 |
|
BLAKE2b-256 | 560477c8f67beff94504c44639126a07d5036d6cf875c297b52b567c9880ab3f |
Close
Hashes for pybind11_geobuf-0.1.3-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e96de2548cb16c422dfef46bc3fc3e218c4d375553090e8a837103fa495abdce |
|
MD5 | ab95f0c119c727757cd7154e15004f49 |
|
BLAKE2b-256 | b89fafbfb6ceec14e31478047fcd9acd1e1c31947e219ec5b94f08ffcbe44cba |
Close
Hashes for pybind11_geobuf-0.1.3-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f82e08fba95b2be8562fbed1a4917cbe18d0ecd7b94363d2ef8ce4233c2ba1e |
|
MD5 | 04d2cff36c5d3803135e3fd356668d3a |
|
BLAKE2b-256 | 96a06ade2c66f35930c6228ffcbccbc1ad2e6cc564758f6d8271052159e99992 |