for me - the simplest solution for small osm data:
- go https://overpass-turbo.eu/
- Wizard:
-
amenity=fountain in "11e arrondissement de Paris"
-
- Export → GeoJSON or Osm
As I see the Overpass-API is not yet supported:
for an extra large extract - I am using osmium tool with multiple steps.
-
osmium extract --polygon POLYGON-FILE [OPTIONS] OSM-FILE
- extract OSM data with “11e arrondissement de Paris”` polygon
-
osmium tags-filter [OPTIONS ] OSM-FILE FILTER-EXPRESSION …
- filter
amenity=fountain
- filter
OSM tagging:
for a “public” water fountain …
- you have filtered out the ‘access=’ access | Keys | OpenStreetMap Taginfo values.