Skip to content

name-suggestion-index should be time-aware #446

Description

@1ec5

OHM’s fork of iD currently uses the mainline name-suggestion-index for brands and operators. This is fine in general, but OHM has some needs beyond OSM, for example:

  • Defunct brands that NSI considers “dissolved”, such as Blockbuster Video
  • Historical brands that NSI has never known about, such as the Burger Chef restaurant chain and (I kid you not) the McKids clothing store chain
  • Renamed brands, such as Domino’s (formerly Domino’s Pizza) and 76 (formerly Union 76); some chains have joined and left the Big Boy franchise over the years
  • A validator warning when a feature is tagged as belonging to a brand but existing before the brand came into existence or after it went out of business

In principle, each NSI entry should have properties indicating its start and end dates, and separate entries would represent older versions of a brand. However, this could be quite a bit of extra complexity for the main NSI project. Forking would come with its own extra overhead; NSI changes almost every day and most of the changes would reasonably apply to OHM. Maybe an OHM project could extend NSI with what it needs but still consume the main project?

/cc @bhousel @tas50

Activity

  1. Dimitar5555 commented on Jan 6, 2023

    @Dimitar5555

    I don't think that we even need to fork NSI. We can just create a historical NSI repo where we store only historical data and reuse NSI's build script to compile our data. Then iD could (in theory) merge the historical NSI and current NSI during runtime.

    NSI could add start_date to the meta tags of brands (and end_date won't be needed since these entries can be moved to the historical NSI where the end dates can be stored). In case NSI maintainers are not ok with having start and end dates, we can create our own list for it. Something like this:

    [
        "branda-dsdsc": {"start_date": "2000", "end_date: "2011-05"},
        "brandb-ljhjkkj": {"start_date": "2010-12-15", "end_date: "2015-06"}
    ]
    
  2. added theissue type on Mar 16, 2025
  3. removed their assignment
    on Nov 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions