All Questions
Tagged with osm or openstreetmap
323 questions
250
votes
4
answers
292k
views
EPSG 3857 or 4326 for Web Mapping
The discussion at What is the difference between WGS84 and EPSG4326? shows that 4326 is just the EPSG identifier of WGS84..
Wikipedia entries for Google Maps and OpenStreetMap shows that they both ...
41
votes
4
answers
66k
views
Loading OpenStreetMap data in QGIS?
In QGIS 1.8 I used the openstreetmap plugin to request data from the server, or open a .osm XML file, which produced 3 layers (polygons, polylines and points) in QGIS.
This was great (give or take ...
55
votes
9
answers
48k
views
Creating drive time polygons using Open Source tools?
Is anyone using open source tools and/or data to generate drive time polygons that radiate out from a given location? For example, I have used ESRI products like Network Analyst and Business Analyst ...
41
votes
4
answers
39k
views
Select bounding box using postGIS?
I want to create a query to select all ways and their nodes that exist within a bounding box using postGIS. The bounding box shall includes all details as osmosis "--bounding-box" command will ...
45
votes
9
answers
26k
views
Downloading OpenStreetMap Data
Is there a straightforward way to download data from OpenStreetMap (OSM)?
Using North America as an example, I realize Cloudmade (Cloudmade no longer provides downloads of OSM) and Geofabrik (http://...
29
votes
2
answers
21k
views
Seeking qml or sld file for QGIS + OpenStreetMap data? [closed]
I'm looking for a qml file (or equivalent e.g. sld) to allow me to use QGIS to take OpenStreetMap data and produce paper maps. I'm re-asking this question (it was asked once or twice over a couple of ...
12
votes
3
answers
31k
views
Getting shapefile of river from OpenStreetMap?
I do not want to download the whole map of an area. I just want rivers and other waterbodies present in an area in shapefiles so that I can use them in QGIS. I tried geofabrik but it is giving whole ...
9
votes
3
answers
11k
views
How to find a point half way between two other points?
I'm working on implementing the OSM Mobile Binary format for map data, and because it uses a 16 bit delta for each point along a way, it cannot represent a way if there is a large distance between two ...
5
votes
1
answer
17k
views
How to clip an Openlayers OSM Background to a Vector Boundary?
I'm new to QGIS. In my project i have two layers: one is my vector (city boundaries) and the other is the OSM (obtained with the plugin). How can I cut the OSM along the edges of the vector? I want to ...
2
votes
2
answers
2k
views
Manually select OSM features for export
I'm looking to export all the paths that comprise a long hiking trail in Japan. Unfortunately while some of the paths are named, many of them aren't and some are named inconsistently.
Is there a way ...
14
votes
3
answers
53k
views
Add GeoJSON layer to OpenLayers 3
I have a GeoJSON file called mygeojson.json and I want to add it as a layer in OpenLayers 3 on top of an openstreetmap layer. So far I could display the openstreetmap world including zoom etc. but for ...
13
votes
6
answers
10k
views
PostGIS doesn't use spatial index with ST_Intersects
I imported the data from openstreetmap using osm2pgsql and copied it another table structure. If I made a query for containing rows using st_intersects, st_contain or someone else, postgis don't use ...
20
votes
5
answers
8k
views
Standard SLDs for OpenStreetMaps?
We have downloaded OSM data for our region and loaded them into PostGIS using osm2pgsql. So far so good. On top we have GeoServer and we would like to expose the OSM data using WMS. We would as well ...
16
votes
2
answers
10k
views
Projecting EPSG:4326 data in 2D map?
I like to think I'm relatively well-versed in datums, projections, and coordinate reference systems.
OpenStreetMap data is stored in WGS84 Lat/Lon (EPSG:4326). This CRS is geographic and therefore ...
11
votes
3
answers
15k
views
Shapefiles and OpenStreetMap data do not overlap in QGIS?
So I'm pretty new to GIS, and I'm working on a mapping project using data for Vancouver, Canada. I want to combine OpenStreetMap data along with data provided by the City of Vancouver. But the City ...
9
votes
3
answers
18k
views
Extracting primary and secondary roads from OpenStreetMap data
After importing my country roads from OSM data, I need to create a network ( roads connecting big cities ) for use with pgRouting.
For this, I need the green, blue and red ones (http://www....
5
votes
3
answers
6k
views
How to make routable OSM map
I have some routable data for testing my pgRouting functions, and everything is fine. Now I have to download some more countries from OSM. I downloaded Germany shape files, but OSM maps are not ...
4
votes
2
answers
4k
views
Does OSM data contain direction of travel?
I was looking for Direction of Travel (DOT) information inside OpenStreetMap shapefiles, but only I've just found "ONEWAY = 1 or 0", but nothing about its direction.
If I work on an OSM editor, I can ...
4
votes
2
answers
3k
views
How to use union in area queries (QL/XML) with Overpass API/OpenStreetMaps?
I am using area queries to find nodes with particular amenities Eg:-
[out:json];
area[name = "New York"];
node(area)[amenity=bar];
out;
However the issue with this is that if I query the ...
3
votes
1
answer
2k
views
Crediting OpenStreetMap maps in QGIS
OpenStreetMap
Copyright and License dictates that the users will give OpenStreetMap credit.
Is there a way to add the credit into QGIS maps automatically?
3
votes
1
answer
816
views
Geocoding with MMQGIS creates empty attribute table from CSV file
I need to geocode an Excel file of addresses in Greece ("number", "name", "address", "city", "country" are my columns) using MMQGIS with OpenStreetMap....
3
votes
0
answers
2k
views
Transforming coordinates to WMTS tiles
I'm currently developing a slippy map. It is perfectly working with tile coordinates that are used in openstreet maps i.e. the zoom/x/y format. I have used the formula from the OSM wiki to map ...
2
votes
2
answers
1k
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 ...
2
votes
1
answer
5k
views
Clipping OSM Standard Basemap using QGIS
I am trying to clip the state of MN out of the OSM Standard Basemap, omitting everything outside of the state boundaries. Everything I've read about clipping talks about clipping between two ...
2
votes
2
answers
4k
views
Computing distance between two spherical Mercator points
I am computing the Mercator points according to the top answer at Convert latitude/longitude point to a pixels (x,y) on Mercator projection.
Now that I have two Mercator points on a spherical ...
41
votes
12
answers
40k
views
How would I draw and visualize custom maps based on OSM data?
I would like to be able to use openstreetmap data for a specific region as a source and "draw" from that the map of infrastructure improvements - mostly roads.
I want it to be self-hosted (not ...
34
votes
3
answers
59k
views
How to Add OSM Layer to QGIS 2.X
How can i add OSM layer in QGIS?
The help says there is an OSM plugin i can use. But i don't see it the list of plugins.
Or maybe there is a WMS URL for OSM i can use?
QGIS version 1.7.0-Wroclaw ...
31
votes
3
answers
4k
views
OpenStreetMap content in commercial applications
I was considering the use of the OpenStreetMap API to retrieve vector features and combine them with other source data through a commercial tool. However, OpenStreetMap uses the Creative Commons ...
29
votes
7
answers
12k
views
Are there open access terrain tiles with a permissive license like OSM?
Are there open access terrain pyramidal map tiles with a permissive usage license like OpenStreetMap's? I'm building aviation-related maps with Polymaps and need a good raster basemap. The Google ...
22
votes
3
answers
2k
views
Where to get street data in an importable format?
I don't want to use WMS layers, but to actually store the data in my local server, where can I find street data from the world?
16
votes
2
answers
2k
views
How to overcome field truncation when converting OSM to shapefile with QGIS?
I am trying to convert an OpenStreetMap file into a shapefile, but I am having problems with the "tags" field being cut-off after 80 characters. With QGIS 1.4, I use the OpenStreetMap plugin to 'Load ...
11
votes
1
answer
2k
views
Seeking OpenJump tool for point/node conflation/matching?
Are there any OpenJump tools for conflating (matching) two layers of point (node) data?
I'm particularly interested in using such a tool to sync data with OpenStreetMap, where I've created a wiki ...
10
votes
2
answers
12k
views
Is there a way to retrieve all cities in the world from OpenStreetMap?
I have tried to retrieve them from the api with the following:
wget -O allcities.xml "http://www.overpass-api.de/api/xapi_meta?node[admin_level=8]"
however it does not seem to return all of them. ...
9
votes
2
answers
14k
views
What Spatial Reference System do I store Google Map's Lat/Lng in
I am new to PostGIS, Spatial Reference Systems and projections and want to store lat/lng coordinates retrieved from Google Maps and Openstreetmap and its services like the Geocoder/Nominatim. I'm ...
8
votes
1
answer
10k
views
Understanding the difference between coordinates projection in OSM and Google Maps in China
I'm looking at the coordinate differences between Google Maps and OSM. I'm a noob in the technicality behind GIS.
Having read:
EPSG 3857 or 4326 for GoogleMaps, OpenStreetMap and Leaflet
How to ...
7
votes
1
answer
1k
views
Load lines from .OSM in Processing Modeler
I'm trying to add some data in OSM file format in a QGIS 3.4 Graphical Modeler. I'm interested in the line type of data (layer ID 1) inside .osm file but I can only access point data (layer ID 0). The ...
6
votes
4
answers
4k
views
Downloading polygon files, like lake or municipal borders, from OpenStreetMap in QGIS?
I have a project that requires the polygon files of a large lake in the United States.
I found Lake Michigan in QGIS with the osmSearch plugin.
I did not find a way to download this data as a ...
5
votes
3
answers
5k
views
osm2pgsql Ways importing very slowly in .pbf, much slower than .osm
I'm currently importing the planet-latest.osm.pbf file I downloaded from ftp://ftp.spline.de/pub/openstreetmap/pbf/planet-latest.osm.pbf some time last week. I'm importing it using the following ...
4
votes
2
answers
3k
views
Is there a way to download and edit an OSM file in QGIS?
I am working with OSM maps in QGIS. I am looking for a way to extract a shapefile of roads, or buildings, from OSM so I will be able to edit them.
4
votes
4
answers
16k
views
Building a graph from OSM?
I spent days looking in all questions here and trying tutorials.
I need to build a graph for a region (It will be my input in simulation)
I downloaded Postgresql and Postgis and osm2pgsql. Now i can ...
2
votes
3
answers
8k
views
Using OpenStreetMap tiles in ArcMap
I was hoping to use ESRI's ArcGIS Editor for OpenStreetMap to view OpenStreetMap data in ArcMap, but my organization hasn't upgraded to version 10 yet.
I also know about ArcBruTile, but I prefer not ...
2
votes
1
answer
5k
views
Availability of MXD file for OpenStreetMap data in Esri Geodatabase?
From what I understand, an ArcGIS mxd file contains the "styling" information on how to show data.
I downloaded and imported OpenStreetMap data into my geodatabase. Now I need to show them.
Is there ...
2
votes
2
answers
2k
views
Planet_osm_point versus Planet_osm_nodes for querying places
Hello I am using a PostGis Database with OSM Data. After importing the data with osm2pgsql in slim mode I found a table named Planet_osm_nodes that has places also. It seems really compressed and has ...
2
votes
3
answers
852
views
Identifying missing sidewalks in OpenStreetMap data [closed]
I have a web map that is using the pedestrian routing from Mapbox's directions API. However, users have seen very long circuitous paths in certain locations because it appears that sidewalks (and/or ...
2
votes
1
answer
4k
views
Using PostGis BBox and ST_intersects Queries? [closed]
CartoDb Recommend here that the following query is faster than an St_intersects Query
SELECT * FROM {table_name} WHERE the_geom && ST_SetSRID(ST_MakeBox2D(ST_Point(-73.9980, 40.726), ST_Point(...
1
vote
1
answer
2k
views
How can I show the details from the highest zoom of OSM webmaps in QGIS for printing?
I would like to compose a large format map for printing in QGIS with the highest detail possible. My process looks like this,
Install "QuickMapServices" plugin
Click the "QuickMapServices" button ...
1
vote
1
answer
2k
views
How to obtain id of the entity on the map?
Let's say I am looking the map where there is a lake or the forest. How to find out find an id of it? If the lake/forest is divided into smaller chunk, how I can select given chunk and get id of it?
...
0
votes
2
answers
4k
views
PGROuting 2 : Getting nearest node to a given point (with lat - long given)
I have a point whose latitude and longitude (only) are known, and a table of nodes with their geom. I want to find the closest node in the table to the given point.
I think I can achieve this with ...
17
votes
3
answers
32k
views
How to calculate the optimal zoom-level to display two or more points on a map
We want to display several markers on a static map and want to calculate the optimal zoom-level like Google Maps does. We already calculated the bounding rectangle and the centerpoint of the map but ...
15
votes
2
answers
74k
views
Adding OpenStreetMap WMS layer to QGIS
I'm trying to add Openstreet Map (OSM) to QGIS3 (Ubuntu 16.04) as a background WMS layer. I found a list of OSM WMS Servers, and a WMS tab in the new Data Source Manager (Ctrl+L).
But after clicking ...