379 questions
0
votes
0
answers
62
views
visualize interactive map with heatmap layer, color as a function of distance to points
I want to create an interactive map with a heatmap layer on it. The color should reflect a score which is calculated from the distance to coordinates. The coordinates are amenities (like public ...
1
vote
1
answer
52
views
osmnx: how to access log messages when retrieve features in python?
I would like to intercept a specific log coming from overpass api and perform a retry of the function. When using
import osmnx as ox
ox.settings.log_console = True
I see the messages i.e. :
2025-05-...
1
vote
1
answer
241
views
OpenStreetMap - How to get all the addresses and house numbers of a city
I'm trying to get all the addresses and house numbers of a city on OSM through overpass-turbo, without success.
I'm using this query, but results are not complete at all.
[out:json][timeout:300];
area(...
0
votes
0
answers
247
views
Download from Overpass API and convert to geojson with python
I want to download some data data from die OSM Overpass API and convert this data to geojson with Python.
I have prepared an example with an multipolygon. My UseCase has much bigger files.
The ...
1
vote
1
answer
108
views
How to Display Municipalities Without Notaries in a Department Using Overpass Turbo?
With this query, I obtain the contours of the Gironde department as well as the municipalities where notaries are located, represented either by a node or a way. However, I would like to reverse the ...
0
votes
1
answer
142
views
Overpass API & Road Lanes
I've written a script in Python that, given a lat/long, generates a geojson with the roads edges, pedestrian crosses and lanes. It looks like this:
def fetch_intersection_data(lat, lon, radius: int = ...
0
votes
0
answers
152
views
Converting Lat Long to Forward Sortation Area (FSA)
I would like to know which FSA the coordinate belongs to, is there a way to easily convert the Latitude and Longitude to Forward Sorta Area in Canada? Ideally I would like to do the conversion in ...
0
votes
1
answer
158
views
Regular expression inside of a if statement overpass OpenStreerMap
I'm trying to combine 2 features of the OSM overpass flavor : if statement + regular expression.
Example :
[out:json][timeout:50];
area["name"="Paris"][admin_level=8]->....
-1
votes
1
answer
613
views
Overpass querying places of interest by city
I'm new to Overpass and OpenstreetMap. I'm working on a project and I need to fetch the places of interest for New York City (for now, in the future it should be generic to handle any kind of city).
I'...
0
votes
0
answers
120
views
Overpass query to find POI in a specific postalcode
I am facing a challenge in crafting an overpass query to identify points of interest (POIs) such as hospitals and schools within a specific zipcode. Despite my attempts with the following query:
[out:...
0
votes
1
answer
244
views
Select Multiple Buildings using Overpass API Endpoint
I have the code below that shows the surface area of a building in OpenStreetMap when hovered. Here's the code:
import { useState, useEffect, useRef, useCallback } from 'react';
import axios from '...
1
vote
1
answer
405
views
Calculate Area on a Map Using Overpass API Endpoint
I'm trying to calculate the surface area of a building using the Overpass API, OpenStreetMap API, ReactJS. Here's the code:
import { useState, useEffect } from 'react';
import axios from 'axios';
...
0
votes
1
answer
113
views
Get the name of a street and maxspeed given a node id
I need to obtain the name and maxspeed given the node id.
I can obtain that using the latitude and longitude, but I don’t know how do this using a node id. Example:
https://overpass-api.de/api/...
0
votes
1
answer
661
views
Is this Overpass query correctly finding a way given two nodes? Can anyone find a counterexample?
I'm using OverpassQL to find a "way" that passes through two consecutive nodes.
Here's my query:
[out:json];
(
way(around:1,x1, y1);
-
(
way(around:1, x1, y1);
-...
2
votes
1
answer
530
views
Overpass: Combine two queries
I'm having trouble with my overpass query/queries. Goal is to create a map with (a) all traffic signals and (b) designated bike routes in Wiesbaden.
I already got the queries seperatley running but I'...
1
vote
1
answer
835
views
Overpass API store name around another store
I'm trying to use the Overpass API through overpass turbo to find stores that are around other stores e.g. Walmart within 100m of Taco Bell within the map area.
I'm very new to overpass so I'm mostly ...
0
votes
1
answer
40
views
How to dowload .shp of disctricts (areas) in Overpass turbo?
I need download OSM-data. More precisely, I need to download data on the subject of the Russian Federation.
For example i can make key "building in Kemerovo". And it works. But how make ...
1
vote
1
answer
825
views
overpass "around" to find addresses in certain radius from a coordinate
I would like to find the amount of registered addresses within a certain radius (lets say radius=30 (meters) to a coordinate I input (lat,lon).
The code I'm looking for can be in either Python or ...
1
vote
1
answer
638
views
Finding a particular house number near to major roads
I'm trying to construct an Overpass query to return all 3-storey houses of a particular house number that are near to major roads. I understand that this involves an 'around' filter, probably, but I ...
0
votes
1
answer
483
views
Error with syntax of Overpass API and Overpy
this is my code to access overpy and the Overpass API. I need every street in a city. The replace functions are not nice, but the should work because I need the double curly brackets and I can't use ...
3
votes
1
answer
516
views
Fetch areas for OSM nodes / ways from Overpass using relation IDs
I want to fetch up to around 10 OSM objects and assign them to a set of hand-picked areas (up to around 20 different areas) in a single Overpass query. Is this possible?
So the desired output is:
...
-1
votes
1
answer
1k
views
.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 ...
0
votes
1
answer
313
views
How to download a tag information from an OSM large dataset
I need to download the building center coordinates and number of floors of all US buildings for which the tag "building:levels" is available.
I've been trying for the last 3 hours to do this....
1
vote
1
answer
156
views
How to add custom elements to a SUMO map?
I perform a OSM query for retrieving highways. That I later convert in SUMO with netconvert and polyconvert. This stage works fine.
Now, I have a set of Antennas I want to show on the map. I've tried ...
1
vote
0
answers
137
views
How to get nodes in OpenStreetMap using Leaflet strictly contained in my current view?
I'm able to correctly query data from the OSM api.
I can also show highways and trunks correctly on the map.
However, the query gives me back always results for a fixed zoom even if my current zoom is ...