Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
28 views

Retrieve OSM changeset information (pyosmium)

I would like to ask if there's an easy way to query OSM changesets' information like user, timestamp, comment and hashtags in that changeset. In particular I would like to retrieve all the user names ...
0
votes
0answers
9 views

Error with limitto when importing OSM data into PostGIS with imposm

I tried to run PostGIS and imposm in docker. However when I want to import OSM data from a planet.osm file with imposm I run into the error that it does not recognize the GeoJSON file I reference with ...
1
vote
0answers
27 views

Rendering roads given a little bounding box

I have to render a small map (50-200 meter of radius given a GPS coordinate) to an image. I'm using mapnik on Python. Currently, my approach is to download directly from OpenStreetMap the needed .osm ...
0
votes
0answers
20 views

Addressing issues with Nominatim API? [on hold]

I've noticed some issues with the Nominatim OSM API. For the most part, I can search "City, ST" for locations in the US with high success barring a few exceptions. For example, searching for "Lisle, ...
0
votes
0answers
34 views

Dowloaded OSM file not showing in my project view area when I load the vector layer [on hold]

I have the OpenLayers plugin and have downloaded and saved an OSM file for my area of interest. I was able to add the file as a vector layer and see the different vector layers of the map before but ...
0
votes
0answers
12 views

TileServer Adding watermark

