Skip to content

Nominatim doesn’t index collection relations #452

Closed

Description

@jeffreyameyer

Bug description
What is happening?
No matter what entry is used to search for Hadrian's Wall, (e.g. "Hadrian", "Hadrian's", "Hadrians", "Hadrian's Wall", "Vallum Hadriani", "Адрианов вал") Nominatim returns no results.

image

What should be happening?
I believe any of the search strings above are reasonable entries to search for Hadrian's Wall & should result in the primary collection relation linked above, at a minimum.

Repro Steps
Please provide detailed instructions to reproduce the behavior:

  1. Go to openhistoricalmap.org
  2. Enter any of the suggested search strings above.
  3. Click go
  4. See no results.

This is a followup to #243.

Activity

  1. jeffreyameyer commented on May 16, 2023

    @jeffreyameyer
    MemberAuthor

    @Rub21 @danrademacher - while we're talking about Nominatim... : )

  2. added theissue type on Mar 16, 2025
  3. 1ec5 commented on Jul 15, 2026

    @1ec5
    Member

    This relation is tagged as type=collection, which is unsupported. We could configure Nominatim to import collection relations as multilinestring geometries, but it would be better to retag it as type=multilinestring and add support for multilinestring relations.

  4. changed the title [-]Figure out why Hadrian's Wall isn't showing up in Nominatim results[/-] [+]Nominatim doesn’t index `collection` relations[/+] on Jul 15, 2026
  5. Rub21 commented on Jul 17, 2026

    @Rub21
    Member

    This works now on staging. Our custom Nominatim style (ohm-import.lua) imports collection relations, building the geometry from mixed members (areas, lines or points), as long as the relation has a main tag that Nominatim recognizes , in this case the relation already carries military=cordon.

    https://www.ohmstaging.org/search?query=Vallum+Hadriani&zoom=14&minlon=-3.4916782379150395&minlat=42.590689178315735&maxlon=-3.3569240570068364&maxlat=42.64589203537116#map=9/54.881/-1.269&layers=ON&date=2026-12-30&daterange=1826-01-01,2026-12-31
    Image

  6. Rub21 commented on Jul 20, 2026

    @Rub21
    Member

    Done, deployed in production!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions