This folder contains raw market data as published by cities and scripts to convert it into GeoJSON format.
-
Download the latest raw market data and put in into the raw folder as markets-berlin.json.
-
In order to produce a minimum diff of the JSON file when committing it to Git do manually reformat the downloaded file using the Pretty JSON plugin for Sublime Text. Choose the Pretty JSON: Format and sort JSON option.
-
Convert the raw market data by running the following command from the project root folder:
$ preprocessing/berlin/compile-berlin-geojson.js
This will overwrite an existing file in cities/berlin.json.
-
Manually add the
metadata
block to this file afterwards!"metadata": { "data_source": { "title": "Daten von der Stadt Berlin, CC BY 3.0 DE, aktualisiert am 12.01.2018", "url": "https://daten.berlin.de/datensaetze/wochen-und-tr%C3%B6delm%C3%A4rkte-0" } },