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
Make your voice heard. Take the 2019 Developer Survey now

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
0answers
11 views

Delete rows or tables from mbtiles

I have downloaded mbtiles from openmaptiles.org and I am trying to remove layers that I do not need using DB Browser for SQLite. What I am trying to get rid of is the ocean layer and I do not know ...
0
votes
1answer
25 views

How to maintain OpenStreetMap labels/details (from QuickMapServices) when exporting from QGIS? [duplicate]

My question is about OpenStreetMap place labels in QGIS, and how to keep them at a similar size when exported to as they appear in the software. I realise variations of this question have been asked ...
0
votes
0answers
9 views

Custom rendering ocean in Maperitive

I would like to render a map from openstreetmap data that includes coastline with the tool Maperitive. The standard behaviour seems to be that it renders ocean in the standard blue color no matter ...
0
votes
0answers
16 views

List of outdated tiles without using psql/osm2psql

I have a .mbtile file containing tile data from OSM. I'd like to keep the .mbtile file up to date with the latest changes from OSM. I don't have a postgres running locally that I could update using ...
0
votes
1answer
19 views

From Overpass Turbo to GeoJSON without map

I would like to extract boundaries of some areas from Overpass Turbo in GeoJSON format. At the moment I am using the website UI www.overpass-turbo.eu, write the query, execute it and export in GeoJSON ...
0
votes
0answers
31 views

Matching streets in two line datasets with PostGIS or QGIS?

