Although I am a Openstreetmap's regular user for quite some time, I am pretty new to GIS, so I assume this is an easy question: I would like to know how can I extract data (eg: all schools) from OSM within a certain area defined by a polygon (eg: a city boundary or a city's neighbourhood) using QGIS.
I have searched a bit about it and I found out (correct me if I am wrong) that there are different ways to perform queries on OSM, although I don't understand how/when do I have to use each one:
The problem is that as far (or as little) as I know all these methods rely on a square area, and I would like to know how can I do that within two types of polygons:
- A city's boundary (this polygon exists in OSM, since is the one you see when searching for an specific city)
- An arbitrary area, which would require to draw a new polygon using an external software (possibly QGIS? JOSM?).