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.6.tar.gz
(3.3 MB
view hashes)
Built Distributions
Close
Hashes for pybind11_geobuf-0.1.6-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1ac85ec9426c52071cb94a76897195c93c3dabf518eb4fc22efaae8f0acc3ea |
|
MD5 | 20b3c9eb8b3abde9fe77daa4f6790e14 |
|
BLAKE2b-256 | a9b08adc359aac5cd026278ee690c732a4c5fc02afa541421948043a7746ad25 |
Close
Hashes for pybind11_geobuf-0.1.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a877beed88bebaf92d53fdeb8056eaf908888cade470807dd7a1c1a78c2e031 |
|
MD5 | f671a80110fee8f755f91c4f2caa07dc |
|
BLAKE2b-256 | 9634308abb0f9cb5ea6a95657e8e9db4c024586f5a2e77449d6ad373f4a2c383 |
Close
Hashes for pybind11_geobuf-0.1.6-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82f50d2dde8a9d4476c751d6b84b6a792d3a3316ccc00c1257a86b8a180b6eaa |
|
MD5 | 86ae96321cc4a6f157a43931785eadb0 |
|
BLAKE2b-256 | 42b142fcffa359d42cb268da6b8f4a7ca2ea323682c7a68551b3815ebcef982d |
Close
Hashes for pybind11_geobuf-0.1.6-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3795bfa971070136d0a96bb0e0177551612073ebf40234bfabf7f68a59cbee1e |
|
MD5 | ee20e60a8becc7fe89c7cac7a9f9c5c8 |
|
BLAKE2b-256 | 212667bbfe64e7f75335bef3f716f098d1a87a0723054eb3b7d7a9306a723878 |
Close
Hashes for pybind11_geobuf-0.1.6-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87af22e3348f6601226a4321e84c04fbd460cdbf961e19c3a56b3a1c069a9af0 |
|
MD5 | e150dfe140cdfed502c7727bf780cc89 |
|
BLAKE2b-256 | 2a99ee117f86b5facbee04820424fa502a391e1cc722d80e97d0f5dbfa966b8c |
Close
Hashes for pybind11_geobuf-0.1.6-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15fcd2ab489d5573c68fd0119ad1a6cce94b31db77c194e0c980406677278a3b |
|
MD5 | 3b64a0fc9d77fb6d1eb1d1a40a70cfc5 |
|
BLAKE2b-256 | 0005c3b6f39e8d1a0ee6bfee175875bf802e28fb05690cd7320c5ef87161b34e |
Close
Hashes for pybind11_geobuf-0.1.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2710f47c388c95ac1db6a16c5860f6b048aa1a84260e4d4d5534222e397217de |
|
MD5 | be95f87392c40681ede6bb1dac204d4f |
|
BLAKE2b-256 | 604588ee159bb6bc87a70766b0e8cc103a12bc231cf9fc9cbcf639e43b7f174c |
Close
Hashes for pybind11_geobuf-0.1.6-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76d495cca90d56ecdef61696e5d6f0023225e2fe3e12c0149f9ca7736c35222a |
|
MD5 | 1e62e59976399a506bc29ac3162f5459 |
|
BLAKE2b-256 | 38724c4fd7a6c1df6e08001f75e341911310012732d4cc996d4449161cc1e9c9 |
Close
Hashes for pybind11_geobuf-0.1.6-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 015978630078da684eff498c3d0ebfa4ed3ba3cc622c19142d0923e1975825c4 |
|
MD5 | 00c65747f51d8165ddec80505a4b3f8b |
|
BLAKE2b-256 | 47ee9a58faa89807a0d5d644acd84fc7efd13bc40d37be0a444bb68c5a1c7ee3 |
Close
Hashes for pybind11_geobuf-0.1.6-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdc2f87b33030dd86af31ca724173031b5699650a9a456fbc00f4d86a827780c |
|
MD5 | cdf4f0d47c7fe8ec7651fe5afd476c89 |
|
BLAKE2b-256 | fbaf1aae39dd9d5c0f3be0077f8c8f91c6a61e7cffa8a0224502358cf471f234 |
Close
Hashes for pybind11_geobuf-0.1.6-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39e17b4994c3b17527143a0061f92bf9c94dd4f0e68a78936f512e8c7c106e6f |
|
MD5 | c0318fa18540d1d89c9aa958b637cac6 |
|
BLAKE2b-256 | 6f928f31e247befede3036bb1bd7afb1eaf66162fda6a06a7681a65a33f4ff17 |
Close
Hashes for pybind11_geobuf-0.1.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8d08372d13cebbaf1bf0db655b405e63f43c29f7a4a36be776f7ec03c1b4a9f |
|
MD5 | 51bc1bbe4d01a53178ef70202b65aee1 |
|
BLAKE2b-256 | 3191a22255ecab0b8f21cceabd1c8112b14569eadf3484d0efb7371d0960ee37 |
Close
Hashes for pybind11_geobuf-0.1.6-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b331e23252ab409dbf1d03e65e799aed265b34e8137fd0667b6d63e2010c7372 |
|
MD5 | 17991a43b1357db492e8c2a16175848a |
|
BLAKE2b-256 | c93725cf56b50dd5a6c2328621181ab7b4064f5259b3cdb638f8fede34f14d1e |
Close
Hashes for pybind11_geobuf-0.1.6-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a94f0e01f88c69dd5d602ca8556af4d7665dc2a42f1e37540d077e23408fd3b7 |
|
MD5 | 379eb4c3ba62688acb8244e6e043b0ae |
|
BLAKE2b-256 | 2c7dcb4fcd1dae20ddd0057e83e11e838f133e68264948954080a73c761889d9 |
Close
Hashes for pybind11_geobuf-0.1.6-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f82f3acd81dc9b7ee4af29945c10101c79330bd8d8a2b67272fcc6727c27ad72 |
|
MD5 | 75d5fbc8321f9d12566b5f9c493aa68c |
|
BLAKE2b-256 | abdf757d27892af5deca8288be9d02edaf47d72a989859a70afbe55d65a6dec1 |
Close
Hashes for pybind11_geobuf-0.1.6-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ec5608592a50258129fc1956640c035aa3b1f6a1aa27f58ff8004e452c22dff |
|
MD5 | 9341b5db502c65e95b81c6d83c3192c7 |
|
BLAKE2b-256 | 4f863937605ce0376e5e5f9040ec13029b5de5129fe94606c9e1f368eeb4bcfe |
Close
Hashes for pybind11_geobuf-0.1.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb55ec344f923e227ba1d96e5e5b1274a6aed8877722f72a0d158e7c1f5ba28c |
|
MD5 | 2db27ffa3f1549fad37af45acff57e7c |
|
BLAKE2b-256 | ccc4de4e2dc884640394af7af45d1076d9df88949c1cb24582bd3ad4eb87dce1 |
Close
Hashes for pybind11_geobuf-0.1.6-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0b1dfeb30a9faf2a288a9dbb6a144db0319f1a6fff8cc210ae3fadcc7bdcd04 |
|
MD5 | 337bc44334bb552a2f6a2a15fc06c816 |
|
BLAKE2b-256 | 6ae5820772bf3ed56f1007147e8e4017476123c0f5bc3b8d28c76c4280b5cecb |
Close
Hashes for pybind11_geobuf-0.1.6-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d9e95b9564d5440f7aea6c9edb6b18076690148f85a59c3bd2a736547daa4e1 |
|
MD5 | b8bd7140054686d39d3057a59ce279fa |
|
BLAKE2b-256 | 263e3b1a04b862074ba88a5af1d6cf9bf3f5f59c81ea1130728ebff2a041e9c4 |
Close
Hashes for pybind11_geobuf-0.1.6-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41984f52d99befb5f5386b6f0d62077232b2aeb500b6d6eebe61df1731e69375 |
|
MD5 | 83cd8a45cddd6687846dbeb02fda9faa |
|
BLAKE2b-256 | 56c2ffe9e9840d049872401465aaadae7e8771d9e43a4cea2fd3e79e7dfc7b43 |
Close
Hashes for pybind11_geobuf-0.1.6-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97e3c3b3a9d291bf429f90641bb2414c842cc7aa8f342d5ef9212d754b5f217a |
|
MD5 | a2b6be5f55ce51f7b28aa63a956b54d0 |
|
BLAKE2b-256 | a8e5d1cae6eb001be0ef229489ae1d2bfdede6bd722fff2d2c315184f59fe060 |
Close
Hashes for pybind11_geobuf-0.1.6-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 069e6d63a0c4c4bc950c239e709791ff9a1bea8607242183b29eaed5833e308c |
|
MD5 | 38800a7236966d617bd777e18312d9d7 |
|
BLAKE2b-256 | 103419be73931062d12d1e6b2dd24736b97711f56f565df7cd49f841958947b7 |
Close
Hashes for pybind11_geobuf-0.1.6-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18fe63d68d00f948cc54c948490d9c5593ed24d17a9897093bdb76c41f04dcbd |
|
MD5 | 69c81d7b02d3d0cc3cde603da86c2083 |
|
BLAKE2b-256 | 0d1d4871ba702469eda84eb0b10ebb2cec36d6f54fb717de49b677c383ef6312 |
Close
Hashes for pybind11_geobuf-0.1.6-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba3a69f26331aa8ce459c0193a4bf51ec02637c0e8f44091cd2ee9ac25541c5a |
|
MD5 | bb739eb94e3637b9bbd8a7b803d184a2 |
|
BLAKE2b-256 | 18e5b077cd4c928423166718864aabb28f20226727646883291ce930f905e58d |
Close
Hashes for pybind11_geobuf-0.1.6-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 712eb57c13ea68110e67d626635a688f4d4604bbb15c401ef19b2f9ba63e9839 |
|
MD5 | 9e642947b5e1dc86b67e8e75340097e2 |
|
BLAKE2b-256 | 7740941cd8f9ce9dffab7ab7b2f66ea44106b636b5a7fbb54162aff864da368d |
Close
Hashes for pybind11_geobuf-0.1.6-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3ead12012b57d8aea6fbe6aa2652781accada1c1d639d8b63a4f46cd544011e |
|
MD5 | f1aad537c507dd470dcd55c67d9bc4bd |
|
BLAKE2b-256 | e59a0537784df74920bbe249ebd691408e64d2005e4783e3485879708d0711d8 |
Close
Hashes for pybind11_geobuf-0.1.6-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd9ddc7b8b43f736a757ca822f2c69af1e433d467b5d6485e950269e8452a27b |
|
MD5 | e8d0922735ff1aa414abc68a272bf150 |
|
BLAKE2b-256 | f15bcecd1e35b6f6b84716291abed90db19b8caf31b8ecd2d626f48206039984 |
Close
Hashes for pybind11_geobuf-0.1.6-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96312c5aee86e41a1b46bfab2c560f419fb80d483d37b8d912580c0f90823c14 |
|
MD5 | 33aa1b922e9b31015acbcda5f832c275 |
|
BLAKE2b-256 | 1909c06156655148ab85f2eb17db553608b927f7b2f8049cb6e344d0ed6ad727 |