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 shorted to OSM.

learn more… | top users | synonyms (1)

3
votes
3answers
10k views

How to get the Lat, Long of a 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 ...
3
votes
3answers
1k views

How do I apply Dijkstra's algorithm in Python with PostGIS data?

I have currently parsed OSM data, from a PBF file, into a pgRouting database with the use of osm2po, an excellent parsing tool. I don't however want to use the algorithms provided by pgRouting and ...
3
votes
2answers
763 views

What is the highest possible value of OSM_ID?

What is currently the highest value of OSM_ID in openstreetmapping? What is the highest possible value of OSM_ID? 2^31 (2.147.483.648)? And here I add some more text or my question is rejected ...
3
votes
2answers
360 views

Most reliable way to import large dataset with osm2psql

I know my question is similar to slow import via osm2pgsql to postgresql database and Optimizing osm2pgsql imports for OSM data but as we currently have quite some problems importing a large set of ...
3
votes
2answers
281 views

Error while using osmosis

I was trying to filter openstreet map data using osmosis. I used the following osmosis --read-xml city.osm --tf accept-ways highway=* --used-node --write-xml highways.osm But while i run this ...
3
votes
2answers
1k views

OSM - Extract Streets from OSM Data (With/Without Python)

I'm currently in the works of creating a pythonic way of extracting street names from an OSM dump for the Province of Quebec. Originally, I wanted to do this in Python to make it easier to integrate ...
3
votes
2answers
1k views

Generating very simple slippy map tiles

I have an app that uses slippy maps. The tiles I'm currently using contain a lot of information that is superfluous to my users. I've been investigating generating replacement map tiles that contain ...
3
votes
2answers
466 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 ...
3
votes
3answers
274 views

Offline Map Service with Mapnik and Leaflet

I'm relatively new to GIS, so I hope my asking doesn't appear to be ignorant in any way. I currently work on an offline map service solution for usage in areas without internet connection. For that ...
3
votes
4answers
3k views

Alternatives to Google Maps on Android Phone

Android phone has Google maps as its stock/default Maps, POI and Navigation app. What are other options that i have which can be used instead of Google Maps? One Obvious answer is OSMAnd. OSMAnd has ...
3
votes
2answers
156 views

Where can I get public transportation route information for USA?

I'm trying to find a list of public transit route information, mainly location of bus and train stops for the US. I've looked around at some of the Google products and openstreetmap but can't find ...
3
votes
1answer
301 views

How to draw line by scratching on map using OpenLayers?

Is it possible to draw line by scratching on the map using OpenLayers? I tried some examples, all the examples are drawing by clicking. I want to draw by scratching, just like drawing in normal life ...
3
votes
1answer
427 views

Use QGIS to visualize OpenStreetMap data

I have a osm map for a certain region. Also using osm2po I extracted the graph which includes edges and nodes into the database. Now I want to visualize the map and then visualize the shortest path. ...
3
votes
3answers
97 views

USA County level, detailed OpenStreetMap basemap in tiff?

Is there any way to get detailed (close zoom) OSM tiffs at the county level in the USA? I would like to use them as basemaps for a class I am teaching in GIS, using QGIS. I know about (and love) the ...
3
votes
4answers
153 views

How to select features in OpenStreetMap

I'm using OSM (online) with OpenLayers to show my map (I don't have a mapserver) but when I do this: map = new OpenLayers.Map( 'map', {numZoomLevels: 7, units:"km", minZoomLevel: "10" } ); ...
3
votes
2answers
315 views

Displaying OSM file with markers

I'm trying to show OSM file which I exported from openstreetmap api. However, layer I add with OSM file is displaying like just polygons, I cannot show markers (street names, names of buildings etc.) ...
3
votes
1answer
324 views

Retrieve geographic coordinates from OSM imported data

We have just finished importing OSM data into our PostGIS (Postgresql) database. And we are having difficulty understanding the geometry of various shapes imported. We run a query to retrieve the ...
3
votes
2answers
454 views

Slippy map format

