-
Notifications
You must be signed in to change notification settings - Fork 869
Technical Details
Some of the more obscure technical details of the Name Suggestion Index, all gathered in one place.
New versions of the index are generally released every one to three weeks. There is no set schedule, however.
Changes made to the index data will not go live elsewhere (e.g., NSI.guide or OpenStreetMap's iD editor) until the next release is published.
Additional details: #6592, #9963
The NSI provides canonical presets for brands, operators, flags, and transit networks. However, it can only automatically provide one preset per OpenStreetMap object. For flags and transit networks, this is generally a non-issue, but there can be and are cases where an OSM object has both a brand
value and an operator
value that matches presets. In these cases, the brand preset takes priority, and (at least in iD) the potential operator preset is not offered.
Additional details: #9716, #9785
The NSI Collector project is a related but separate project that checks OpenStreetMap and gathers the names of the most common brands, operators, flags, and transit networks globally. These are then merged into the NSI index, at which point maintainers and contributors can work together to take further action with the newly added entries. This may be improving the quality of the entries, or it may be determining that the entry shouldn't be in the NSI for one reason or another.
In the former case, if the name
of the imported entry is changed, a matchNames
Array with the original name of the entry needs to be added to the entry. (See Item Property Reference for instructions.)
In the latter case, maintainers and contributors should take care to either:
- modify the exclude Object in the relevant category file to exclude the entry's name (for generic entities)
- add the entry's name to the
matchNames
Array of another, previously existing entry (for entities that are duplicates)
In each of these three cases, the listed steps are necessary because the build script will re-add the entry otherwise.
Additional details: #9779
Presets for transit stations and stop positions are not available at this time because the NSI is not currently coded to handle the tagging schema used by these objects in OpenStreetMap.
Additional details: #4765
Presets/tag suggestions for entries in the NSI are only available in downstream projects (e.g., OpenStreetMap's iD editor) if the entry has a Wikidata tag (*:wikidata
). Entries without Wikidata tags will still be available for viewing on NSI.guide, but they are not exported in releases.
Additional details: #9002
There is currently no method for automatically syncing the tags for an operator across two or more category files. The operator has to be manually added to all relevant category files, and it is then the responsibility of individual contributors and maintainers to manually sync tags for an operator whenever they are changed in one file.
Additional details: #6143
Contributing to the index
- Feature Files (geofences)
- Using Overpass Turbo
- Config Files
- Property Reference
- Technical Details
Information for developers using the name-suggestion-index in another project.
Information for maintainers, including how to clone and build the project.