-
Notifications
You must be signed in to change notification settings - Fork 175
Distributed Files
Bryan Housel edited this page Oct 21, 2025
·
9 revisions
The files under ./dist/json/* are generated:
-
defaults.json- A JSON object containing only the default strings -
resources.json- A JSON object containing only the community resources -
featureCollection.json- A GeoJSON FeatureCollection containing only the custom Features -
completeFeatureCollection.json- A GeoJSON FeatureCollection of all Features, each with available resources included in aresourcesproperty, and all text strings and urls resolved. -
img/*- SVG logos for all the resource types
🧐: "Why use.jsoninstead of.geojsonas the file extension for generated GeoJSON files?"
🤓: "So you canrequireorimportthem as modules into other JavaScript code if you want."
Each file is available in both regular .json or minified .min.json format.
Each JSON file contains a block of metadata like:
"_meta": {
"version": "5.10.0",
"generated": "2025-10-21T22:25:05.696Z",
"url": "https://raw.githubusercontent.com/osmlab/osm-community-index/main/dist/json/resources.json",
"hash": "38571da825ce9e57b9310167375442d8"
}-
version- the semantic version of project when the file was generated -
generated- the date that the file was generated -
url- source url where the file is available -
hash- MD5 hash of the file