I am using tileserver V2.4, however the watermark is not appearing. Config.json is like { "options": { "paths": { "root": "", "fonts": "fonts", "...
0
votes
1answer
30 views

Creating buffers around locations when using a Geographic Coordinate System

Background I am trying to make students familiarize with some some basic GIS procedures (using QGIS 2.18), like creating simple maps featuring points that represent the location of shops in a given ...
0
votes
0answers
8 views

Global path planning for UGVs? [closed]

UGVs need road lines to navigate from point A to point B. I wanna build a module to assist UGVs to get to their destinations. The main needs are open source map platform where I can draw or add new ...
0
votes
0answers
28 views

Finding if an OSM way or relation contains a latitude/longitude [on hold]

I'm trying to get the way or relation (if any) containing a GPS coordinate using Overpass queries. I'm using the around:radius,latitude,longitude format, but this seems to only work for large radii. ...
-2
votes
0answers
38 views

How to query the response from Overpass API for road network analysis

I am working on OSM to retrieve road network of an area and study it for different traffic conditions simulating traffic on the map programmatically. Here is a query URL I am using to download road ...
3
votes
0answers
33 views

Dealing with bridges over roads in PostGIS topology?

first time posting please ask for more details if not enough provided. I am using OSM road data and have created postgres topology for them. I am now cleaning up the data before exporting it for ...
1
vote
1answer
48 views

Find polygon boundary dynamically based on a point (lat/long) having type farmland using OSM

There are many ways to retrieve the polygon information when you know that the information is already present somewhere (data locally or in database containing extracted info about polygon). But this ...
0
votes
0answers
18 views

Using Datasets in OSM Metadata Within QGIS?

I was looking into ways of using the OSM database within QGIS. I opened the "OSM Standard" and choose the "Biota" category from the ISO categories. However, after I choose this dataset it looks like ...
1
vote
2answers
33 views

Ring geometries in pgRouting OSM DUMP

After performing pgRouting's "pgr_analyzeGraph" algorithm, over an Open Street Map dump uploaded to my PostGIS DB, I get this output, by I can't figure out what "ring geometries" are. Does somebod ...
0
votes
0answers
24 views

osm2pgsql stops after importing several extracts

I want to import several city extracts from the bbike website into my postgis database. I use windows on a desktop pc with 16GB RAM and a quadcore processor. The first couple of extracts imported ...
-2
votes
0answers
28 views

bbbikes.org has misplaced vertices [duplicate]

I downloaded shapefiles from bbbikes.org. There are misplaced vertices, mostly on line features. Is anyone also experiencing such errors?
0
votes
1answer
23 views

OSM data: “Referenced nodes” vs regular nodes

I am using osm2po software to extract nodes and edges from europe-latest.osm.pbf. When run from terminal, the logs are as follows: So, there are over 2 billion nodes, but only (or "only") around 197 ...
2
votes
1answer
26 views

osm2pgrouting creates erroneous roads

osm2pgrouting works without giving any errors but most of the roads have lost their geometry. Result is ; What I've done so far; OSM Data downloaded from http://download.geofabrik.de/ in pbf ...
-1
votes
1answer
34 views

If the .osm file encodes all geospatial data, or if Mapnik encodes part of it too [closed]

I have downloaded the whole OpenStreetMap .osm file, and not wanting to decompress it or try to open it in a text editor (at almost a terabyte in size), I am looking at this XML as an example: <?...
3
votes
1answer
112 views

How do I remove roads classified as residential from an OSM slippy map?

I'm developing an application in which I need to have an underlying graph representation of streets. Google Maps does not provide this data, which is why I decided to use OpenStreetMap. I have ...
0
votes
1answer
45 views

Regular grid for whole planet

I`m trying to generate rectangular grid for whole world with fixed cell size in 350 meters (width and height are equals). What i tried to do: 1) in main loop iterate trough longitude in range [-180; ...
-3
votes
1answer
68 views

How to search any query using Overpass API [closed]

Nominatim API can accept query without adding any name, class, type, city, amenity and so on to the request: https://nominatim.openstreetmap.org/search?q=MacDonald&format=json How to do the same ...
0
votes
0answers
58 views

Getting data from JSON data API?

As asked in previous question: Displaying icon name next to icon using OpenLayers? , now I need to change data source to the JSON API data, and used jquery plugin bypass CORS (http://www.ajax-cross-...
0
votes
1answer
31 views

Where is flat-nodes file located?

I would like to use osm2pgsql to load the europe.osm.pbf to the database. I've already read about the optimalization to make the osm2pgsql do it as fast as possible. However, there's one option, that ...
0
votes
0answers
20 views

Getting map features from a map-matched route

I'm in Java and I would like to do the following. Given the GPS trace of a car: 1) map-match the trace 2) on each street segment, get all the map features (school, speed limit, restaurants,...) ...
0
votes
0answers
26 views

Get coordinates from the OpenLayers drawn feature and redraw it again in OpenLayers?

I am drawing a polygon a extracting it feature coordiantes on "drawend" using the code var feature = evt.feature; var featureArray = feature.getGeometry().getCoordinates(); and it is giving me an ...
4
votes
2answers
86 views

Remove artifacts from OSM roads data in QGIS

I downloaded OSM data for Amsterdam from the bbike website. Opening the roads layer in QGIS I get these strange artifacts where road sections cross the whole map in a straight line. What would be the ...
2
votes
1answer
48 views

finding isolated rings in postgis

I want to find the isolated rings in an OSM dump loaded into PostGIS, using pgRouting. I need to do this in order to delete the isolated rings of the network. Does anyone know how to do it?
4
votes
0answers
43 views

Showing Polar coordinate grid?

I've found some maps for Antarctica https://nga.maps.arcgis.com/home/webmap/viewer.html How can I show polar coordinate grid for it? I've got the grid source code in grid_wgs.js (I use OpenSeaMap ...
1
vote
1answer
39 views

OpenLayers getting OSM from local server

I have successfully installed OSM tile server on a local server. I verified operation using direct calls http://server_ip/hot/z/x/y.png I setup a page with OpenLayers 5.2.0. The layer init : osm = ...
2
votes
1answer
27 views

Mapping local history

I have been working almost half a year now trying to create a modern digital map of the local towns protected historical silver mines. The only GOOD map over the mines dates back to 1794. A new map ...
1
vote
2answers
36 views

Overpass query: Search range of integers not working for 2 digit numbers

I would like to search for all admin levels with the values between 7 to 11 using the following query (http://overpass-turbo.eu/s/Dn5): (relation[admin_level~"^[7-11]$"]["wikidata"]({{bbox}}); The ...
0
votes
1answer
77 views

Seeking API to check OpenStreetMap for village boundaries?

I am new to GIS programming and I have started a little project. I have a lot of gpx tracks, and I want to check which villages i have visited. Is there an API to check OpenStreetMap for village ...
0
votes
0answers
27 views

SQL Query OSM road types in a bounding box

I have a basic command that works to query all planet_osm_line features within a bounding box (running a PostgreSQL db of the entire OSM planet file) SELECT * FROM planet_osm_line WHERE ...
1
vote
2answers
40 views

Downloading road map of specific country from Planet OSM and using it in ArcGIS Desktop for analysis?

I'm working on a project where the roads system information is essential. The targeted is an African country, namely Nigeria, therefore the data source is quite scarce. The only possible source I was ...
2
votes
0answers
23 views

Revert the resized polygon in L.Draw.Event.EDITED event

I'm trying to stop the user in edit mode to don't overlap on other shape. In CREATED event, I can easily remove the layer. But in EDITED event I want to revert the shape back to original position ...
-1
votes
1answer
38 views

Overpass query does not return values after changing the bounding box parameters [closed]

I have a very weird situation with 2 almost identical queries to Overpass Turbo: http://overpass-turbo.eu/s/DhG The only difference between the two are divergent values for the bounding box. How is ...
0
votes
0answers
22 views

Searching a street based on a connected street in Nominatim

We installed Nominatim and used it for searching POIs in a local server. I've explored the address format in Nominatim which is in the following order: road neighborhood suburb city boundary county ...
2
votes
1answer
52 views

How to customize the appearance of OSM maps on Garmin GPS device?

Just downloaded my first OSM map onto my Garmin etrex 30x from http://garmin.openstreetmap.nl/. I always liked the extremly fine level of detail of OSM, as compared to other maps I know it contains ...
0
votes
1answer
43 views

Exclude elements from overpass query

I have a query in overpass turbo, which searches for all buildings in the current bounding box (http://overpass-turbo.eu/s/Dgv). I would like to exclude buildings with certain id's from the output - e....
0
votes
2answers
48 views

Clean road network from nodes blobs

I have a graph representing a road network and I need to clean it before working on it. Problem is that the original shapefile is not clean so when I make the graph I have many useless nodes too close ...
1
vote
1answer
51 views

Overpass get Street in City

I'm trying to get all the nodes of one street in a district in Berlin. I've written the following expression, but it returns all Holteistraße in Germany. Anyone know how I would write a correct ...
1
vote
1answer
33 views

Uploading to OpenStreetMap with JOSM?

I uploaded a shapefile from JOSM to OpenStreetMap a week ago and I still cannot see any changes on osm map. Yet when I visit my profile I see clearly that the shape was uploaded. Do you know how ...
0
votes
1answer
31 views

ArcGIS Symbology For OSM Street Flow Directions

I have downloaded OSM data in [.shp.zip] format from geofabrik.de now I need to apply Street map symbology to them. Can you please let me know how I can display the flow direction symbol in the street ...
3
votes
1answer
73 views

Adjust leaflet routing machine draw (animate) route speed

I use leaflet routing machine and it's working fine with me. Here is my code: <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width" /> <...
0
votes
1answer
22 views

Fetching node(nd) reference data of way in Overpass query result

I wanted to check the feasibility of a doubt I am stuck with in Overpass query. I have created a simple overpass query to fetch data of one road, [timeout:300]; (way[highway]({{bbox}});); out geom; ...
1
vote
0answers
29 views

Qfield: OSM data not displayed, layer is grey

I am using QGIS 2.18.20 and Qfield 0.10.13 Kesch on Android 7.0. In order to transfer data to the Android device, I am storing the project file and all related files in a specific folder which I copy ...
1
vote
1answer
44 views

Static traffic visualization for certain streets with the help of historical traffic data, in QGIS? [closed]

The goal is to make a static map highlighting certain streets in a city that usually have high traffic (for example, highways and main roads). I am using OpenStreetMap for the city. The streets need ...
2
votes
1answer
81 views

Can I use a browser's developer tools to see the zoom level of current map in browser?

What I'm looking for Where a map is being served by Mapbox in my browser is there anywhere within the Chrome/Firefox Developer Tools where it shows the current zoom level as displayed on screen? ...
1
vote
1answer
39 views

Showing OSM source acknowledgment on the map in QGIS?

I am using OpenStreetMap as a base layer via XYZ tiles in QGIS 3.01. I can't seem to find a way of having source acknowledgement appear on the lower right corner of the map. Can somebody point me in ...