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
0 answers

how to get overpass server to use multiple CPU / cores

I am running my own overpass api server version is 7.54. I followed the instructions at https://overpass-api.de/full_installation.html I am running on a 4 cpu machine with 8 GB of ram but the dispatcher only uses 1 cpu regardless of how much load I…
AstroTom
  • 370
  • 3
  • 9
0
votes
1 answer

Overpass turbo: relations _inside_ area?

This code rel[name="Rheinisch-Bergischer Kreis"][admin_level=6][boundary=administrative]; out geom; outputs my target area "Rheinisch-Bergischer Kreis" in germany. With this code area[name="Rheinisch-Bergischer…
user3182532
  • 1,097
  • 5
  • 22
  • 37
0
votes
2 answers

Unexpected token < in JSON at position 0 in overpass api request

I'm using overpass api to fetch informations about hospitals in a certain area. This is the url I use to get the…
Usr
  • 2,628
  • 10
  • 51
  • 91
0
votes
1 answer

Overpass only filter polygons (Overpass standalone)

I have a code for a challenge in Maproulette for Runways that are shaped as a polygon (not as a line). this is Overpass code for making geoJSON file: [timeout:25]; area(3600304938)->.searchArea; ( …
Mammadtri
  • 3
  • 2
0
votes
1 answer

Is it possible to get speed limit data using OSMBonusPack?

I've been trying to develop speed limit application & have tried many different approaches to get done . I have used Overpass APIs & it did good but it did not have speed limit information for few of locations around Europe & also installed…
Deep Shah
  • 1,334
  • 3
  • 20
  • 41
0
votes
1 answer

How to get Maxspeed allowed for latitude & longitude with certain radius?

I'm developing android app which has a functionality to display maxspeed allowed for current location (in other words latitude & longitude). I have came across this solution Query Overpass turbo by latitude longitude which gives maxspeed value for…
Deep Shah
  • 1,334
  • 3
  • 20
  • 41
0
votes
1 answer

commandline interface (CLI) for the interpreter of Overpass-API

I created an instance of the Overpass in a VirtualBox, with an http-server, the overpass-api-dispatcher and downloaded the openstreetmap data. Everything works fine, i get results when i use it in a browser/wget/.. . But. My machine isn't capable…
Duncan MC Leod
  • 113
  • 1
  • 8
0
votes
1 answer

How to access the OSM API

I am making an app where I need access to the maxspeed in the OSM database. I found the api http://overpass-api.de/api/ in the OSM wiki http://wiki.openstreetmap.org/wiki/Overpass_API but I can't find a way to access it and when I search the api…
DJ. Aduvanchik
  • 332
  • 5
  • 17
0
votes
1 answer

400 from Overpass API with c# (RestSharp) but not from Python (urllib)

I'm doing a query to the Overpass API which is running on a local server. I'm doing the following query from C#: /api/interpreter?[out:json];way(around:1000,-33.933,18.4347)[amenity][name];(._;>;);out; and it returns a 400. I do the same call…
mchristos
  • 1,487
  • 1
  • 9
  • 24
0
votes
1 answer

How could I display only name when pressing the Marker?

I have been working with osmdroidbonus but with the example I have to display complete information like name and description. I want to display only the name not the description. And is it possible to store the value of mname in some variable…
techno
  • 101
  • 1
  • 1
  • 8
0
votes
1 answer

API response time linear in number of filters

I'm making calls to a local instance of the Overpass API to get all "roads" in a given bounding box. Weirdly all roads / paths / tracks seem to be classified under the "highway" key (isn't that a really bad name??). I'm interested only in roads that…
mchristos
  • 1,487
  • 1
  • 9
  • 24
0
votes
1 answer

use loop to query overpass api

I have a csv file of bounding boxes, that I loaded using pandas in python. The dataframe is df and the column name is coord. Does anyone know how I could create a loop to pass the list to my overpass api query? I tried this: import time import…
zelda26
  • 489
  • 2
  • 10
  • 33
0
votes
1 answer

Leave node attributes empty on closing

I'm using R's xml2 package to write a query to the OverpassAPI, which is not strictly xml but sure works a lot like it. I have an issue, however, where the xml2 package writes node attributes on opening and on closing. # build xml object for osm…
gregmacfarlane
  • 2,121
  • 3
  • 24
  • 53
0
votes
1 answer

OSM - overpass api - relations crossing boundingbox

Is it possible to use the Overpass Api for OpenStreetMap to find all relations crossing the bounds of a boundingbox? I have the boundingboxes of several cities. Now I want to find all bus routes going in and out the boundingbox to find bus route…
NLAnaconda
  • 1,534
  • 3
  • 14
  • 38
0
votes
1 answer

How to get all power plants from Open Street Map using overpass api with python?

This is the code I'm using: import overpass api = overpass.API(timeout=900) response = api.Get('node["power" = "plant"]') print(response) I'm getting a nested dictionary of power plants, but only 187. I suspect there must be many more. Does…
zelda26
  • 489
  • 2
  • 10
  • 33