Explanation: I have 2 tables on PostgreSQL, one table named 'city' that have linestrings wich represents streets from a city (using QGIS I downloaded OpenStreetMaps data and imported to PostgreSQL ...
0
votes
1answer
47 views

How to get osm tiles in QGIS 3

I am completely lost in the dozen of solution I've found. I would like an easy solution to create an OSM basemap for my different projects with nice styling. I work directly on my computer, no ...
1
vote
1answer
45 views

Circle is ellipse using Open Street Map

Currently I have a problem while developing an app - I use Open Street Map and draw a Circle and pass it to a Python backend, as central point and point on the perimeter on the Circle. Next I am ...
1
vote
2answers
48 views

How can I overlay an image (exported via ArcGIS API) on an OpenStreetMap map?

Before I attempt to explain my situation, I'd like to disclose I'm very new to these apps and GIS in general. There's a public ArgGIS server that I'd like to export a layer from and overlay on an ...
0
votes
0answers
22 views

Import OSM to MongoDB by MongOsm

Could anybody tell me something about the import time For Mongosm? I try to use Mongosm to Import the German osm-file. In my eyes the tool is running very slow. After one week the process isn't ...
1
vote
0answers
27 views

Hiding specific OpenStreetMap basemap tags?

I have been trying to find a way to hide or suppress specific tags on OSM within my .js code. There is just too much information packed into the OSM basemap and it takes away from what is important ...
0
votes
1answer
37 views

Nothing happened when call function remove layer on leaflet

I'm tryng to call function for clear layer. But nothing happened, using this <li class="list-group-item"> Remove All <div class="material-switch pull-right"> <input ...
0
votes
2answers
50 views

Extracting OpenStreetMap Bus Routes using ArcGIS Desktop?

I am wanting to extract bus routes from OpenStreetMap to use as shapefiles in ArcGIS. Is there a simple way to go about this? As i am trying to extract them directly from OSM however i keep ...
2
votes
1answer
89 views

Blank values in attribute table don't work as null in QGIS?

I am using QGIS 3.4. I have a layer generated from the QuickOSM plugin with various pieces of OSM data. For lines 17-19 which do not have a value in the "name" attribute, I don't know why null ...
1
vote
1answer
33 views

How do i draw London Bus Routes? [closed]

I want to draw all London bus routes. I have the associated bus stop locations and sequences. Is there a quick way to draw the routes? My end product would be a shapefile or layer file / table with ...
1
vote
1answer
24 views

What does independently decodable means in the context of the OSM PBF Format?

The primitive blocks of the OSM PBF Format are stated to be independently decodable. What should be the extent of this property? For exemple, should all the nodes referenced by a way be stored in the ...
0
votes
0answers
38 views

Correct way of setting up OSM tile server with custom styling

I have managed to set up an OSM tile server (Ubuntu 18.04), by using this docker image: https://hub.docker.com/r/overv/openstreetmap-tile-server/ Everything works fine while generating tiles with ...
0
votes
1answer
43 views

QGIS OSM Basemap with English place names? [duplicate]

I am pretty new to QGiS and to cartographic software in particular. I wanted to create some maps of some cities in the Arab Gulf and wanted to use an Open Street Maps basemap. However, everything in ...
0
votes
0answers
17 views

Is it possible to set maxResolution for a layer after layer creation in OpenLayers 2?

var OsmLayer = new OpenLayers.Layer.OSM({ isBaseLayer: true }); _map.addLayer(OsmLayer); I tried, _map.layers[0].maxResolution = *some value*; & _map.baseLayer.maxResolution = *some value*;...
0
votes
1answer
11 views

SpatiaLite not complete data on pt_addresses?

I have a problem. Imported OSM in SQLite using spatialite_osm_map Samples query $select id,name,min(st_distance(geometry,st_point(22.908082,45.763242),0)) from roads limit 1; 564|Strada Muntenia|26....
0
votes
1answer
32 views

How to save an OSM nominatim query's output to a csv file?

We have to reverse geocode 1000's of address and want the output of the queries in a csv/txt format. Currently if i run this query in a browser https://nominatim.openstreetmap.org/reverse?format=xml&...
0
votes
1answer
40 views

Walking distance with pgrouting for several locations

I'm intending to calculate the walking distance (not the linear distance, but the "real travelled distance") to several locations (e.g. social infrastructure). Thus I will have to create a routable ...
0
votes
0answers
31 views

QGIS print composer does not export high res details from Spatialite layer

I downloaded OSM.pbf data from Geofabrik, and I followed https://anitagraser.com/2014/05/31/a-guide-to-googlemaps-like-maps-with-osm-in-qgis/ this example to import pbf file to SpatiaLite layer for ...
0
votes
1answer
41 views

How to identify the direction of travel for ways without “oneway” tag

I am using Overpass API to download ways and nodes information for my application and I have realized that not all the ways have information related to the direction of travel. How can I identify if ...
0
votes
1answer
57 views

OSM Data Extract Streetnames for cities

How to extract streetnames with osmosis (Java)? I have tried to process all Nodes. I put them in a Map<String, List> meaning Map<CityName, ListOfStreetnamesOfThatCity>: @Override public ...
0
votes
0answers
32 views

Error during load osm pbf file from QGIS

I was trying to print out Stamen map (Quickmap plugin) in very high quality. However, I was unable to do so, printed out results looks like chequer board or empty. So, I was following the ...
3
votes
2answers
94 views

Cannot open .osm file in QGIS

I want to view a .osm file that was generated from an Overpass API query. I tried the steps given in QGIS tutorial on OSM wiki. The tutorial says Start QGIS Desktop Go to: Vector (menu) → ...
1
vote
1answer
69 views

Downloading OpenStreetMap data at European scale?

I don't find a way to download specific data for Europe (E roads, i.e. roads from motorways/primary/trunk having the key "int_ref" not empty). I tried several ways (using QGIS x64 on Windows 10), ...
0
votes
1answer
39 views

Where to find Windows osm2psql binaries in 2018?

I've read all the stuff in their git, here at stackexchange, in OSM wiki, but all links are broken and the latest windows binary I found is HOTOSM bundle built at 2010. Download link to osm2pgsql ...
0
votes
1answer
28 views

Creating osm2pgsql hstore tags using PostGIS column

This is the opposite question to this one: Creating columns in PostGIS using osm2pgsql hstore tags First, I changed default.style to make separate 'lanes' column. Then I extracted osm database ...
2
votes
0answers
30 views

Adjusting the admin_level of countries in osm-bright style?

I'm using OSM Bright style Unfortunately, this style favours more admin_level=3 countries than admin_level=2, for instance, on the map below, Transnistria is labelled instead of Moldavia. How to ...
4
votes
2answers
45 views

OSM Line 'way' from PostgreSQL (PostGIS) to Java Linestring (from JTS library)

I would like to read the data from PostGIS OSM database to Java object. I have 'planet_osm_line' table. I'd like to get 'osm_id' and 'way' column read by ResultSet, as here: stmt = con....
2
votes
1answer
67 views

QGIS Training Manual Vector Menu

I just (December 12, 2018) downloaded the training manual and data. I'm trying to get started but I cant find the first part to download the OpenStreetMap part. "In the Vector menu dropdown, select ...
1
vote
2answers
65 views

Transforming .osm file into a .svg file with an equivalent geometry, without applying styling

I have an existing .osm file (containing a small part of OpenStreetMap database). I am looking for way to convert it into .svg file. Note that I am not interested in applying any styling based on ...
0
votes
2answers
59 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
12 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 ...
0
votes
1answer
36 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 ...
3
votes
0answers
44 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
50 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
20 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
46 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
26 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 ...
0
votes
1answer
28 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
28 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
35 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
122 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
49 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
93 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
1answer
85 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
39 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 ...