All Questions
Tagged with osm or openstreetmap
3,285 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 ...
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 ...
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://...
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 ...
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 ...
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 ...
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 ...
32
votes
3
answers
66k
views
Loading .osm.pbf file in QGIS
.osm.pbf it`s the extension for OpenStreetMap extract that I get from a site that takes daily extracts from OSM: http://download.geofabrik.de/
How to import these files in QGIS (on Linux or Window)?
31
votes
4
answers
2k
views
Donating and volunteering geographical knowledge? [closed]
I know a lot about the places I visit, and I want to share it with everyone.
I have been donating and volunteering at OpenStreetMap, and I am also aware of Google Maps.
Where else can I help with ...
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 ...
30
votes
6
answers
21k
views
Is there an opensource way of making 'streetview' panoramas?
I'm interested in making streetview panoramas and am curious if there are any opensource approaches that I should consider for both making and publishing these panoramas.
I've been playing with the ...
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 ...
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 ...
27
votes
5
answers
17k
views
Optimizing osm2pgsql imports for OSM data
I'm currently building an instance on EC2 on which to import the entire Planet.osm snapshot of the whole Earth's worth of data for some projects we're working on. I've spun up a large Ubuntu x64 ...
26
votes
2
answers
115k
views
Getting Lat, Long of clicked location using Leaflet API?
I am using OSM with Leaflet API. Now I want to get the lat and long of a clicked location. I meant something similar to this. ex: http://openlayers.org/dev/examples/click.html
map.events.register("...
26
votes
6
answers
8k
views
Creating a small web-mapping/map-tiling service
I am looking for a small-scale and easy way to present one or more polygon shapefiles online (on a municipal website without any existing map-server infrastructure, to be precise). Right now, I'm ...
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?
22
votes
7
answers
25k
views
How do you convert OSM XML to geojson?
I want to take the XML output of a Xapi query and display it using leaflet or polymaps. How can I do that? Is there an easy way to convert XML to geojson
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 ...
19
votes
7
answers
29k
views
What GIS application can open and use .osm files?
A quick question that I don't see an answer to elsewhere: if I download a .osm dataset from Planet.osm (for example) which GIS applications could consume/display this data without translation?
For ...
19
votes
5
answers
44k
views
Converting osm file to shapefile (or data frame) in R
I was looking for a road shapefile for Australia today. I ended up going to Geofabrik. Open Street Map has data in .osm format. But they do not have one in .shp for Australia.
If possible, I want to ...
19
votes
1
answer
39k
views
Alternative basemaps for leaflet
I am interested in creating a web map application, that will display a map of my country and various files (.tif, shp) on top of it as layers and I decided to build it on top of Leaflet.
So when I ...
19
votes
2
answers
71k
views
Viewing or importing *.pbf file (OSM data, binary format) in ArcGIS Desktop or QGIS? [closed]
How to view or import a pbf file (OSM data,binary format) in ArcGIS Desktop or QGIS?
Are any 3rd party applications needed?
I would like to edit this file on any GIS Software.
18
votes
2
answers
66k
views
Free tile provider for Leaflet
I'm using Leaflet for the maps of my website. So far I was using maps of Mapbox (they're cool), but they obviously charge for them for website with 100,000+ maps per month.
I'm trying to find a ...
18
votes
2
answers
7k
views
In osm2pgsql how is the planet_osm_roads table populated?
I'm using osm2pgsql to populate a North America OSM database from planet.osm.
I like how simple the resulting PostGIS schema is, but I'm a bit confused by its contents.
I have the two tables ...
18
votes
2
answers
32k
views
Where can I download OpenStreetMap data by geographic region?
I want to use OpenStreetMap data for an ArcEngine application I'm working on, and I need the data to be stored locally. I don't want to download the entire planet.osm file, but rather by state, county,...
17
votes
2
answers
8k
views
Are OSM ids unique over all Object types?
Are OSM IDs unique over all Object types?
Meaning, can a way-ID occur as a relation-ID or a node-ID as a way-ID?
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 ...
17
votes
1
answer
2k
views
How to detect roads from satellite images?
OpenStreetMap has announced a Bing API to detect roads. I want to know what is the theory behind road detection and if there is any open source tool that do that.
16
votes
6
answers
2k
views
What's the most promising application (use) of OpenStreetMap data? [closed]
In some areas OSM data is very complete and has a level of detail not seen in closed data sources. Another distinguishing factor is that it contains the knowledge of the people who live in that areas. ...
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 ...
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 ...
16
votes
5
answers
34k
views
Getting polygons of all countries and ISO-3166-2 subdivisons
In order to do reverse geocoding lookups to find a country (as ISO-3166-1) and the subdivision (as ISO-3166-2) for given coordinates I am looking for a way to get all polygons of all countries and ...
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 ...
15
votes
2
answers
16k
views
Filtering Overpass-API by country
Does anyone know how to perform a overpass-api request like this?
"Show me all banks in Germany"?
I could just show all 'amenity = bank' in a specific bounding-box. But Germany (or most of all ...
15
votes
4
answers
37k
views
Simple way to have an offline web based map? [closed]
My goal is to have a world map embedded in a web page, but without access to the internet. Preferrably only a set of tiles in combination with some slippy map js-lib. Storage space is not really an ...
15
votes
4
answers
2k
views
Adding offsets to route using pgRouting
Suppose that you're in "Point A" and want to go to "Point B". This points wouldn't be in "at_2po_4pgr" table cause aren't source/targets nodes.
Then, I would search for ...
15
votes
1
answer
1k
views
Combined Hstore key/value and spatial query too slow to handle bigger OSM extracts
I'm trying to compute some statistics for OSM data using PostgreSQL 9.3.5 and PostGIS 2.1.4. I started with a small bavaria extract which I downloaded from Geofabrik. The db schema is the normal API 0....
14
votes
5
answers
2k
views
Quality of free geodata compared to commercial sources
What are the sources of excellent geo-location data as possessed by Google Maps ?
I am wondering that, even with large amount of volunteer work involved, why is OSM data not comparable to theirs in ...
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 ...
14
votes
3
answers
23k
views
Merging OSM PBF files?
I have a few (~50) PBF files came from SRTM conversion using phyghtmap.
How to merge all of them before importing with osm2pgsql?
14
votes
4
answers
11k
views
OpenStreetMap Neighborhood Boundaries
Is it possible to download neighborhood boundaries from OpenStreetMap? I see on maps that they often indicate neighborhood names; is there a way to retrieve their coordinates and boundary polygon ...
14
votes
0
answers
2k
views
Implementing Snap to Road functionality [duplicate]
I am having a problem with a little application I'm trying to develop. What I do is take a phone with me and drive around the city on a bike.
I collect all the Latitude/Longitude-pairs and at home I ...
13
votes
5
answers
16k
views
Libraries to render vector-based maps in the browser
Is there a open source JavaScript library like Leaflet or OpenLayers which can be used in a web or mobile application and loads vector-based maps instead of images? I only need the road information ...
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 ...
13
votes
3
answers
3k
views
Processing raw OSM data for OpenStreetMap.org
Can anyone provide insight into how OSM data is processed or rendered for www.openstreetmap.org?
A specific example is that I extracted data from a recent planet.osm PostGIS dataset for an area in ...
13
votes
3
answers
13k
views
Creating a custom OpenStreetMap tile server
I'd like to create a map tile server based on the entire OSM planet database for a project I'm working on. I've worked with a couple of guides to try getting something up and running, but haven't ...
13
votes
2
answers
491
views
Finding "terminal" cities on the map
I want to find villages/cities which are ends. That means: I need this villages which are linked to maximum one village on a distance of X km.
I'm just wondering how is this algorithm is called (I ...
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 ...
12
votes
3
answers
11k
views
Downloading historical OpenStreetMap data
Where can I download historical data from OpenStreetMap?
I’m I am interested in downloading an OSM .pbf file of a particular city in previous years (say, from 2008 and 2010).