Questions tagged [overpass-turbo]
a web-based data filtering tool for OpenStreetMap
120
questions
1
vote
1
answer
42
views
Export just the route within bbox from Overpass Turbo, not the tags / way points?
I'd like to
export just the route from an Overpass Turbo query as GeoJson, and
ideally just within a specified radius of a set of coordinates.
I have the query below, but this exports tags / ...
1
vote
0
answers
28
views
Filtering augmented diffs by type of tag change
I want to find all deletions of a certain tag. I'm trying to do this:
[timeout:500][adiff:"2023-09-15T00:00:00Z","2023-09-18T00:00:00Z"];
node["name:ru"]({{bbox}});
(._;&...
0
votes
1
answer
49
views
Using Overpass Turbo output as GeoJSON input to leaflet.js [closed]
I'm trying to get GeoJSON using Overpass Turbo for a number of roads within a certain area. The input to Overpass below produces a map with the selected roads highlighted and what looks like JSON, ...
0
votes
0
answers
14
views
Empty data set when querying all streets in different districts with OverpassTurbo
I would like to query all roads in different level 5 boundaries. I query with the relation nodes, because the spelling of the district names is not consistent. I get an empty record back every time. I ...
0
votes
0
answers
20
views
Select nodes with specific attribute from a relation
I am trying to build subway maps using overpass-turbo and output in JSON. I only want the routes (ways) and the stations (nodes) for each network. This is what I have so far:
[out:json];
(
relation[&...
1
vote
0
answers
33
views
How to query all the publicly accessible footways using Overpass API?
I'm working on an app which helps you meet other people. This app averages position between 2 people and then at that point in radius of 200 meters tries to find all cafes. But as a fallback if cafe ...
0
votes
0
answers
10
views
How to exclude "self" in Overpass queries? (when trying to find set of multiple same thing)
For example, I want to find all sets of "3 wind turbines within 500 meters of each other in Kanasa". The non-working snippet is:
[out:json][timeout:60];
(
area["name:en"="...
0
votes
1
answer
14
views
Getting a multipolygon from Overpass as a way
There's this Multipolygon that exists and I want to get the land area it covers so I can calculate surface area.
https://www.openstreetmap.org/relation/12620768#map=18/42.34277/-71.12306
I have my ...
1
vote
1
answer
37
views
Ways with certain number of Nodes
Need an overpass-turbo query to highlight on a map [highways] in a certain city with a certain number of nodes. Tried something like
[out:json];
area[name="New York City"]->.ny;
way(area....
0
votes
0
answers
29
views
Get polyline of a street from geometry data of overpass
I have a list of street through Overpass with geometry. But I want to get a list of non-duplicate street with full coordinates, so what you need to do is merge the coordinate data into one seamless ...
2
votes
1
answer
33
views
Is it possible in Overpass to filter out the points that are in the nth position in the line?
I want to find all fixme=continue that are neither the last nor the first point of the line. Is it possible to filter in Overpass by position number in the list of line points?
1
vote
2
answers
55
views
Problem calling Overpass API with convert statement
I try to make an Overpass API call with restricted number of tags, to achieve this I incorporated convert statement. Here is working overpass turbo example of query for data I would like to fetch:
[...
0
votes
1
answer
87
views
Village not found when typing its name in search bar
When I visit the site https://overpass-turbo.eu/, I write the name of my village, Tomba Kanssa, in the search bar on on the top right corner.
But the result doesn't show it rendered unless I snapshot ...
1
vote
1
answer
41
views
Find all areas accessible to pedestrians with overpass
I'm trying to find all areas in London that are accessible by foot. I'm using overpass.
To be more precise, I would like to find all areas that are accessible by foot, except the roads where cars can ...
0
votes
1
answer
80
views
Displaying outline of municipalities where wind turbines are located
With this query, I get the outline of the department of Yonne in France and the points representing the wind turbines.
I would also like to obtain the outline of the municipalities where the wind ...
2
votes
0
answers
110
views
How receive one-piece polygon from OSM Relation with overpass API
How I can receive Polygon one-piece from OSM using Overpass API. When I used simple query like a:
[out:json];
rel['ISO3166-1'='PL'];
out geom;
I got on map polygon of country Poland, but when I ...
2
votes
0
answers
34
views
Find buildings that overlook 2+ different streets with Overpass Turbo
I am trying to find, with Overpass Turbo, all buildings that overlook two or more different streets.
I tried different codes without much success.
I thought this one would work but not at all...:
[out:...
1
vote
1
answer
327
views
Overpass API query to retrieve way ids given a list of node ids
Given a list of node ids returned by an OSRM map matching query I am trying to find a list of corresponding way ids:
{"nodes":[384845483,3831831361,2628299968,502266756,346268605,373873712,...
2
votes
2
answers
305
views
Overpass API: get "building" in area with landuse='x'
I get regions with landuse=industrial with this query
[out:json];
area["name"="my_area"]->.searchArea;
(
way["landuse"="industrial"](area.searchArea);
...
6
votes
2
answers
202
views
Finding the nearest named highway way id
Given my location (in Bochum city, Germany), I am trying to identify the nearest highway way id by using the following Overpass API query:
[out:json][timeout:180];
area[name="Deutschland"];
...
1
vote
1
answer
256
views
Overpass turbo, Get center of area
I have this query for overpass turbo ,
[out:json][timeout:25];
area["ISO3166-1:alpha2"="AM"][admin_level~"2"]->.search;
(way(area.search)[place~"town|city"];
...
2
votes
0
answers
93
views
select ways as nodes with way center as node coords
When querying OSM through OverpassTurbo, I notice some locations are ploted as polygons (closed ways) instead of nodes:
When I clicked on the node I gt this result:
This is data:
{
"type"...
0
votes
1
answer
51
views
overpass turbo conversion relation to area is not working
I am trying to convert the relation to node, This is my query :
[out:json][timeout:25];
area["ISO3166-1:alpha2"="AM"]->.a;
rel[place~"town|city"]['name:en'~"...
0
votes
0
answers
25
views
Using Overpass to find intersections with 3 or more links
I'm trying to find all the intersections (nodes) with 3 or more links (ways) in an area as an indicator for walkability. Complete beginner to the Overpass API and this has me pretty stumped. OSM ...
1
vote
1
answer
177
views
Find all resturants inside a city or town by overpass-turbo
I have this query on overpass-turbo:
[out:json][timeout:900];
area["ISO3166-1"="AM"];
node(area)[place~"^(town|city)$"]['name:en'~"^Armavir"];
Now I want to ...
1
vote
0
answers
63
views
Find area id related to one city in a specific country on overpass-turbo
I am using flutter to get some points from overpass-turbo. This is my query :
[out:json][timeout:25];
{{geocodeArea:armenia.yerevan}}->.searchArea;
(
node["amenity"="pub"](...
1
vote
1
answer
59
views
Join polygon footprint to a dataset that contains the central points of buildings
I have polygon information of all buildings in a city in file geodatabase format (.gdb). I have another dataset stored in CSV format that contains latitude and longitude information on the centers of ...
0
votes
0
answers
57
views
Get next and previous way from osm_id
I'm new to Overpass API and I need an Overpass QL query that gets a way of type highway by osm_id and also gets the previous and the next way. By previous way I mean all ways with type highway whose ...
2
votes
1
answer
50
views
How to display in QGIS a mountain saddle with a symbol which indicates the orientation of the saddle?
I exported mountain saddles (natural=saddle) from overpass-turbo.eu as GeoJSON.
I manged to display the saddles on a map with a symbol/marker like a point.
I'd rather like to display the saddles on ...
0
votes
1
answer
62
views
Filtering by a selection of different keys in Overpass?
I want to search for multiple key types in Overpass Turbo such as "natural," "waterway," "landuse," etc, but I can't figure out how to do it. I tried it like this, but ...
0
votes
0
answers
71
views
Query to get freight railway geojson between 2 given cities using overpass turbo
Im interested in getting a freight railway between two given cities, just one railway for now, because im interested calculating its distance.
This what I was trying, but no output:
[out:json][timeout:...
0
votes
0
answers
154
views
Overpass Turbo print individual roadsegment lat long pairs
I have an Overpass Turbo query like this:
[out:json][timeout:25];
// gather results
(
way["highway"]({{bbox}});
);
// print results
out ids geom;
node(w);
way[highway](bn);
out geom;
>;
...
0
votes
1
answer
71
views
Overpass: select area without label point
With the following query:
area(3608398124);
rel(pivot);
out geom;
I get the Manhattan area according to the relation 8398124. The output is a relation with member elements (with geometries) that ...
2
votes
1
answer
347
views
Find intersection between highways and GeoJSON polygon
I have a GeoJSON which shows an area like so:
There are some highways, crossing this GeoJSON. I need to output the coordinates of each highway entering and exiting this polygon with Python.
First, I ...
1
vote
0
answers
138
views
OSM: get residentials blocks, i.e. polygons enclosed by roads
I'm trying to get a list of blocks / residential neighbourhoods via OSM. For many cities the whole town is tagged with a single landuse=residential. What I want is, for a given bounding box:
get all ...
0
votes
0
answers
86
views
How can I intersect polygons around points of interest?
I would like to use OpenStreetMap (via the overpass API) to find potential spots to live. The idea is something like this:
Within Bavaria (Germany)
The next train station should not be more than 5km ...
0
votes
1
answer
948
views
overpass-turbo Export CSV of all adresses
[out:json][timeout:25];
(
node["addr:housenumber"="44"]({{bbox}});
way["addr:housenumber"="44"]({{bbox}});
relation["addr:housenumber"="44"](...
0
votes
0
answers
14
views
API for input building_name and output all its building:part in OSM [duplicate]
Is there an API available in which we can send a building name and it would return all buildings:part if they exist in OpenStreetMap?
1
vote
1
answer
139
views
How can I hide objects in output in Overpass Turbo?
I am querying objects with Overpass Turbo, which are restricted to a specific area.
I restrict the query via a relation, in this case a city boundary. Then I map them to the area to query via ...
3
votes
1
answer
2k
views
Overpy or Overpass Turbo: How to get nodes by their IDs
I got relation data using Overpy, and I got a list of member node IDs and member ways IDs.
As members of a relation, they don't have all their attributes.
So as another step I want to query Overpy by ...
0
votes
1
answer
504
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 ...
4
votes
1
answer
1k
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
/*
...
2
votes
2
answers
144
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 ...
2
votes
0
answers
955
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....
2
votes
1
answer
158
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 ...
1
vote
0
answers
247
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">
...
1
vote
0
answers
59
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 ...
2
votes
0
answers
292
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 ...
0
votes
2
answers
774
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 ...
1
vote
1
answer
134
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 ...