Questions tagged [overpass-turbo]

a web-based data filtering tool for OpenStreetMap

Filter by
Sorted by
Tagged with
0 votes
0 answers
6 views

Get all nodes of a route

Given a route on a map, either represented in GeoJSON or other format, how can I get all the OpenStreetMap nodes of that route?
user avatar
0 votes
1 answer
17 views

Overpass API return different results between Overpass Turbo export and wget

I need to get from OSM all all nodes in the bounding box, all ways referring to any of these nodes, all member nodes of these ways whether these are inside the bounding box or not, all relations that ...
user avatar
  • 471
1 vote
0 answers
51 views

Overpass Turbo: how to get public transport routes and stops with stop names?

I am searching metro and tram routes and stops, example Bilbao. With overpass turbo wizard on https://overpass-turbo.eu , I use type=route and route=tram or type=route and route=subway to create /* ...
user avatar
2 votes
2 answers
31 views

Issue with extracting certain OSM features using Overpass Turbo and QGIS

When I extract certain features from OSM using either overpass turbo or QGIS - for example: pubs, the data is either point feature (pub) or polygon (building). Showing the polygons is slightly ...
user avatar
  • 21
1 vote
0 answers
94 views

OSM: Downloading all street names + adress number + coordinates of a city?

For a statistical analysis my company wants me to create an Excel sheet containing every building's adress in a city, like this: City name | area code | street name | house number | longitudinal Coord....
user avatar
0 votes
0 answers
15 views

Using overpass and union statement to retrieve country next to tags

