Skip to content

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

github.com/KotobaMedia
1 pointsleepy_keita1 comment
On HN

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/

Comments

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

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.