systemed / tilemaker

Make OpenStreetMap vector tiles without the stack
https://tilemaker.org/
Other
1.42k stars 228 forks source link

use vtzero instead of libprotobuf #624

Closed cldellow closed 7 months ago

cldellow commented 7 months ago

Replaced by #625

This is meant to be merged after https://github.com/systemed/tilemaker/pull/604. Until then, you can see the vtzero-specific diffs here: https://github.com/cldellow/tilemaker/compare/lua-interop...cldellow:vtzero?expand=1 (I can rebase this against something other than lua-interop, if needed.)

Switch from libprotobuf to vtzero, and fix a few places where we copied the geometries during writing.

vs lua-interop branch, this branch is about 7% faster to process GB: 1m43s vs 1m51s

I don't use --merge, so my testing of the --merge mode was somewhat artificial. I built an mbtiles, then built it again with --merge and checked that features seemed duplicated.

cldellow commented 7 months ago

Bah, git isn't very happy about merging master's squash commits. I'm going to re-open this against master with the relevant commits cherry-picked.