from Hacker News

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

by sleepy_keita on 5/26/25, 2:58 AM with 1 comments

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/

  • by biker142541 on 5/28/25, 11:14 PM

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