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
0
votes
0answers
24 views

Custom Routes and Streets

I have a ArcGIS set of streets that are not mapped in OpenStreetMaps and I would like to plot these streets on a Leaflet and route through them I read a lot already and see a lot of posts of ...
0
votes
0answers
22 views

Performance of merging and applying changes to a PBF file vs. downloading a new one? [on hold]

I am wondering which one of the following two options would be the most performant (in terms of time and space): Download a small changefile (change.osc), then merge the changes with a large file (...
0
votes
0answers
17 views

Getting node way relationship from Osm2pgsql data

I would like to ask what is the best way to extract which way a node belongs to given a Postgresql databased generated by Osm2pgsql. For example, in https://www.openstreetmap.org/node/4961890042, ...
1
vote
0answers
37 views

Visualizing street shape data for London?

I am trying to visualise some street-level data I got, but since I'm very new to GIS I don't know the correct terminology to Google. My data looks like this: Street, Incident Count Congo Road, 12 ...
1
vote
0answers
16 views

Obtaining sublayer of layer for calculating shortest path algoritm in PyQGIS? [closed]

I am trying to calculate the shortest path over a series of points via the road layer. For this, I am using the shortest path algorithm in the network analysis tool via the Python console. However, ...
1
vote
1answer
11 views

Getting coordinates of ways with Overpass API osm script

I realize there are questions similar to this one but after looking at them, I still can't fix my problem. I would like to get all the node coordinates for the nodes along all the road ways in some ...
0
votes
1answer
21 views

Clients can't access maps from local offline tile server [closed]

I'm building an offline tile server using the instructions found for Ubuntu 12.04 on switch2osm.org. The server is working as intended and rendering maps from the downloaded content. When a client ...
1
vote
0answers
31 views

An illegal reflective access operation has occurred: Problem trying to merge changefile with .pbf data

After downloading a changefile (525.osc.gz) and a planet file (planet-latest.osm.pbf) I am trying to merge the changes with the following command: osmosis --read-xml-change file="525.osc.gz" --read-...
0
votes
0answers
31 views

Way to optimize GeoServer's WMS speed [closed]

At a certain zoom level, the tiles on the client start loading very slowly, up to the point that they are not loaded at all (on the GeoServer viewer it is impossible to wait at any level), and the ...
0
votes
1answer
14 views

Stack for creation local shaded elevation tiles

I wish to create a local osm tiles with elevation information. I wish to display elevation info like a contour lines and shaded places linked with contour line values. I know about this source/...
1
vote
1answer
18 views

OpenStreetMap modify tags based on multiple criteria

I have and .osm file and I would like the modify the tags based on the following criteria. If highway = "unclassified" and has a cycleway tag Then change highway to "tertiary" I know that with ...
0
votes
0answers
15 views

Where can I find hierarchies of polygons in OSM data?

I extracted nationwide data from the geofabric.de website for Germany and used the osm2pgsql tool to get the tables into Postgres. I am trying to extract shapefiles from this data and most ...
1
vote
3answers
40 views

Split Streets to Create Polygons

I have a need to take all the streets belonging to a certain area (in OSM) and split each street by each other and form polygons from the segments that result from the split operation. I would like to ...
0
votes
0answers
10 views

Accessing external source raster MBTiles in GeoServer and then caching

I would like to download and serve base raster map tiles from an external source using GeoServer. The aim being to cache the tiles with GeoWebCache so as to reduce the number of times the external ...
2
votes
0answers
51 views

Raster appears unaligned with other data layers?

We use the Dallas-Ft Worth rasters for our internal processes. We use publicly-accessible data to superimpose markings representing runways and runway ends (the dark gray line and green dots on the ...
2
votes
0answers
55 views

Local Nominatim server returns incorrect place with GPS lookup

I am trying to run a local Nominatim server with a smaller dataset that only includes cities, towns and villages similar to this Stackoverflow question. My goal is to look up which GPS coordinates ...
1
vote
1answer
31 views

Finding intersections for interstates using Overpass API?

I found this query, which works for streets: way[highway][name="Mexico Road"];node(w)->.n1; way[highway][name="Bryan Road"];node(w)->.n2; node.n1.n2; out meta; I assumed it would work for ...
1
vote
1answer
34 views

Clipping raster layer supplied from web (e.g. OSM)

When I try (in QGIS 3.8 "Zanzibar") to clip a "web layer", i.e. a raster layer provided from the web (e.g. an OSM map loaded via the QuickMapServices plugin) by the usual method Raster > Extraction > ...
1
vote
1answer
34 views

Getting area covered by intersection or junction?

I need a way to get following information for each intersection or junction in Berlin: latitude and longitude area covered I could get all Junctions from openstreetmap as nodes, which would give me ...
1
vote
1answer
52 views

Cutting holes in custom polygon made with Leaflet.Draw

I would like to be able to create holes in polygons made with Leaflet.Draw plugin. For example, I currently have code like this: https://jsfiddle.net/4gkrfu5b/ If you draw a polygon on top of another ...
1
vote
0answers
36 views

Missing Data in District Boundaries

I was required to download my countries road data from OpenStreet Maps for a project I'm currently working on. For this I used the OSMnx Library. However, as my RAM was insufficient to download the ...
2
votes
1answer
36 views

Prerendering OSM tiles with CartoCSS?

I've set up a PostGIS database and imported my map data. Then I ran render_list to render my tiles. Serving them through mod-tile works just fine. However, the files on my HDD are *.meta files and ...
0
votes
0answers
31 views

Creating a distance map from OpenStreetMap data

I would like to create a distance map using OpenStreetMap objects as input objects. To explain what I mean with distance map, let's look at the wikipedia definition: A distance transform, also ...
0
votes
1answer
33 views

How to get all traffic signals from a road segment using overpass turbo?

I'm working on this road segment 156810827: https://www.openstreetmap.org/way/156810827#map=15/46.8009/-71.2404 So I need to get all traffic signals from it Tried this: [out:json]; way(156810827); ...
0
votes
1answer
23 views

OpenStreetMap - Overpass API; geometry disappears from node when using convert

I'm using the Overpass API of OpenStreetMap. I'm pretty new to this and I'm struggling to find a solution here since hours. I have two different sets of nodes, .a1 and .a2. I add a certain tag to ...
1
vote
1answer
55 views

Polygons out of a shapefile in QGIS

I have added a layer with tracks and track points from OSM in QQGIS and exported this GPX file into an shapefile. Now I wanted to calculated the area of the buildings. I tried to do this with the ...
4
votes
1answer
21 views

Viewing OSM tag information of known element

I'm trying to filter out all the lakes in an area using osmfilter with natural=water and water=lake. But some lakes are missing, so I want to view what tags are used for those missing lakes. For ...
1
vote
0answers
16 views

Group members add their location to OSM map?

We have a Facebook group with about 100,000 members. How can we create an OpenStreetMap map where members who have the URL to the map can add their location with a marker (only one marker per member), ...
3
votes
3answers
54 views

How to convert an OSM relation to a list of lat/lng points?

I would like a convert a relation (e.g. https://openstreetmap.org/relation/2851613) to a list of coordinates that can be displayed on a map, potentially using geojson. I ported over this converter ...
0
votes
1answer
31 views

How to change tileSize in XYZ from default([256,256]) to something else for openlayers?

I am trying to change the tile size and I have not been able. Below is the code. var projection = get('EPSG:4326'); local_url = 'assets/tile/{z}/{x}/{y}.png'; map = new Map({ target: 'map', ...
1
vote
1answer
37 views

Extract data from osm.pbf with GDAL

I tried osmosis, osm2pgsql, osmfilter, and probably most of OSM related tools in order to extract polygon rivers and water bodies. Among the tools, OGR is intuitive and returns good results so far ...
1
vote
1answer
20 views

Adding data from KML/shapefile/GeoJSON to OSM nodes

I have data of streets which is marked with the osm way/node ids. I would like to add speed limit data which is available in KML, shapefile, or GeoJSON to these OSM wayids (OSM wayid with start node ...
2
votes
1answer
42 views

Unclosed linestring to polygon works with QGIS but not with PostGIS

Just like the title, I am extracting OSM riverbank and a lot of riverbanks in OSM is in 'unclosed' linestring. This is the original river shape i extracted from OSM In order to polygonize the ...
1
vote
0answers
34 views

Combine data of OSM roads into longer lines using PostGIS

For my vector map I'd love to display highways at a quite early zoom level. The problem is that this data would be quite big, so I thought I simply ST_Simplify it. The problem though is that the OSM ...
1
vote
1answer
44 views

Simplest way to export a data set out of OpenStreetMap's Overpass API

I would like to create a web map showing just one type of point of interest. They are made available via the Overpass API and count up to only few thousands for the whole world. I don't expect them ...
3
votes
1answer
36 views

How to set schema parameter in osm2pgsql calling

How I can to set schema name parameter when call osm2pgsql? For example: osm2pgsql --create -s -C 2500 -G -S D:\default.style -d osm_db -o input -U osm_user -W -H localhost -r pbf D:\osm.pbf I set ...
0
votes
1answer
33 views

R Shiny Openstreetmaps - lock map within a set of upper and lower bounds

I am using Openstreetmaps with R/Shiny. I am trying to restrict map display to a given range of coordinates, i.e.xmin, ymin, xmax, ymax so that the users of the map won't be able to look other parts ...
1
vote
2answers
57 views

Making correct shapefile for Mapbox Studio in QGIS?

I want to create an age building map of my home city. I made decision to follow this tutorial: https://www.wired.com/2013/10/how-to-map-building-ages-in-your-home-town/. Building footprint shapefile ...
1
vote
1answer
61 views

Overlaying satellite image tileLayer over OpenStreetMap in LeafletJS?

I am currently creating a web app for visualizing disaster impact via satellite imagery. I have satellite images (.tif) which I need to overlay over OpenStreetMap. Since .tif file is very large, I ...
0
votes
0answers
67 views

Mapbox GL filter features by ID? No unique Ids?

I am getting the the OSM Buildings (mapbox://mapbox.mapbox-streets-v8) via mapbox style. I want to hide some building within a BBox. Getting the corresponding features: var features = this.map....
0
votes
1answer
27 views

mod_tile renders OpenStreetMap without some water

My rendered map: The same view from openstreetmap.org: What went wrong? I downloaded europe_latest.osm.pbf and nigeria_latest.osm.pbf and imported these files using --append. Now, I'm trying to ...
1
vote
1answer
35 views

Problems with tiles in MapProxy

I'm trying to display tiles rendered through Mapnik in Mapproxy. I got it to work correctly for the first zoom level: But two zoom levels in, the tiles are already combined in a wrong way: My tiles ...
0
votes
1answer
45 views

Error in rendering OSM Maps

I am working on creating a OSM Server and want to display the correct map of India with disputed boundaries. I have followed the following link: http://xsce.org/wiki/generating_map_tiles#...
-1
votes
1answer
75 views

OSM routing database with high quality data? [closed]

Our company is searching for a routing service which provides free OSM database (high quality routing data) and preferably also considers the traffic parameters (traffic flow, day etc. similar to no-...
0
votes
0answers
40 views

Extracting street and house numbers from OSM data? [duplicate]

I am trying to extract street and house numbers from OSM data (.pbf file) using osmosis. I've tried the following code: osmosis --rbf berlin-latest.osm.pbf --nkv keyValueList="addr:housenumber=*, ...
1
vote
3answers
70 views

Downloading shapefile from OpenStreetMap?

I am trying to download the shapefile (orange line) from https://www.openstreetmap.org/relation/271888#map=12/48.7810/9.2247 Can you explain how I can extract the shapefile from here?
1
vote
2answers
102 views

Seeking Leaflet-compatible tile layers for Palestine?

Where can I find a Leaflet-compatible tileset that correctly displays Palestine with its native borders and Arabic-language placenames? I've searched high and low and I've found all kinds of tilesets,...
0
votes
3answers
42 views

How to get the text labels in a raster tile in OpenMapTiles?

I'd like to use OpenMapTiles to generate training data for a text recognition task. So, I need to have the corresponding text labels in a raster tile, preferably with their location on the image, ...
1
vote
1answer
37 views

OSM Export attributes of streets

Hi I am beginner at QGIS. I am trying to export the attributes "surface" and "parking lane" of every street of the city Dresden. I tried it with "overpassturbo", but it doesn't give me every street, ...
1
vote
0answers
34 views

Creating points on street line between two intersecting streets in QGIS

I have a table which contains fields "Street", "From", "To" and "Number of potholes". "Street" showing the street line where the potholes are "From" and "To" are street names which define part of ...