Skip to content

Latest commit

 

History

History
 
 

preprocessing

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Preprocessing

This folder contains raw market data as published by cities and scripts to convert it into GeoJSON format.

Usage example (Berlin)

  1. Download the latest raw market data and put in into the raw folder as markets-berlin.json.

  2. 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.

  3. 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 02.02.2016",
            "url": "http://daten.berlin.de/datensaetze/wochen-und-tr%C3%B6delm%C3%A4rkte"
        },
        "map_initialization": {
            "coordinates": [
                13.383333,
                52.516667
            ],
            "zoom_level": 11
        }
    },