Distributed Files - osmlab/name-suggestion-index GitHub Wiki

File List

The files under dist/* are generated:

  • json/* - Most json files are under here
    • nsi.json - The complete index
    • featureCollection.json - A GeoJSON FeatureCollection containing all the custom features (geofences)
    • taginfo.json - List of all tags this project supports (see: https://taginfo.openstreetmap.org/)
    • genericWords.json - Regular expressions to match generic names (e.g. "store", "noname")
    • matchGroups.json - Groups of OpenStreetMap tags that are considered equivalent for purposes of matching
    • replacements.json - Mapping of old Wikidata QIDs to replacement new Wikidata/Wikipedia values
    • trees.json - Metadata about subtrees supported in this project
    • filtered/* - Subsets of collected tags that our scripts are keeping or discarding
  • wikidata/* - files generated by the Wikidata sync script:
    • dissolved.json - List of items that we believe may be dissolved based on Wikidata claims
    • wikidata.json - Cached data retrieved from Wikidata (names, social accounts, logos)
    • warnings.json - Warnings generated by the script, often brands that are no longer existing or missing from social media.
  • presets/* - Preset files generated for OSM editors
    • nsi-id-presets.json - Presets in iD format
    • nsi-josm-presets.xml - Presets in JOSM format

Each file is available in both regular .json or minified .min.json format.

Metadata

Each JSON file begins with a block of metadata:

  "_meta": {
    "version": "7.0.20251101",
    "generated": "2025-11-01T13:10:56.515Z",
    "url": "https://cdn.jsdelivr.net/npm/[email protected]/dist/json/featureCollection.json",
    "hash": "cc60ec553b25c97f8eb7c80b8fa7a88e"
  },
  …
  • version - the semantic version of project when the file was generated: major.minor.patch where patch is the date in yyyymmdd format
  • generated - the date that the file was generated
  • url - source url where the file is available
  • hash - MD5 hash of the file contents + version