You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Developers frequently request country boundaries as polygons in order to either color-code countries (#700) or dynamically highlight individual countries (for example, on hover). For #701, we eliminated boundary polygons from the vector tiles in favor of much more efficient boundary edges as linear features, so there’s no longer enough information to piece together the shape of an administrative area. A comprehensive layer of countries as polygons would be far too big for GeoJSON, so developers would need it in vector tile format.
We could publish a tileset separate from the main one that contains just boundary polygons and doesn’t perform any coalescing by date. The core styles wouldn’t use this tileset at all, but developers could choose to include it alongside the main tileset. To avoid unreasonable download sizes, rendering times, and memory usage, we could limit the tileset to low admin_level=* relations, limit the available zoom levels, and simplify the geometries heavily at low zoom levels. The boundary tileset wouldn’t need to update as frequently as the main tileset. It also would not suggest a color for each boundary, as that would require generalizing the four-color theorem.
In principle, a third-party could provide this tileset instead of producing it from the official OHM infrastructure. For example, someone could generate the tileset using Planetiler, since it doesn’t necessarily require incremental minutely updates.
It would be great if a third party could generate these tiles, but we could also produce them directly from our Tiler since it only requires adding a new provider—something like ohm_boundaries. Currently, we already have three providers: OSM Land ( osm_land ), Natural Earth (ne) , and OHM ( osm). As for cache cleanup, we could run it every 24 hours or set other interval or include in our current minute cache cleaning.
Activity
Rub21 commentedon Jul 15, 2025
It would be great if a third party could generate these tiles, but we could also produce them directly from our Tiler since it only requires adding a new provider—something like ohm_boundaries. Currently, we already have three providers: OSM Land (
osm_land), Natural Earth (ne) , and OHM (osm). As for cache cleanup, we could run it every 24 hours or set other interval or include in our current minute cache cleaning.https://vtiles.openhistoricalmap.org/
Rub21 commentedon Aug 14, 2025
I have added the provider for OHM admin boundaries, currently deployed it in staging.

Rub21 commentedon Aug 20, 2025
Task completed!