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
{{ message }}
Repository navigation
Search results should include chronology relations #640
A mapper suggested on OSMUS Slack that the search bar on openhistoricalmap.org should return chronology relations in response to simple queries (as opposed to structured queries). Chronology relations have become prominent within OHM, so a user would expect a way to find them. Currently, you can only access a chronology relation by searching or querying for one of its members, or by querying Overpass.
Chronology relations aren’t strictly geographical constructs, so it might be awkward to integrate them into Nominatim. I assume it would involve indexing the relation by the names and geographies of each of its members. Nominatim can be configured to import arbitrary relation types, but each relation must be processed as either a MultiPolygon or MultiLineString geometry, whereas a chronology relation is more like a GeometryCollection.
Alternatively, the website can supplement Nominatim results based on its own database views. At the point where we parse the responses, we could perhaps preload the feature to get its containing relations. But that could be slow depending on the feature. Or we could add another source that’s based on an Overpass query for chronology relations containing the Nominatim search results.
Chronology relations are now searchable on staging. we use a custom Nominatim style (ohm-import.lua): since a chronology has no main tag, the style gives it historic=chronology.
Activity
Rub21 commentedon Jul 17, 2026
Chronology relations are now searchable on staging. we use a custom Nominatim style (ohm-import.lua): since a chronology has no main tag, the style gives it
historic=chronology.e.g: https://www.ohmstaging.org/search?query=Llano+de+Bureba&zoom=4&minlon=-42.18750000000001&minlat=0.3515602939922709&maxlon=126.56250000000001&maxlat=60.84491057364915#map=14/42.61830/-3.42430&layers=ON&date=2026-12-30&daterange=1826-01-01,2026-12-31
Rub21 commentedon Jul 20, 2026
Done, deployed in production!