Skip to main content

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.

Filter by
Sorted by
Tagged with
2 votes
3 answers
97 views

I got these nodes via [out:json][timeout:25]; node["addr:street"="慶福街"] (24.1717,120.8297,24.2129,120.8998); out geom; OK, now how shall I use bu to get all the parent ways they ...
Dan Jacobson's user avatar
3 votes
1 answer
124 views

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 ...
Evan Carroll's user avatar
  • 7,259
1 vote
1 answer
53 views

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"]["...
user320629's user avatar
0 votes
1 answer
50 views

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); ); (._;&...
steloe's user avatar
  • 324
0 votes
0 answers
54 views

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 ...
RolfDD's user avatar
  • 13
2 votes
1 answer
69 views

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 ...
Philip G.'s user avatar
0 votes
0 answers
36 views

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/...
Steve's user avatar
  • 1
2 votes
1 answer
79 views

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 (...
katzu's user avatar
  • 33
1 vote
0 answers
48 views

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? ...
deevroman's user avatar
0 votes
0 answers
25 views

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 ...
Thomas Becker's user avatar
2 votes
0 answers
36 views

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 ...
xuwenbuwer's user avatar
0 votes
1 answer
70 views

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?
Nuntea7's user avatar
0 votes
0 answers
31 views

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' ...
DaveF's user avatar
  • 113
1 vote
1 answer
67 views

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....
Michael L.'s user avatar
1 vote
0 answers
46 views

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 ...
JulesL's user avatar
  • 11
0 votes
0 answers
49 views

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"...
JulesL's user avatar
  • 11
0 votes
0 answers
98 views

I've been unable to develop the correct Overpass query to retrieve the parent admin_levels from a Wikidata id: Overpass query for admin_level parents for an area What I'd like is to start with a ...
Loren Maxwell's user avatar
0 votes
2 answers
152 views

Using Overpass I'm trying to get the admin_level 2, 4, and 6 parents of wikidata Q16557 (Dallas, Texas, but I want to be able to do this for any US city). This query works fine for admin_level = 6 (...
Loren Maxwell's user avatar
3 votes
1 answer
110 views

I am using this overpass-turbo script to extract water polygons of the Saint Johns River in Northern Florida, but it is consistently excluding the entire portion north of the Buckman Bridge (see ...
mikeLdub's user avatar
  • 1,264
0 votes
1 answer
296 views

My goal is to fetch waste_basket nodes, where any nodes within 50m of other waste_basket nodes are grouped together into one. All other nodes are fetched as-is. I started attempting to find nodes ...
Paradox's user avatar
  • 65
0 votes
0 answers
92 views

I’m working on a project using Overpass API and OpenStreetMap (OSM) data to extract building characteristics such as footprint area, roof area, and facade areas in each direction. I'm also trying to ...
Hitendra Bhusare's user avatar
1 vote
1 answer
103 views

I have the following overpass query, giving a country's coastlines: [out:json][timeout:2500]; rel(13428950);map_to_area->.region; ( way["natural"="coastline"](area.region); )...
Baz's user avatar
  • 85
0 votes
0 answers
64 views

I a trying to extract addresses from the OpenStreetMap as polygons via QuickOSM using the keys: addr:street, addr:housenumber and addr:city. That works quite well, but not in every part of Germany. ...
Arne Kagermeier's user avatar
1 vote
2 answers
285 views

I'm new to Overpass and I am trying to find a convenient way to map all major Airports, Harbours and Trainstations (not necessarily in the same query) But I also want a kind of overseeable global map ...
Corv's user avatar
  • 11
1 vote
2 answers
723 views

With overpass, I use CSV to create individual formatted output. All ways of a relation are determined. Here is the code: [out:csv("print1";false)]; ( relation(id:15596842); way(r); ) -> ....
gotwo's user avatar
  • 243
1 vote
1 answer
119 views

OpenStreetMap sometimes encodes buildings as areas - as closed ways instead of nodes. But still at some point in the map a symbol or a housenumber is placed. I want to get the coordinates of this ...
Ruik's user avatar
  • 111
1 vote
1 answer
131 views

I'm trying to figure out which ways are "the same". One metric I'd like to check is the angle between them: if two ways meet at a node at an angle pretty close to 180 degrees, that's an ...
user1454156's user avatar
0 votes
0 answers
111 views

I am working with OSM through the Overpass API and/or the QuikcOSM plugin in QGIS. I am wondering if it is possible to select the tags to be downloaded as csv or GeoJSON or KML data. To make an ...
HyPhens's user avatar
  • 528
1 vote
1 answer
591 views

I would like to find the geolocation (lat/lon) of a given full address using OverpassAPI. [out:json]; ( node["addr:street"="Hauptstraße"]["addr:housenumber"="1&...
Saren Tasciyan's user avatar
2 votes
0 answers
94 views

I am trying to get all the elements of the following Wikidata tag: https://www.wikidata.org/wiki/Q31074657 As you can see, this tag corresponds to a Wikidata category of type Statements -> Part of, ...
Nil Aspinall's user avatar
1 vote
1 answer
201 views

I would like to get all the streets limited to containing a particular text name, for all "place=city" in a particular country. I tried: [out:json][timeout:250]; area[name="Italia"]...
Nil Aspinall's user avatar
2 votes
1 answer
193 views

I'm relatively new to Overpass and Uber H3. I'm trying to find all the points of interests associated with hexagons within New York City. I'm able to find and generate all the hexagons within New York ...
Ibrahim's user avatar
  • 23
2 votes
1 answer
99 views

I want to create a google currentplace type api using open street map data. I have been trying to use othe around command in overpass ql but it always returns error or 0,0. [out:json]; ( node["...
Jos Joe's user avatar
  • 21
1 vote
1 answer
136 views

I am using Overpass to obtain data about street/sidewalk elements, such as buildings locations. I was not able to filter unwanted data by refining my Overpass query, so I am doing this filter in ...
José Pedro Silveira Martinez's user avatar
0 votes
1 answer
396 views

I'm trying to get the boundaries from Overpass API for all counties, cities, towns, villages or hamlets for specific US states. The problem I'm having is that I sometimes get "nodes" instead ...
HK1's user avatar
  • 101
1 vote
1 answer
75 views

I would like to extract roads which are missing bike lanes so that I can map them with Photo Mapping software. With my query below, I am able to fetch roads which are missing the cycleway tag. ...
Paradox's user avatar
  • 65
0 votes
0 answers
226 views

Is there a Google Maps analogue of QGIS's QuickOSM plugin? I would like to download data from Google Maps, similarly to how Overpass gets data from OSM, using a Google Maps API key.
Geremia's user avatar
  • 242
0 votes
1 answer
167 views

I use this code in Overpass turbo: [out:csv(comune, ISTAT, name, highway, ::lat,::lon;false;";")][timeout:600]; //provincia da cui estrarre i dati area[boundary=administrative]["...
user236223's user avatar
0 votes
0 answers
153 views

I installed local Overpass API from Docker container (https://github.com/wiktorn/Overpass-API). Everything works, server is accepting queries and is giving valid answers. What's the problem? I'm ...
stalker's user avatar
  • 99
1 vote
2 answers
766 views

I'm looking for an overpass turbo query that gives me all (salt) water entities. Currently, this is my query (using the overpass web interface): [out:json][timeout:25]; ( node["place"=&...
Daniel's user avatar
  • 121
2 votes
1 answer
72 views

I would like to download OSM Data of admin borders and highways for a very large area. This would produce a very large file and is way too much for the osm overpass (I used overpass turbo but am happy ...
RRR's user avatar
  • 21
0 votes
1 answer
125 views

I'm given the following output from the Google Maps API regarding a specific place (Toronto, in this case): { "html_attributions": [], "result": { "...
user698515's user avatar
0 votes
1 answer
93 views

I was wondering if anyone could help. I am running a Python program that has to check a couple of hundred polygons to see how many buildings they contain, 95% are polygons are processed fine and seem ...
David Graham's user avatar
1 vote
1 answer
592 views

I have a list of tourist attractions, each with the name of the attraction, its address, and its coordinates (lat/long). How can I query Overpass Turbo to accurately return data about these ...
user698515's user avatar
1 vote
1 answer
1k views

There are different ways to define search areas using Overpass API. For example: Geocode area [out:json][timeout:25]; {{geocodeArea:Bonn}}; node[tourism=hotel](area); out body; >; out skel qt; ...
winnewoerp's user avatar
  • 1,759
0 votes
1 answer
193 views

I want to create CSV data with different OpenStreetMap tag counts for selected cities using Overpass API. Unfortunately, the "Counting Objects" section of the Overpass API Documentation is ...
winnewoerp's user avatar
  • 1,759
0 votes
0 answers
104 views

I am looking district names of India with state names as CSV format. I tried to write an overpass query but it is not working. Please let me know what I am doing wrong. Is there any other simple query ...
Gagan's user avatar
  • 201
3 votes
1 answer
810 views

I would like to request all service companies in specified area using the Overpass API. The following request delivers only the result of the first filter node[shop](area); and does not unify with the ...
Maus's user avatar
  • 161
3 votes
1 answer
215 views

I need to import parking polygons from OSM to PostGIS. But when I import data from Overpass API using ogr2ogr it keeps creating an empty table (with the expected columns as to per osmconf.ini). Import ...
Christa Rohrbach's user avatar
1 vote
1 answer
186 views

I would like to get the administrative regions for Somalia. I tried two queries: area["ISO3166-2"~"SO-"]; rel[admin_level=5](area); out geom; and: rel["ISO3166-2"~"...
BritishSteel's user avatar
  • 6,727

1
2 3 4 5
9