This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Calculate the number of place_of_worship in a specific county / city

0

The Overpass Api never worked for me, it only gives me a file called interpret, without an extension . that i do not know how to process and load in Qgis or JOSM

Or another alternative would be to filter from the database extract of a country, but i do not know how to filter only a specific county in QGIS from a planet of country file

asked 24 Aug '13, 09:45

Badita%20Florin's gravatar image

Badita Florin
1128913
accept rate: 0%

2

Your question title does not bear much relation to the text underneath. Perhaps you would consider explicitly stating what you want to do, and move things like "Overpass API not working for you" somewhere else (preferably by deletion).

Try something like, I would like to determine the number of places of worship in a given regions (city, or country) contained in an OSM extract. The tools which I am familiar with are JOSM and QGIS.

(24 Aug '13, 12:00) SK53 ♦

One Answer:

4

This overpass-turbo query gives for Wien (Vienna):

110 nodes, 245 ways, 5 relations

that have amenity=place_of_worship set. Or for Roma: 200 nodes, 526 ways, 33 relations. Or for Austria: 2800 nodes, 4663 ways, 21 relations.

answered 24 Aug '13, 18:38

_al's gravatar image

_al
86021018
accept rate: 4%

2
(25 Aug '13, 18:21) stephan75

Source code available on GitHub .