FS Florian Schweikert
← Projects
2016 leaflet openstreetmap django geodjango

Ausgsteckt

Ausgsteckt

Introduction

On day trips the question kept coming up: is there a wine tavern nearby, and if so, is it actually open ("ausgesteckt")?

That question turned into a Leaflet map. The backend is built with (Geo)Django and a PostGIS database. An HStore field holds the tags of the imported items. OpenStreetMap, queried through the Overpass API, is the data source.

    area["name"="Österreich"]->.boundaryarea;
    (
        node(area.boundaryarea)["cuisine"~"buschenschank"];
        way(area.boundaryarea)["cuisine"~"buschenschank"];
        relation(area.boundaryarea)["cuisine"~"buschenschank"];
        node(area.boundaryarea)["cuisine"~"heuriger"];
        way(area.boundaryarea)["cuisine"~"heuriger"];
        relation(area.boundaryarea)["cuisine"~"heuriger"];
    );
    out center meta;
  

Municipality shapes come from OpenGovData.

To get a sense of the imported data's quality, I built a small FixmeView showing how complete the base data is.
A minimal link checker runs every night to verify the tagged websites, with the results available as a list.