Questions tagged [overpass-api]

The Overpass API (or OSM3S) is a read-only API that serves up custom selected parts of the OpenStreeetMap map data.

The Overpass API (or OSM3S) is a read-only API that serves up custom selected parts of the OpenStreeetMap map data (elements and tags) via a specifically crafted query language. 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.

Unlike OSM's main API, which is optimized for editing, Overpass API is optimized for data consumers that need a few elements within a glimpse or up to roughly 100 million elements in some minutes, both selected by search criteria like e.g. location, type of objects, tag properties, proximity, or combinations of them. It acts as a database backend for various services.

The overpass turbo frontend allows to interactively run Overpass API queries and analyze the resulting data on a map.

361 questions
0
votes
1 answer

How can I get all OSM ways and nodes tagged amenity, plus way nodes using the Overpass API?

I'm trying to get all the ways and nodes with an 'amenity' key, which works okay with a union, but I also need the nodes that make up a way, and the recurse tag isn't working as expected:
Tac Tacelosky
  • 3,165
  • 3
  • 27
  • 28
-1
votes
1 answer

.NET Core: points must form a closed linestring when turn coordinate to polygon

I have list of geometry https://pastebin.ubuntu.com/p/zhgPJ4BkpK/ that I got from over pass turbo, Now I want to make polygon by .NET Core, in order to, after converting lat and long to coordinate Coordinate coordinate = new Coordinate(g.lon,…
Cyrus the Great
  • 5,145
  • 5
  • 68
  • 149
-1
votes
1 answer

How to compute bounding boxes of specific roads from Overpass api

I have a high volume dataset with keys like this: lat:6.897585, long:52.785805, speed:12, bearing:144 Basically it is a dataset of records of various trips on cars. The data was stored every few seconds during each trip. The main goal of this…
-1
votes
1 answer

How to turn json file coordinates in to a coordinates list that python can use

How to turn this: dict = {"objects":[ { "type": "node", "id": 46049199, "lat": 52.2925916, "lon": 4.9485062, "tags": { "traffic_calming": "table" } }, { "type": "node", …
-1
votes
1 answer

How to include car ferries in OSMnx graphs

Is it possible to have OSMnx (great tool BTW) include car ferries when building a graph? Failing that, what would be the most direct way to build such a graph? The problem isn't just that the ferry routes themselves aren't present but, without the…
jwolf
  • 908
  • 7
  • 13
-1
votes
2 answers

How to parse overpassAPI http response contents into variables

Http query to overpassAPI is working but I have tried many different approaches to programatically convert the response (very long string) into anything useful. Tried line by line, substrings, etc in all manner of combinations but still cant find…
SSQ
  • 83
  • 8
-1
votes
1 answer

Find out if crossroad or 3-way-intersection

I'm trying to find out the type of a crossroad / intersection in overpass by given coordinates (simple 4-way-crossroad or 3-way-intersection aka Y/T intersection). Wanted to count the way-id's I'm getting via json later in program code (4 = simple…
Youkai
  • 3
  • 2
-1
votes
1 answer

QGIS/JOSM/GOOGLE MAP API : A way to filter(Highway=street_light) and save it in CSV file

I need to use open street map data, specifically the street light (highway=street_light or street_lamp or lit=*) data and save it in a CSV file. I can see the street lights in JOSM but I can't find a way to filter only the these 'highway' values,…
-1
votes
1 answer

Getting speed limit from overpass api

I am trying to get the speed limit around an area from overpass api using this url: http://www.overpass-api.de/api/interpreter?data=[out:json];[maxspeed=*];way(around(5.6283473,50.5348043);out; Any help or pointers as to how I can fix it?
none
  • 1
  • 2
-1
votes
2 answers

java give a string to running process exe

I was tried to get OSM data from my local overpass API. There are four steps to get OSM data. run the binary file /srv/osm3s/bin/osm3s_query once the osm3s_query is running, you'll see this messageencoding remark: Please enter your query and…
user2775128
  • 309
  • 1
  • 4
  • 14
-1
votes
1 answer

get result of overpass api by osmbonuspack

Hi i every one i have used osmbonuspack(for android) for making feature of searching POI, this api offer option to post request to overpass api,i want to get this result in format json.Thank you for advanced.
-1
votes
1 answer

How to handle ODbl When using this URL :http://www.overpass-api.de/api/interpreter

The data included in this document is from www.openstreetmap.org. The data is made available under ODbL. Error: encoding error: Your input contains only whitespace.
-1
votes
1 answer

Where is the HTTP post interface to overpass.eu

I want to make a call directly to overpass from within my java program and then parse the returned XML (so I can subsequently populate a DB with stations) Where is the api for http://overpass-turbo.eu/, i.e I wish to post a query to overpass-turbo.…
Mark Lester
  • 363
  • 4
  • 13
-1
votes
1 answer

How to get info if I am in village or out of the village (city)? (iOS geocoder or Overpass API for OSM)

Is there any way to find out if I am within village/city or out the village/city using iOS SDK (geocoder information) or Overpass API for OSM? I know there are commercially APIs providing this feature, but I am wondering if it exists any API or…
-2
votes
1 answer

How can I download all hospitals in Africa from OpenStreetMap using Python and the Overpass API?

I need a shapefile of every hospital in continental Africa from OSM. At this point, I've only played with downloading extracts from other services like geofabrik, I haven't actually pulled any data down myself. While I intend on learning how to use…
1 2 3
24
25