I did this request which is able to provide me all nodes I need: [out:json][timeout:25][bbox:42.410117500000005,2.4872,42.5101175,2.5871999999999997]; ( node[natural=peak](if:t['ele'] > 1400.2);...
user avatar
0 votes
0 answers
16 views

Split Overpass result (QuickOSM) into different layers categorized by tag in QGIS

I am trying to split different content that I download via QuickOSM within one big Overpass Turbo query into different layers in QGIS so that I can edit and style them individually afterwards. I have ...
user avatar
  • 1
2 votes
1 answer
34 views

Overpass API - Exclude ferry routes from bicycle query

I am querying the Overpass API using osmdata in R, searching for all ways where bicycle = yes and would like to exclude ferry routes. Below is my code so far and a picture of the map result. As you ...
user avatar
  • 53
0 votes
0 answers
30 views

Overpass turbo delivers no data and no errors

I am trying to use overpass-turbo.eu to get all relations for public transport in a set bounding box. I used to work with this query: <osm-script output="xml" timeout="25"> ...
user avatar
  • 301
1 vote
0 answers
14 views

Merging queries to return ways/nodes that are within relations matching criteria using Overpass API

Motivation - I am currently processing a number of relations matching criteria and then doing an additional query to get all the ways/nodes within those relations. . Goal - I'm trying to simplify this ...
user avatar
  • 111
0 votes
0 answers
40 views

Excluding nodes in ways that are outside of intended area using Overpass API

The documentation for overpass states Nodes are found if they are properly inside or on the border of the area. Ways are found if at least one point (also points on the segment) is properly inside ...
user avatar
  • 111
0 votes
0 answers
27 views

Get the bounding box of areas in overpass (states)

I want to get the coordinates that limit a state using overpass (OSM) like this: { "type": "way", "id": 24157062, "bounds": { "minlat": 24....
user avatar
-1 votes
2 answers
154 views

Seeking API for Rail-route distance [closed]

I am new to GIS and looking for a way to get rail route distance between a given origin and destination set (available as names, or city center lat-long for widely used city pairs within europe). SO ...
user avatar
1 vote
1 answer
84 views

Extracting skatepark data as JSON file

I am new to QGIS but I need to create a JSON file with skatepark name and lat long. I have tried to use quickOSM plugin for QGIS with the tag leisure=pitch and sport=skateboard but it ends up giving ...
user avatar
  • 21
1 vote
1 answer
79 views

How to deal with DataIncomplete error when accessing overpy query result

Recently I have asked this question, and I got this answer, which was very helpful in identifying lakes using overpass-turbo.eu. Indeed, if I run the query, I get the desired result. An example, where ...
user avatar
  • 250
1 vote
1 answer
30 views

Is it possible to extract amenity shapefiles using a Google API?

Is it possible to extract shapefiles by amenity using a Google API, similar to the way you can extract shapefiles using OpenStreetMaps/Overpass Turbo? I have had some accuracy issues using the OSM ...
user avatar
0 votes
1 answer
31 views

What is a correct overpass-turbo query for “turn:lane=*”,

Tried using the below query. But the result was an empty dataset. Please let me know whether the query I'm using is correct or not */ [out:json][timeout:25]; // gather results ( // query part for: “&...
user avatar
1 vote
0 answers
65 views

Places near which there are no buildings

I want to find all place=village with no buildings near them. Right now the query looks like this: area ["boundary"="administrative"] ["name"="Липецкая область&...
user avatar
0 votes
0 answers
83 views

Filter OpenStreetMap ways by size in Overpass API

I'm trying to get a global railroad shapefile through Overpass API, but since there is too much data to be processed all at once, I was thinking I could grab only the larger railways. Is there a size ...
user avatar
  • 1
0 votes
0 answers
90 views

encoding error: Your input contains only whitespace

I tried to sent request to server Overpass API: req.body()= "(node(51.249, 7.148, 51.251, 7.152);< ;);out meta;"; I got this error: The data included in this document is from www....
user avatar
0 votes
1 answer
36 views

Overpass Turbo parse and static error

I have written the following code filter out some power data in overpass turbo. [out:json][timeout:1000]; //fetch area "Tokyo" to search in {{gecodeArea:Tokyo}}->.searchArea; //gather ...
user avatar
1 vote
0 answers
60 views

Overpass API add a tag to output

can I make a request so that I can customize the output tags. [out:json]; ( area[name="Braunschweig"]; ) ->.a; ( area[postal_code="38114"]; ) ->.b; way(area.a)(...
user avatar
0 votes
0 answers
16 views

How to use if statement to check if a tag is assigned to particular value [duplicate]

I would like to filter out areas in Germany with post code = 14480. I coded the lines posted below but when I run it returns nothing. How can I fix this? Code: [timeout:3600]; area["ISO3166-1&...
user avatar
  • 229
5 votes
1 answer
195 views

What does either of the appreviations b and u refer to

In https://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_API_by_Example there is an example as shown below in the code section. I would like to know what is b u and b.u? Code: [timeout:600]; rel[...
user avatar
  • 229
1 vote
1 answer
83 views

Using if statement with evaluators in Overpass

I am trying to query all the nodes which are in Potsdam city and with postcode 14480. I know that it can be coded as follows: area["ISO3166-1"="DE"][admin_level=2]->.germany;...
user avatar
  • 229
3 votes
1 answer
893 views

How to query relations and visualise it on Overpass turbo

I would like to know the reason the below posted code shows ways and nodes? As shown below, I want to visualise only the relations but when I run the code on overpass turbo, it shows ways and nodes? ...
user avatar
  • 229
0 votes
1 answer
45 views

How to query all branches of a specific bank in a spcific city

I would like to know how to query for an example all the amenities that are named Deutsche bank in a city named Berlin in Germany. Below is my attempt. Furthermore, please let me know the meaning of ...
user avatar
  • 229
0 votes
1 answer
434 views

Extracting only roads through Overpass API query

I am using overpass API and querying the api for ways,as a result it gives points, whereas I need only lines, multiline strings and polygons. But while using the following code, I get a geojson file ...
user avatar
4 votes
2 answers
448 views

Distance between GPS travel route and country border

I have no idea how to, or even is possible in some way, but maybe there is an app, software or someone of you have any idea how to! Please note, that I have no skills in coding or programming. I will ...
user avatar
  • 41
0 votes
1 answer
47 views

Overpass-API request does not get executed completely : particular results lead to mistakes

I have some issues with the following request via overpass-turbo.eu. Only the last expression works. In other words, only the very last expression will be performed and all the others are ignored. [...
user avatar
  • 375
0 votes
0 answers
144 views

Using is_in with area or relation ID in Overpass API

I am trying to find a way to determine the admin_level hierarchy of an area (e.g. island) in Overpass. I understand that I can easily find all sorts for things within the area, but I need to find out ...
user avatar
  • 101
0 votes
0 answers
35 views

Getting back both the map and the data from a request via overpass-turbo.eu

For a little (!) project I need to have the data (in DB) and the maps- this request delivers the Map [timeout:600]; area["ISO3166-1"="BR"]->.brazil; area["ISO3166-1"=&...
user avatar
  • 375
2 votes
1 answer
718 views

Overpass API: Loop through cities and find total length of road centerline per city

I am trying to prepare a Overpass QL such a way that it iterate through a list of City Names and find sum of lengths of all the road centerline features which are falling inside the city ...
user avatar
  • 21
1 vote
0 answers
57 views

Extracting ways from node to node using Overpass QL [closed]

Is there a way to extract ways (basically I need path from node to node in overpass) For example: node(1270323047)->.c; (.c;<;>;)->.d; way.d; would recursively find all relations that ...
user avatar
  • 111
4 votes
3 answers
409 views

How extensive is OSM Sidewalk data?

Pardon the rookie question, but I've been investigating the OSM dataset for sidewalk data. I've been looking to use the OSM sidewalk tag dataset to determine accessibility maps (i.e. which areas are ...
user avatar
  • 151
0 votes
1 answer
189 views

Overpass not returning data within my given bounding box

I have been using this endpoint to query data from the highway tags. But I am receiving data way outside the bbox? Is there something wrong with my query? http://overpass-api.de/api/interpreter?data=(...
user avatar
0 votes
0 answers
270 views

How should I filter the data that I got from overpass-api-interpretor to look like data from overpass turbo?

I just started using Overpass Api yesterday. I am querying data from overpass-api with this method. var OVERPASS_API_ENDPOINT = 'https://overpass-api.de/api/interpreter', OVERPASS_API_REQUEST =...
user avatar
2 votes
2 answers
178 views

There are some OpenStreetMap data that doesn't show when I query it with Overpass. Why does this happen?

So I noticed when I wrote this call https://api.openstreetmap.org/api/0.6/map?bbox=-118.652199,34.210391,-118.641990,34.214548&page=0&traffic_sign I get a lot of data and some of them are ...
user avatar
0 votes
1 answer
402 views

What is the correct way to query for traffic_signs in Overpass in an area?

I am new to all this stuff. I currently want to get all the traffic signs in an area. I am running this query in overpass turbo, but nothing is returning back to me. /* This is an example Overpass ...
user avatar
1 vote
1 answer
337 views

Look for all `highway` type `way` in certain area, using the overpass-api directly (not overpass turbo) or osmosis

I need all highway type way in certain area, I found this query the result I want, but using overpass-turbo (I would like to use only overpass-api or even better only osmosis): <osm-script output=&...
user avatar
  • 141
0 votes
1 answer
241 views

Aggregate number of features by country in Overpass

Does Overpass (or Overpass Turbo) provide a mechanism for query like “show me the number of nodes tagged foo=bar by country”? Output being something like this: Country Count Estonia 5 Latvia ...
user avatar
2 votes
1 answer
610 views

How to most consistently get all bus stops from Overpass?

I'm using overpass (the python wrapper overpy) to get bus stops in an arbitrary bounding box (i.e., any city) in Europe, and I was wondering which tags I can most consistently expect to be present - i....
user avatar
  • 209
1 vote
0 answers
89 views

How do I search all primary, secondary, and tertiary street intersections via Overpass?

I'm trying to identify the coordinates of all of the intersections where a primary, secondary, or tertiary highway meets another primary, secondary, or tertiary highway. I searched in the API docs ...
user avatar
  • 121
0 votes
0 answers
117 views

How to use output of Overpass API

I have extracted way data for Railways over one country with [out:json], now how can I use this data to get all ways on google earth or QGIS? I am very new to this. ( area["ISO3166-1:alpha2"="PK"];) -...
user avatar
2 votes
2 answers
539 views

Overpass Turbo: query for administrative level results in empty dataset

If I look up a city on openstreetmap, I can see it has an administrative level of 10. For example: https://www.openstreetmap.org/relation/162798 Subsequently, I run a query in Overpass Turbo to ...
user avatar
  • 23
1 vote
1 answer
231 views

Overpass API: Query points not inside polygons

I need to query the Overpass API for some data that comes down to the question: Give the set of nodes that is not contained (in spatial terms) in a set of areas (given by closed ways). I looked ...
user avatar
  • 113
1 vote
1 answer
45 views

Query to find road paths of area [closed]

I am trying to find road information of COLAC region.My query is not working. area[name="COLAC]; way(area)[highway=living_street]->.streets; ( way(around.streets:150); node(around.streets:150);...
user avatar
0 votes
0 answers
55 views

How to retrieve oneway taxiways from Overpas API?

I have was able to make a query to http://overpass-turbo.eu/ where I request the taxiways of a specific airport like this: [out:xml]/*fixed by auto repair*/[timeout:25]; // fetch area “airport” to ...
user avatar
2 votes
1 answer
405 views

How to save overpy query to .osm?

I am using overpy to collect data information about taxiways, taxilanes and parking positions of an airport (icao code LOWW). I was able to achieve my goal I wrote the following lines of code: import ...
user avatar
0 votes
1 answer
420 views

Getting specific airport information with Overpass API

Hello I am new to OpenStreatMap and Overpass API. I would like to make a query in such a way that I can specify an airport name (for example: wien flughafen austria or the ICAO code) and get nodes, ...
user avatar