-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ca4b38a
commit 1bd767f
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// specify attributes we want in the export | ||
[out:csv('name',::lat,::lon;true;',')]; | ||
|
||
// search for Saint Louis with a specific wikidata id | ||
// avoiding places with the same name | ||
area | ||
["wikidata"="Q38022"] | ||
["name"="Saint Louis"]->.a; | ||
|
||
// filter nodes, ways and relations by attribute and area | ||
nwr["leisure"="park"][name](area.a); | ||
|
||
// calculate centroid of ways and relations | ||
out body center; |