Skip to content

Latest commit

 

History

History
58 lines (36 loc) · 2.09 KB

README.md

File metadata and controls

58 lines (36 loc) · 2.09 KB

A map of farmer markets

A small visualization of the weekly markets in different cities. Available at: http://wo-ist-markt.de

Data format

  • The market data is stored in GeoJSON format.
  • The opening hours use the OpenStreetMap opening hours format.
  • Opening hours that cannot be expressed in that format can use the opening_hours_unclassified property (in that case, set the opening_hours property to null).

Mandatory information

  • Besides the actual market information map coordinates and zoom level must be provided. These information are being used to set the initial position of the map. They must be part of the city-specific GeoJSON file. Please adapt the format as being used in cities/karlsruhe.json.
  • Further, the data source must be specified so it can be shown in the legend overlay.

Navigation

  • The individual market data for supported cities is displayed when the city name is given in the address bar of the browser.

    Example: http://wo-ist-markt.de/#karlsruhe.

    By default or on error Karlsruhe is rendered.

Supported cities

City name Data source
Karlsruhe City of Karlsruhe
Berlin City of Berlin
Münster City of Münster

Development

Tests can be run using npm:

$ npm install  # Just once after you've cloned the repo

$ npm test     # Whenever you want to run the tests