All Questions
Tagged with osm or openstreetmap
3,285 questions
-1
votes
0
answers
30
views
Step-by-step guide to analyze solar potential in QGIS [closed]
I am looking for a detailed, step-by-step guide on how to analyze the solar potential of urban rooftops using QGIS. The aim is to calculate solar insolation for individual rooftops and assess the ...
1
vote
0
answers
35
views
How to find areas/relations inside a country, excluding certain places
Some time ago I asked this question to get an idea of how I could look for gated communities in a given country (e.g. Argentina).
Now I would like to find the same, but excluding certain political ...
0
votes
0
answers
16
views
Overpass around query on bridge centers
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"...
0
votes
0
answers
18
views
Divide Open Street Map elements to distinct categories/layers
I am using OSM (Open Street Map) turbo overpass api to get all the elements in a small bounding box and export it to a shapefile.
Now, I would like to split the elements into layers where each layer ...
0
votes
0
answers
27
views
Store in a table some tags in JSON while others in JSONB
I want to import a road network, and I tried to store the most used tags in JSON, while ONLY the least used in JSONB (if I use { column = 'tags', type = 'jsonb' }, I get all tags inside JSONB).
I ...
0
votes
0
answers
24
views
Overpass Turbo min/max coordinates
I can find examples for using Overpass min/max with tags in the evaluator, e.g.
area[name="Baden-Württemberg"];
node(area)[natural=peak](if:number(t["ele"])>1000);
node._(if:t[&...
0
votes
0
answers
48
views
OpenStreetMap admin_level relationships
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 ...
3
votes
1
answer
58
views
OSM features in Overpass Turbo
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 ...
0
votes
1
answer
49
views
Extract road contours, not just lines
I have a result of CADMAPPER plugin for sketchup work: nice roads with thickness.
As far as I know CADMAPPER uses OSM data like roads "width" for diferent types of highways. Can I use QGIS ...
0
votes
1
answer
18
views
Find all OpenStreetMap address points in a given area
How can I find ALL OpenStreetMap address points in a given area?
Let's say around Manila, Philippines.
OK, in https://overpass-turbo.eu/ I zoom into Manila. Then I enter addr:housenumber into the ...
0
votes
0
answers
40
views
Default coordinate for OSM XYZ tiles Open Street Map
What is the syntax for the XYZ tiles url?
I want to configure OSM tiles to always open at the same location and zoom. My attempt to edit the url is apparently not correct.
0
votes
1
answer
32
views
How to group nodes in Overpass API query that are near other nodes?
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 ...
0
votes
1
answer
60
views
Removing Parallel Footpaths and Pedestrian Paths from Residential Streets in QGIS
I’m working on a project in QGIS where I’m creating a map to help navigate neighborhoods. I’m using a shapefile from OpenStreetMap, and I’ve run into a problem with footpaths and pedestrian paths that ...
1
vote
1
answer
41
views
How does nominatim identify the center of a place?
In the following image, I've plotted the administrative boundaries of Albany NY.
The yellow point is the centroid. The red point is the Geocoded location as identified by Nominatim.
Are the points ...
0
votes
1
answer
42
views
Adding Stadia API Jey to QuickMapServices
I have an API key from Stadia Maps. I am trying to add the Stamen maps using QuickMapServices; the map layer appears in the Layer Panel but without any data in the display area. I tried this answer ...
0
votes
1
answer
32
views
How to set the CRS correctly PyQGIS to display points on top of OSM basemap
I want to load OSM as a background map and plot some points on top of it. And I want to use PyQGIS to write to a QGIS project file because that's the easiest way to share the data with my particular ...
0
votes
0
answers
43
views
Varying results between quickOSM QGIS plugin vs 'Download OSM data' QGIS processing tool
I am working with the graphic modeller in QGIS to query and process OSM data automatically. The script uses the processing tool 'Download OSM data from a query in an extent' to access the data.
When ...
1
vote
1
answer
91
views
How to generate contours in Maperitive (SRTM index is missing. Error downloading SRTM data)
Why does Maperitive always fail to generate contours with this error message?
Error downloading SRTM data (reason: The remote server returned an error: (404) Not Found.)
I'm trying to create a ...
0
votes
1
answer
33
views
How to update layers produced by QuickOSM map preset?
I have created an OpenStreetMap layer in QGIS by using the QuickOSM plugin like so:
Vector > QuickOSM > QuickOSM... > Map preset > select Urban > *set filter to "In: " > ...
0
votes
0
answers
48
views
Issues with Calculating Building Characteristics, Footprint, Roof, and Facade Areas using Overpass API and OSM Data
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 ...
0
votes
0
answers
30
views
Android Studio: App crashing when implementing OSM feature
Special features (pubs, bars) should be displayed on an OSM map. However, when I added the following code, without any error messages, the app crashed every time. Both on the emulator and on my mobile ...
-1
votes
2
answers
90
views
What is an overpass query to get OSM hiking trails in the US? [closed]
What is an overpass query to get OSM hiking trails in the US? I write "an overpass query" because I imagine that his can be done in multiple ways.
1
vote
0
answers
25
views
Does osm2po take into consideration one-ways, bridges, tunnels, underpasses and overpasses? [closed]
I've started with osm and pgrouting recently, and found osm2po to be a great tool, however I can't find any information about how it processes osm data. I use pgr_dijkstra to create a route and use ...
0
votes
0
answers
45
views
How can I create a U-turn for routes in OSM?
I am facing a problem when mapping a route in which the bus should make a U-turn at Rua A (Recanto dos Lagos) at coordinates 21°42'34.6"S 43°19'49.7"W, but the route follows another street (...
1
vote
1
answer
37
views
Querying for roads, highways, etc. (not including pedestrian paths, park trails, parking lots) on OSM overpass
I am trying to query for just motor roads, highways, streets, residential roads, etc. while filtering out things such as parking lots, pedestrian paths, and park trails on OSM overpass turbo.
...
7
votes
1
answer
220
views
Downloading administrative boundaries from OpenHistoricalMap
I found that someone already published administrative historical boundaries I'm interested in. It is available on the OpenHistoricalMap project, part of OpenStreetMap. Here is the link for one of the ...
1
vote
1
answer
99
views
Obtaining rendered data (mapnik)
I want to extract data (city, town and village names) that will be visible when viewing at zoom levels 1 to 10.
You can see that even at zoom level 8, only few city/town/village names are visible
I ...
1
vote
0
answers
40
views
Adding WaymarkedTrails maps (Lonvia Hiking Lonvia Cycling) into QGIS
I would really like to turn QGIS into an equivalent of Maperitive.
Ideally I would like to import Web Maps (OSM Mapnik, Lonvia Hiking and Cycling), Geometry Data I downloaded from https://www....
0
votes
0
answers
27
views
Maplibre render POI on self-hosted 3D OSM
I am trying to render POI on an OSM pbf extract, shown using maplibre. What I have tried so far hasn't worked. There is a live demo here.
That demo doesn't have the latest PBF from GeoFabrik as that ...
1
vote
0
answers
26
views
Locally render a tile exactly like mod_tile/renderd would
I'm slowly learning the machinery involved in running a custom tile server for openstreetmap. I have a fully functioning setup more or less straight from this switch2osm guide but I'm curious about ...
0
votes
0
answers
46
views
How to extract all fuel stations (points and ways) from OpenStreetMap using Osmosis?
Currently, I am using the following Osmosis-Code:
osmosis --read-pbf europe-latest.osm.pbf --tf accept-nodes amenity=fuel --tf accept-ways amenity=fuel --tf reject-relations --used-node --write-pbf ...
0
votes
0
answers
87
views
Water Layer - Lake - QuickOSM - missing
Use : Qgis - newest release
OpenStreetMaps
QuickOSM - newest release
In the past when I was making maps I could find a layer called "(Key) Water" called "(Value) Lake", but I can't ...
0
votes
0
answers
32
views
No border connections in OSM data
I used OSMNX to download States in Germany as well as surrounding States from other countries to do mobility-analyses. These States get merged back together in my GDB. However at borders (no matter if ...
1
vote
1
answer
139
views
Free QGIS Retina/HiDPI map tiles still produce illegible text
I'm using QGIS 3.34.1-Prizren on macOS 14.
When I use the default XYZ OSM basemap in QGIS on my Retina screen, the roads and labels are all extremely small and pixelated:
URL: https://tile....
0
votes
0
answers
46
views
Map-matching on table of geometries
I have a table that represents an OSM map. Each row representes an edge of the graph. It has the following attributes:
road_id,
start_node,
end_node,
direction,
linestring
I want to mapmatch a trace ...
1
vote
0
answers
36
views
Convert ~14500 features into ~500 bounding boxes covering at least the same area in QGIS
I downloaded a shapefile from OpenStreetMap that covers all ocean and coastline.
This consists of around 14500 features. What I am trying to do is generate a number of bounding boxes (say 300-1000) ...
1
vote
1
answer
74
views
"addr:street" seems to be missing after using osm2pgsql to load data into postGIS
I have some geographic usecases for a personal usage (i.e. real-estate price forecast), and after digging through different tools, I wanted to learn more about PostGIS.
osm2pgsql seemed like a great ...
0
votes
0
answers
51
views
Query to extract addresses in several parts of Germany is not working via QuickOSM
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. ...
0
votes
0
answers
121
views
Downloading OSM data for whole of Netherlands via Geofabrik
I need shapefile data for roads and railways in the Netherlands. I can use https://download.geofabrik.de/europe/netherlands.html to download several files. However I can only data for each province (...
0
votes
0
answers
84
views
osm2pgsql error: Connecting to database failed (context=check)
I got this error while importing an osm file to PostgreSQL directly.
My code is:
osm2pgsql –c –d highway -U postgres –P postgres –W postgres -H localhost "D:\data\highway.osm"
The result ...
0
votes
1
answer
99
views
How to merge OSM and Microsoft/Google building footprint data
How can I successfully combine Open Street Map vector data with the latest building footprint data from Google/Microsoft or Overture Maps, and convert the result to a PMTiles file successfully?
The ...
0
votes
0
answers
21
views
Storing OSM relations correctly as geometry in BQ
I am looking at the best/efficient way to decompose OSM relations and store as geography, currently I am using:
https://raw.githubusercontent.com/tyrasd/osmtogeojson/gh-pages/osmtogeojson.js
to ...
1
vote
1
answer
116
views
Overpass-turbo query to retrieve polygon river features
I tried to extract the polygon features for the Kuskokwim River in Alaska, since it's a main-stem and wide river and, thus, represented by polygons at larger scales. But no matter what, I cannot get ...
0
votes
0
answers
38
views
How do I show the right grid projection on my EPSG:4289 map/print layout?
I am trying to show the coordinates of my map (print layout) via a grid. However, I can not get it to work. I have tried multiple things: changing CRS, changing interval units, trial and error with X/...
2
votes
1
answer
74
views
Query for areas/relations containing private ways in OSM
I would like to find gated communities in Argentina. Thus far, I have been able to filter the ones which are explicitly tagged as such, i.e. those with the tag residential=gated. This is the query I ...
1
vote
1
answer
48
views
Does PostgreSQL function concat_ws works as expected?
You find the documentation of the concat_ws PostgreSQL function here.
It says this request concat_ws(',', 'abcde', 2, NULL, 22) results in this reply abcde,2,22.
This example does not proves the ...
0
votes
0
answers
41
views
OpenStreetMap Polygon data accuracy checking
I was wondering whether there is a method or exercise I can do to check the accuracy of building polygons sourced from OpenStreetMap (https://download.geofabrik.de/)?
Of course when I layer the ...
1
vote
2
answers
41
views
Where can I find the metadata of Sub-regions OSM shapefiles via geofabrik?
Currently I am using data for some regions (provinces) of the Netherlands via this link: https://download.geofabrik.de/europe/netherlands.html
However, when I download the shape files (.shp.zip) I ...
1
vote
2
answers
348
views
Getting all node coordinates of ways of one relation with Overpass
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);
) -> ....
0
votes
2
answers
308
views
Why can't we zoom more on OSM?
On OpenStreetMap's default viewer, we are limited in zooming, and we cannot zoom more than this.
Why? How to change this, for example, to see the detail of the geometry of some buildings?
Example: ...