EqualStreetNames / equalstreetnames-munich

🇩🇪 Munich data (sub-module) for EqualStreetNames project

Home Page:https://munich.equalstreetnames.eu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Equalstreetnames Munich

Based on Equalstreetnames of OpenKnowledge Belgium

Laim Workflow

We decided to do one part of the city first: Laim, which has Wikidata ID Q259879 . Go to [http://overpass-turbo.eu/#] and execute this query:

[out:json][timeout:300];
( area["wikidata"="Q259879"]; )->.a;
(
	way["highway"]["name"]["highway"!="bus_stop"]["highway"!="proposed"]["highway"!="service"]["highway"!="platform"](area.a);
	way["place"="square"]["name"](area.a);
);
out body;
>;
out skel qt;

Download with "export as geojson" to data/ways.geojson. Now you can

# generate an alphabetical list of streets
cat data/ways.geojson | jq '.features[].properties.name' | sort  -u > streetlist_laim
# get next 10 entries. Say you already did all from Z to K.
grep -B10 "Käthe-Bauer-Weg" data/streetlist_laim

We decide to tag "Kärntner Platz". We have the etymology infos in muenchenwiki https://www.muenchenwiki.de/wiki/K%C3%A4rntner_Platz . I think that there is a more authoritative source, but this one is quite convenient. We are quite lucky to have this.

Now you will either find a Wikipedia entry (case A), or not (case B). In both cases:

# Extract the OSM IDs of the street
STREET="Kärntner Platz"
cat data/ways.geojson | jq --arg street "$STREET" '.features[] | select(.properties.name==$street) | .id' 
# 158803943

For this street, we find one id. For Landsberger Straße in Laim, it is 90 IDs. In OpenStreetMap, find the Line with this ID.

Case A: This one is in Wikipedia. Go to the article, from there in the left hand side menu to the Wikidata object. Note Q37985. In OpenStreetMap, add a property name:etymology:wikidata with this value. Upload. Later this tag will be used to pull the information into the map.

Case B: For "Käpflstraße", there is no Wikipedia article. There is no gender, and two OSM IDs. Add these lines to config.php:

            '5080996' => '_', // Käpflstraße: nach der Münchner Kaufmannsfamilie Käpfl.
            '420012960' => '_', // Käpflstraße: nach der Münchner Kaufmannsfamilie Käpfl.

About

🇩🇪 Munich data (sub-module) for EqualStreetNames project

https://munich.equalstreetnames.eu


Languages

Language:PHP 73.3%Language:HTML 19.8%Language:Python 4.1%Language:Shell 2.8%