When do you decide which to use? I've started using Geoserver and it seems like map files are downloaded to the browser (using Leaflet) in the WFS format. When I look at OSM, Mapbox etc, they use ...
3
votes
2answers
647 views

Unencoding JSON output from OSRM

I set up Open Source Routing Machine (OSRM). The documentation does a pretty good job of laying everything out and I was able to get a server set up and running on my machine. My question is about ...
3
votes
2answers
156 views

Multiple queries in a row

I have osm data imported into PostgreSQL with osm2po tool (wich makes the data routable). Also I have imported data relationed with nodes and node_tags with osmosis tool. I need to obtain a set of ...
3
votes
4answers
245 views

How do you create Revision Table in Arcmap for OSM contribution?

I have created the following detailed file for upload to OSM in ArcMap but don't know about creating a OSM Revision Table to be able to put the data into OSM. At 1:10,000 At 1:1000 The tool ...
3
votes
2answers
1k views

How to get started with pgRouting and OSM?

I have followed these instructions to install postgresql and pgrouting on our ubuntu server: ...
3
votes
3answers
278 views

How to visualize the vertices of a graph in QGIS?

I tried to visualize the graph generated by osm2po and rendered that graph in qgis. Now what I am trying to do is plot the vertices in the graph. So that I can visually see where the nodes/vertices ...
3
votes
2answers
3k views

Markers on openlayers openstreetmap

I am trying to show some markers from a database in openlayers. I tried it in google maps in past using GDownloadURL fuction to read a json php generated file from my database. Now I tried the same ...
3
votes
2answers
586 views

How much information does QGIS's OpenStreetmap Plugin download?

I am using the OpenStreetmap Plugin for QGIS to download the information for my university extent. The information as I see is downloaded in vector format divided into Points, polygons and lines... ...
3
votes
2answers
5k views

Can you use OpenStreetMap tiles in ArcGIS 9.3.1?

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 ...
3
votes
2answers
147 views

Incorrect display of national characters from Spatialite in QGIS, Windows

