Advertisement
Guest User

Place_of_worship

a guest
Dec 29th, 2014
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. [out:json][timeout:250];
  2. // fetch area “Bavaria” to search in
  3. {{geocodeArea:Bavaria}}->.searchArea;
  4. // gather results
  5. (
  6. // query part for: “amenity=place_of_worship”
  7. node["amenity"="place_of_worship"](area.searchArea);
  8. way["amenity"="place_of_worship"](area.searchArea);
  9. relation["amenity"="place_of_worship"](area.searchArea);
  10. );
  11. // print results
  12. out center qt;
  13.  
  14. {{style:
  15.  
  16. node, way, relation
  17. { color:gray; fill-color:gray; symbol-size:10 }
  18.  
  19. node[religion=christian],
  20. way[religion=christian],
  21. relation[religion=christian]
  22. { color:blue; fill-color:blue; }
  23.  
  24. node[religion=muslim],
  25. way[religion=muslim],
  26. relation[religion=muslim]
  27. { color:red; fill-color:red; }
  28.  
  29. node[religion=jewish],
  30. way[religion=jewish],
  31. relation[religion=jewish]
  32. { color:green; fill-color:green; }
  33. }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement