Settings

Theme

Show HN: A tool to post-process MVT vector tiles quickly

github.com

1 points by sleepy_keita 7 months ago · 1 comment · 1 min read

Reader

I'm a big fan of Protomaps' OSM vector tiles [0], but I wanted to tweak them just a bit (removing features and tags based on some conditions). Instead of regenerating the tiles from scratch using Planetiler, I made a tool that takes an input PMTiles archive and a filter GeoJSON, and spits out the filtered tiles. Filtering is performed by a mapbox/maplibre style spec-inspired filter language in the properties of each GeoJSON feature, so you can apply different rules for different regions.

Eventually, I'll probably add some features like adding new features, but for now, this is good for 90% of what I need the tiles to do.

[0] https://protomaps.com/

biker142541 7 months ago

Curious if you’ve tried against planet size pmtiles and the time it took, vs planetiler generation.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection