Questions tagged [openstreetmap]

OpenStreetMap is a collaborative project to create a free editable map of the world. The data is free, and free of legal and technical restrictions. OpenStreetMap is often shortened to OSM.

Filter by
Sorted by
Tagged with
5
votes
1answer
381 views

Saving huge detailed map with background into TIFF for printing size A0

How to export a huge map in A0 format size, with visible background image without loss in details? (street names and house numbers should be visible) Parameters of the network I want to export for ...
0
votes
0answers
59 views

QGIS giving GDAL raster provider error, but I'm only opening vector data

I have a .osm file from openstreetmap, so XML. If I add it to my QGIS project by choosing "Add vector layer" it works well, I get 5 vector layers on the map (lines, multilines, multipolygons,...
0
votes
1answer
36 views

How do I return GPS Coordinates for specific street signs in Toronto?

I need help returning all GPS Coordinates for street signs in Canada. I used Mapillary to find the locations of these signs but the zoom is too small and it doesn't return any GPS Coordinates. It just ...
2
votes
0answers
31 views

How is roadway geometry stored/represented in OSM files? [closed]

I am interested in solving some questions for which I would like to extract only roadway geometry from some OpenStreetMaps (OSM) files. (As an aside, I'll eventually represent the data as a adjacency ...
1
vote
0answers
87 views

Using OSMOSIS to extract multipolygon data from .pbf file

To update my database I need to extract some data from the OSM database. To do it I have downloaded the osm *.pbf file from the website of GEOFABRIK. From this PBF file I wish to extract all the ...
2
votes
1answer
72 views

Getting OSM features by ID at a version number

The lava flow from the eruption in the Canary Islands is being shown on OpenStreetMap. It has OSM ID 13249829 and is being updated, and various revisions are in OSM, as can be seen via this API call: ...
2
votes
0answers
38 views

osmosis --used-node keyword does not grab all relevant nodes

I am trying to filter an osm.pbf file using osmosis. The following is my filter: osmosis --read-pbf-fast metadata-unfiltered.osm.pbf workers=8 --tf accept-ways <placeholder> --tf reject-...
1
vote
0answers
37 views

How to set wall texture in osmbuilding-leaflet?

I'm working with osmbuilding-leaflet to render 3D features on map but there is a problem. After rendering features wall of buildings doesn't have texture. But in the basic osmbuilding library wall ...
1
vote
1answer
62 views

How to use selector keyword in overpass API to get all water bodies?

After installing non-default libraries in Google Colab: %%shell pip install OSMPythonTools pip install geopandas and importing useful libraries: from OSMPythonTools.overpass import ...
0
votes
1answer
29 views

Very Slow OSM Tile Rendering

I have built my own OSM server of North America using switch2osm's Ubuntu 20.04 guide and all went well. Except when it comes to rendering tiles...or pre-rendering. Here is the most recent completed ...
1
vote
2answers
46 views

osm2pgsql-flex output: Lua dependecies 'dkjson' under windows10

I'am using PostgrSQL 12 on a windows 10 machine. I need to import .pbf-files from OSM. I have a lua-script using the dkjson package: local json = require('dkjson') However if I use osm2pgsql it gives ...
1
vote
1answer
27 views

Change TileServer in pgAdmin used by geometry viewer

Having exhausted other search options, I was hoping someone might know of a way to change the pgAdmin geometry viewer default tile server? It tries to bring up the OSM one, but we are behind a ...
0
votes
1answer
181 views

Extracting building footprint from OSM or Satellite imagery using QGIS [closed]

I am trying to extract the building footprints from satellite imagery or from OSM using QGIS. In ArcGIS it is a straightforward task however, I don't know how to do it in QGIS. I need to recognize the ...
0
votes
0answers
59 views

POSTGIS query to get Country,State,admin_level-3,admin_level-4,admin_level-5,admin_level-6 and latitude/ longitude data

I imported North America data ( https://download.geofabrik.de/north-america.html) into my PostgreSQL database using import-full.style provided by nominatim with osm2pgsql and got the place and ...
1
vote
1answer
25 views

Is it possible to extract amenity shapefiles using a Google API?

Is it possible to extract shapefiles by amenity using a Google API, similar to the way you can extract shapefiles using OpenStreetMaps/Overpass Turbo? I have had some accuracy issues using the OSM ...
1
vote
2answers
98 views

Different representations of decimal coordinates out there - how to unify?

I have discovered that there seem to be two different versions of decimal coordinate representations in use out there. Let's show an example: In QGIS the city of Vienna (Austria) is displayed as ...
3
votes
1answer
80 views

How to export Coordinates when clicking on Points?

Assumed I click around on a map, while I need to export the coordinates of the points where I have clicked into a simple text file. In best case, writing into the text file should be performed ...
2
votes
1answer
53 views

Finding the correct aspect ratio from image

I'm trying to put an image over my map. I know the correct bounding box of it, but when I load it, I see it doesn't fit correctly in the map. Just for curiosity, I cut a piece of map of same region ...
0
votes
0answers
29 views

Updating OSM using Pyosmium Tool

I am trying to create an automation process of Update OSM data in Postgresql database. I found pyosmium tool which is handy. I have downloaded the updates using the following command pyosmium-get-...
0
votes
1answer
51 views

osmbuildings.org has lots of 3D buildings but the OSM source data doesn't, how come?

Looking at https://osmbuildings.org/?lat=47.37445&lon=8.54104&zoom=16.0&tilt=30 I see lots of 3D buildings in Zurich, Switzerland but in the OSM source data (e.g. from Geofabrik) I don't ...
1
vote
0answers
40 views

Automatic download of OSM data via Graphical Modeler in QGIS

I am developing a script in the Graphic Modeler, allowing to download the data of a road network from OSM data, but I cannot recover them (for the polygon recovery it works well, on the other hand for ...
1
vote
0answers
15 views

How to treat unlinks for computation in the Space Syntax toolkit?

Since I cannot find documentation about unlinks for Space Syntax analysis, can unlinks (bridges/ tunnels) be treated just like regular portions of the urban grid? Meaning I can join them to be ...
0
votes
1answer
19 views

Keeping node ids of a OSM data even after converting it into GeoJSON

I have an OSM data, I need to convert it into GeoJSON and edit it then again need to convert it back into OSM format. but I losing the nodeIds. Do we have any method in GeoJSON to keep the ids?
5
votes
2answers
195 views

Add virtual field for vehicle speed to OSM roads (tag='Highway')

I want to add additional speed values to my OSM data. There is a maxspeed value for some of the roads, but a lot of values are 'null'. Therefore, I would like to add additional values based on the OSM ...
0
votes
2answers
34 views

Overpass API Query for Superroutes in OpenStreetMap?

I have a superroute in OpenStreetMap which defines a network of mountain bike trails (12425503) and it contains member routes such as (8467869). I'm trying to write an Overpass QL query for the ...
0
votes
0answers
17 views

QGIS MapTiler Stamen Toner basemap missing highway/motorway labels

I have been struggling to get the MapTiler basemap to produce the labeling I need. I want to show the Stamen Toner basemap, and I want to only show the interstate highway labels — no other roads. I ...
3
votes
1answer
84 views

Determining who and why certain data was mapped in OpenStreetMap

I am writing a masters thesis about estimating solar potential based on open source resources. Part of my methodology is to use a sample of buildings to estimate solar potential for the whole city. ...
4
votes
2answers
61 views

Error loading tab created from OSM

I downloaded open street map data via Quick OSM in QGIS 3.16. Exporting the data to shapefiles works, but I need them as mapinfo (tab). When I export as tab, the file is saved (Successfully saved ...
0
votes
1answer
44 views

Circling area on map / drawing a circle on a map

I'm trying to find a map of the US East coast, with cities, that I can draw a circle, say of 150mi radius, so I can plan a road trip from my hometown. As far as I can tell, I can't do this on Google ...
0
votes
0answers
31 views

Make polylines curvable and dragable

I'm using Leaflet to draw polylines on a map and of course its possible to drag the endpoints, but I'm curious whether it would be able to curve a polyline? In order to for example, draw around ...
1
vote
0answers
56 views

Places near which there are no buildings

I want to find all place=village with no buildings near them. Right now the query looks like this: area ["boundary"="administrative"] ["name"="Липецкая область&...
1
vote
2answers
50 views

OpenStreetMap text size reduces when exporting in QGIS

Street names from OSM are reducing when a map is exported, the end result doesn't match the preview. Any advice on finding a solution in QGIS 3.16.9?
0
votes
0answers
43 views

Krpano viewer with map Leaflet OSM

i'm new in krpano I'm looking for adding a map (OpenStreetMap) in the Virtual tour of krpano, OpenLayers or Leaflet, that should be interactive with panoramic viewer, so every panoramic image has ...
0
votes
0answers
37 views

Overpass API returns incomplete polygon ERROR with responseformat "geojson"

I am trying to run an Overpass query from Python with the help of this Overpass plugin. I tested the request, see here: http://overpass-turbo.eu/s/19YC However, my python code... import overpass from ...
4
votes
0answers
79 views

TMS tilenames for Elliptical Mercator projection - EPSG:3395

My goal is to derive TMS tile names from given lat/lon and vice versa for Elliptical Mercator projection (EPSG:3395) using Python. OSM wiki explains the logic for Spherical Mercator (EPSG:3857), but ...
1
vote
1answer
53 views

Reprojecting OSM vector Data in UTM32N EPSG:32632

Unfortunately my QGIS doesn't really want me to change the Projection of the OSM Vector data. I downloaded processed Vector OSM Data which was in the (normal) Mercator Projection. I put the layers in ...
0
votes
0answers
20 views

How to get the administrative region (admin_level=4) a place belongs to?

Given a node on OpenStreetMap, for example a village or a city like Chicago, how should I derive information such as the admin_level=4 region it is located in (in this case Illinois), and the country ...
0
votes
0answers
15 views

Is the key `short_name` enough to reliably find a state or region's code?

I'm new at using OpenStreetMap and I need data on the first level subdivision of countries (e.g. states for federal nations such as the USA or Germany, regions for Italy etc); along with other data ...
0
votes
0answers
20 views

Laptop getting crashed after georeferencing on v 3.18

I just started using QGIS a few weeks ago. Whenever I do georeferencing on OSM using some toposheet and then start the georeferencing, my laptop gets stalled. I have to restart the laptop everytime ...
0
votes
1answer
91 views

Syntax for retrieving the coordinates of point features using GeoPandas

I have two point shapefiles (with just one point each, let's call them 'Origin' and 'Destination'). I need to find the shortest path between them over a street network extracted using OSMnx from ...
1
vote
1answer
98 views

Getting all buildings in radius based on GPS coordinates

What I have done so far is creating a PostGIS database with the OSM world data which was successful and viewable via QGIS. I imported the data via osm2pgsql -U USER -W -d gis -H 127.0.0.1 --number-...
1
vote
2answers
162 views

Lake shapes from OpenStreetMap (OSM) in R. Polygon vs multipolygon issues

When I extract lake shapes from OpenStreetMap in R I face a problem with the fact that lakes that contain islands are stored both as multipolygons (with islands cut out) and as regular polygons (one ...
0
votes
0answers
126 views

A way to read OpenDrive map oxdr as a dataframe or plot in Python

I am currently working with OpenDrive map data in Carla with the following file formats: pcd or xodr format. Please does anyone have any suggestions on how to load the maps in Python as a DataFrame ...
0
votes
0answers
37 views

ogr2ogr ignores some osm ways when converting from osm to gpkg

I convert OSM PBF downloaded from Geofabrik to GeoPackage for further processing with fiona. Recently I have noticed that some ways get lost during the transfer. In particular the way with id 8597172 (...
1
vote
0answers
71 views

Setting remote OSM WMS/WMTS connection in GeoServer

I want to set some WMS/WMTS in order to add several basemap (for instance: OSM or other). I tried to set a new WMS connection: https://ows.terrestris.de/osm/service?SERVICE=WMS&VERSION=1.1.1&...
2
votes
1answer
93 views

OSM - unable to filter Alaska state boundary with osmium

I am unable to get Alaska state polygon when filtering with osmium. Any idea how to debug/solve this? Info: downloaded: http://download.geofabrik.de/north-america-latest.osm.pbf trying to filter US ...
0
votes
0answers
37 views

Filter OpenStreetMap ways by size in Overpass API

I'm trying to get a global railroad shapefile through Overpass API, but since there is too much data to be processed all at once, I was thinking I could grab only the larger railways. Is there a size ...
0
votes
1answer
38 views

Querying single element groups from OpenStreetMap using Overpass and osmdata in R

I'm trying to extract administrative boundary data from OpenStreetMap using osmdata in R. The Overpass API lets you determine the element group (i.e. nodes, ways, relations) to return. For example, in ...
3
votes
1answer
171 views

Is it possible to add (part of) the legend of the OSM standard map to the layout in QGIS?

For a location reference map I've created in the layout of QGIS (version 3.16.4-Hannover), I have used OSM Standard as the base map. The base map covers a wide range of objects and land types (see ...
1
vote
1answer
24 views

Why does ['access' !~ 'no'] filter out ways with access = unknown in Overpass?

If I use this query in Overpass [out:json]; area[name="Squirrel Hill"]; way(area) ['access' !~ 'no']; out; then this way (OSM ID 11947323) is not in the result set. However, if this is my ...

1
2
3 4 5
59