Questions tagged [overpass-api]
The Overpass API (or OSM3S) is a read-only API that serves up custom selected parts of the OSM map data. It acts as a database over the web: the client sends a query to the API and gets back the data set that corresponds to the query.
426 questions
3 votes
1 answer
122 views
Why do these two overpass queries produce different results?
I have two queries. They return different results. I want to figure out why WAY 1083939899 is ommited from the top, but not the bottom, This query (direct link to overpass with query) lacks this ...
1 vote
1 answer
53 views
Extracting inland islands with Overpass Turbo
I'm trying to extract islands that are not in the ocean (eg. in lakes, rivers, etc) using Overpass Turbo. I've tried this: [out:json][timeout:25]; nwr["place"="island"]["...
0 votes
1 answer
50 views
Overpass query returns unwanted nodes
I try to query all Schools in a specific area. I use this query: [out:xml] [timeout:25]; {{geocodeArea:SomeArea}} -> .area_0; ( nwr["amenity"="school"](area.area_0); ); (._;&...
0 votes
0 answers
53 views
Overpass API - CSV-Output Bounding Box
I have an overpass query that queries municipalities in a specific region. [out:json]; rel["de:amtlicher_gemeindeschluessel"~"01[0-9]{6}"]; out tags bb; The JSON output includes ...
2 votes
1 answer
69 views
Overpass API filter Ways that contain Node
I want to find all ways in a specified search area that contain a specific Node in overpass turbo. To give a precise example, I want to find all place=islet ways in the name=Dalsland region that ...
0 votes
0 answers
36 views
overpass turbo searching within a relation
I am trying to build a query that will search for amenities (like libraries for example) within a congressional district boundary relation in Openstreetmap (https://www.openstreetmap.org/relation/...
2 votes
1 answer
79 views
Retrieving all addresses associated to building of OpenStreetMap
I'm trying to download some buildings from Overpass Turbo. Most of the buildings have a unique address which is tagged on the way of the building, but few of them have multiple addresses as a node (...
1 vote
0 answers
48 views
Example of using statement local in OverpassQL
Wiki says: "The statement local converts the given input into the localized representation of OSM data." But what does "localized representation" mean, and where does it use? ...
0 votes
0 answers
25 views
How can I incorporate tiger:base_name tag into overpass-turbo query?
I want to geocode some addresses and experience problems with the street names, I think. Let's assume I am looking for the following address 1814 STATE HIGHWAY 131, Massena, NY 13662, USA then I am ...
2 votes
0 answers
36 views
Grouping together street segments in Overpass API query
When I execute a query like the following, the streets that I get back are divided into segments. [out:json]; area[name="Terézváros"]; ( way(area)["highway"]; ); out geom; For ...
0 votes
1 answer
70 views
Overpass Turbo : Can we take buildings located within a defined polygon?
Given a closed polygon POLYGON((lon1 lat1, lon2 lat2, ...)), can we take buildings which are located within it. Or can we take buildings based on an area (like district with specific name) in India?
0 votes
0 answers
31 views
Overpass QL: How can an itemised list of tag's 'key' be created?
Overpass QL: How can an itemised list of tags be created? The following routine returns an itemised list, sorted based on the number of items, for the values of one specified tag (railway stations' ...
1 vote
1 answer
64 views
Overpass API `count` evaluator is evaluating to 0 when set is not empty
Here is a relatively simple query that demonstrates the issue I'm having with count: [out:json][timeout:60]; way(50276520)->.bridge; ( way[natural=water](around.bridge:10); way[water](around....
1 vote
0 answers
46 views
Compare two tags value in overpass API
I am looking to check if all nodes of a way are near a gpx track. Therefore, I have valid nodes which is the result of an around query on .item_nodes with the gpx track. And my .item_nodes which are ...
0 votes
0 answers
49 views
Overpass around query on bridge centers
I have a Gpx track and I want to find the bridges it crosses. I have try a simple request with my radius and coords: ( wr["name"]["wikidata"]["man_made"="bridge"...