-
Notifications
You must be signed in to change notification settings - Fork 159
Distributed Files
Bryan Housel edited this page May 24, 2024
·
6 revisions
The files under dist/*
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 aresources
property, and all text strings and urls resolved. -
img/*
- SVG logos for all the resource types
🧐: "Why use.json
instead of.geojson
as the file extension for generated GeoJSON files?"
🤓: "So you canrequire
orimport
them 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.7.0",
"generated": "2024-05-24T15:54:28.315Z",
"url": "https://raw.githubusercontent.com/osmlab/osm-community-index/main/dist/resources.json",
"hash": "4700c9ef9021856da926b75a06763e76"
}
-
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