I used this tutorial by Underdark (thanks much :-) ) to convert my area of interest from OSM file (whole Czech Republic downloaded from Geofabrik.de server). Used OSGEO4W shell (saying "GDAL 1.11.0, ...
3
votes
1answer
139 views

How to render overlapping bus trips as one route from OSM?

I would like to create bus map for my city from OSM data. I imported data into Postgresql with osm2psql and I can render routes with Mapnik. But the problem is that same route ref is shown multiple ...
3
votes
1answer
440 views

osm2pgsql: Import data in custom projection

I have osm-file and I want to import it to the postgresql via osm2pgsql with custom projection EPSG:20022. I look to the help and found out any keys like -E EPSG: but when I try to do with it I get ...
3
votes
2answers
2k views

OpenLayers vs Leaflet for specific app

Could anybody give me some advice on which one should I use? OpenLayers or Leaflet I will implement OSM on a web-app for taxi management. The requirements for the map part are: Tracking of the ...
3
votes
2answers
1k views

Display two layers with OpenLayers at once

How can i display two layers with diferent projections at once? For example i have layer with EPSG:70076 and OSM layer.
3
votes
2answers
34 views

Querying PostGIS and OSM to get only major stations and subway of UK?

I am working with Great Britain OSM data. I have read the classification of UK railway stations. There are a lot of classes in there such as subway entrance, halt, station and many others. I want to ...
3
votes
1answer
13 views

Trying to get major roads using Name of the road

I am trying to use OverPassApi to get a road Geopoints of Major/Minor roads in USA. Here is the query <osm-script output="json"> <id-query {{nominatimArea:USA}} into="area"/> ...
3
votes
2answers
28 views

Missing roads from highway tag OSM

Hi I am new to using QGIS and I am currently trying to put roads onto my canvas. I have tried adding only 'highway' and 'oneway' polyline tags from the OSM database, but there is still a few roads ...
3
votes
2answers
58 views

What are the types of bus routes data, which are made available from Open Street Map (OSM)?

With regards to bus routes, what are the types of data which are made available for download. Is it possible to export a region's bus routes in open street map (OSM) or GIS data format?
3
votes
1answer
113 views

OSMOSIS: How to extract all railway stations in use?

I'm trying to retrieve a list of all railway stations of Belgium that are in use. I downloaded the country osm from http://download.geofabrik.de/europe/belgium-latest.osm.pbf. I tried the following ...
3
votes
2answers
364 views

How to import OSM Data into mongoDB in easy way

Can any one tell me how to import OSM data in mongoDB step by step ? This is the link of data http://download.geofabrik.de/europe/germany/baden-wuerttemberg/karlsruhe-regbez.html ...
3
votes
1answer
109 views

Day and night zone layer for Leaflet

I'm working with Leaflet and I'd like to show the day and night zones adding a dynamic layer to my map. I was thinking to add a static layer with some transparency and make it move every x minutes but ...
3
votes
4answers
154 views

How to make an editable City Map from OSM data?

I want to make a map of Cardiff, Wales, showing features useful to tourists, e.g. roads with road names, parks, museums, other POIs, etc. I want the final map to be clear to read - simple roads and ...
3
votes
1answer
155 views

Can OpenLayers.Layer.OSM (the OSM tile servers) be used in production environment?

open layers has an openstreetmap layer built in : OpenLayers.Layer.OSM (are the tiles they use from openstreetmap servers or somewhere else?) can it be used in a production environment in terms of: ...
3
votes
1answer
160 views

Local Copy of OpenStreetMap of my City in PostGIS Database

I would like to use OpenStreetMap vector data for land cover analysis in my city. Here is my goal: I set up a PostGIS database with the city area extent (around 20x20 km) on my server. I will ...
3
votes
4answers
1k views

How to import polygons from OSM to QGIS?

I am trying to import Polygons from OSM to QGIS 2.0, but so far I have no idea how to do that. E. g.: Kisterseg auf Tatabanya in HU: http://www.openstreetmap.org/?relation=1027806 Is there any fast ...
3
votes
2answers
3k views

Where download sld styles for OpenStreetMap for GeoServer?

I display OpenStreetMap with some sld styles. This map is not the same OSM. I want that this map is equal OSM map. I use geoserver 2.3.5 Does anyone display OSM through MapServer, ArcGisServer ...
3
votes
2answers
323 views

Use of OpenStreetMap France in another country

I've just stumbled across OpenStreetMap France and was amazed to find that it has 2 extra zoom levels, 19 and 20, whereas OpenStreetMap only goes up to 18. In our application we display potentially ...
3
votes
1answer
153 views

Tilemill reversing land and water at high zoom levels

I tried asking this over at MapBox's support forum and got no help. I am trying to generate a map of Northern france using Tilemill and this set of land polygon data from openstreetmapdata.com (the ...
3
votes
1answer
261 views

How often are MapQuest tiles updated with new OSM data?

When users make edits to OpenStreetMap, how long does it generally take for those edits to show up in the MapQuest tiles? Is this on the order of hours, days, or months?
3
votes
2answers
495 views

OSM Python Utils: Modifying generate_tiles.py to create 512 x 512 tiles?

[Edited to include example image outputs] SE folks, I'm wanting to modify generate_tiles.py to create 512 x 512 tiles. At om_henners' recommendation, I tried replacing 12 of the 13 instances of 256 ...
3
votes
1answer
2k views

Use OpenStreetMap in Basemapgallery - Manually

I dont know how to add the OpenStreetMap to the basemapgallery. I want to do this manually because when i use ShowARCGIS basemaps:true i get too many basemaps i dont use. Here's my code: ...
3
votes
1answer
109 views

What are OpenStreetMap license requirements?

We are planning to mix OpenStreetMap (OSM) layers with our own layers and afterwards to build an application which will perform common GIS tasks. Assuming we are allowed to mix our layer and OSM ...
3
votes
1answer
3k views

How to reverse geocode without Google?

I have a basic tracking system i've written with OpenLayers using google and openstreetmap and I want to use geocoding to get street names etc However, I'm a bit confused. I was hoping there was a ...