Skip to content

Nominatim should suppress nodes/labels in search results #739

Closed

Description

@jeffreyameyer

OHM Nominatim currently returns both boundary relations and boundary relation labels (both are tagged with place=) in its search results, but the labels are redundant and unnecessary in the results.

See here:
Monosnap north carolina | OpenHistoricalMap 2024-04-09 15-18-00

For comparison, here are OSM's results for the same search, even though the label node has a place=state tag.
Monosnap north carolina | OpenStreetMap 2024-04-09 15-21-27

Activity

  1. 1ec5 commented on Apr 9, 2024

    @1ec5
    Member

    As seen in OSM, Nominatim normally merges any node (label or admin_centre) into the boundary relation that contains it. I wonder if this isn’t working correctly because the names differ. I’m hoping we can move away from the practice of stuffing date ranges into name=*. Date glosses can foil name matching, as explained in #407 (comment), and are redundant to iD’s labels, which automatically include the dates: OpenHistoricalMap/iD#184. We just need to get the main website to label dates automatically as well: #431. (I’m unsure if a fix for that particular issue would extend to Nominatim results.)

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

    @1ec5
    Member

    Since this issue was filed, we’ve gotten better at relating place points to boundary relations using the label role. Moreover, administrative areas not tied to populated places, such as U.S. states and counties, no longer have place points at all. As a result, a search for “North Carolina” yields only boundary relations.

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