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)

4
votes
3answers
4k views

How to extract primary and secondary roads from OSM 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....
4
votes
1answer
2k views

Does anyone display OpenStreetMap through MapServer, ArcGIS for Server or Geoserver?

I use Windows OS. The data (OpenStreetMap) are stored in a postgres/postgis database. How do I display this data correctly? Update: Now I use: geoserver-2.3.5.exe, postgresql-9.1.9-1-windows-x64.exe,...
4
votes
3answers
4k views

GDAL 1.10 ogr2ogr OSM “Unable to open datasource”

I have a problem with ogr2ogr and osm file. I install from source (on Ubuntu 12.04.2 LTS) newest GDAL libary and OGR still can't read osm files. gdal-config --version 1.10.0 ogr2ogr --version GDAL 1....
4
votes
3answers
848 views

More zoom in base layer in openlayer.

I have some GIS project to do, in this project I need to place something like 20,000 trees on a map. So I did a web app with .net that includes map that based on OpenLayers with bing base map. My ...
4
votes
1answer
453 views

Adding bike infrastructure data to OpenStreetMap? [closed]

Is there a best practices guide for adding bike infrastructure data to OSM? Not simply how to add a bike path, but a list of best practices for actually fleshing out sometimes disjointed bike ...
4
votes
1answer
259 views

Getting lane data from OSM

I want to extract road network data from OSM for a small city. From where can I get the lane information of any road in OSM. I tried exporting the data in the OSM XML format and there was no lane ...
4
votes
1answer
2k views

OpenStreetMap tiles not loaded despite being received

While using OpenLayers to load OpenStreetMap, I observe that part of the map would sometimes be covered with blank pink tiles. I searched and found similar complaints with solutions suggesting the ...
4
votes
1answer
7k views

How to display places names when using Quantum GIS and shapefiles?

I am new to the world of geo systems. What I would like to do is displaying some information on a map for given regions. I downloaded shape files from cloud made web site and load layers using ...
4
votes
1answer
785 views

Open street map accuracy problem

I want to locate shops with open street map. For that I send a query to nominatim, a webservice which geocodes coordinates from addresses. I draw a marker at the returned coordinates, and it´s ...
4
votes
2answers
2k views

How to “calculate” distance-to-ground of all 18 OSM zoom levels?

Assuming I'm building a 3D solution with the "world" being mapped to global geo-data supplied by OSM / Cloudmade... think http://www.webglearth.com but with completely different goals and use-cases. ...
4
votes
1answer
57 views

Split very large OSM file

I'm trying to get detailed geojson data for various African countries. I think I found a good source at http://download.geofabrik.de/. The problem is that the downloaded file is in osm format. I know ...
4
votes
1answer
182 views

Styling OSM data with OSM-Carto

I have set up on Ubuntu a tile server by following this tutorial I followed the instructions for downloading and configuring osm-bright, but now I want to use the openstreetmap-carto stylesheet. In ...
4
votes
3answers
216 views

Is there a service to check whether a gps path belongs to a public road?

I have a bunch of GPS tracks. I want to exclude the ones which go via public roads. I'm interested in off-road segments only. Is there any public api to check if a given set of coordinates belongs to ...
4
votes
2answers
428 views

Is there a public API that can be accessed with Python and will geocode Points of Interests?

I recently downloaded tagged hospital data from OpenStreetMaps.org using the API. Some of the data have a 'node' tag which are attributed with a lat/long while other data are tagged as 'way' format ...
4
votes
1answer
604 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 ...
4
votes
1answer
997 views

Free Web-service providing Satellite Images

Is there any web-service currently available which is hosting satellite images as open-source, just like OSM web-service hosting vector maps? We want to make a real-time traffic monitoring commercial ...
4
votes
3answers
1k views

How can I convert a set of ShapeFiles to an OSM file?

How can I convert a set of ShapeFiles to an OSM file?
4
votes
3answers
2k views

How do I query highways with overpass turbo?

I want to use overpass to show major highways for a US city. How can I query that from overpass turbo? I tried the following code here and it returns tons of dots. I really want only lines showing ...
4
votes
3answers
453 views

Open Street Map: converting to country -> administrative unit -> city database

To moderators: If you think this question is too broad, please point me into right direction before closing, I'm desperately looking for help. I'm stuck on my task and I don't know what to do. The ...
4
votes
2answers
6k views

Create Fantasy Map

I'm currently looking to create a Fantasy map and share it with my friends. We have the map designed already in flash to certain degrees of detail and able to export as a vector. We'd like it to be ...
4
votes
4answers
2k 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 ...
4
votes
1answer
3k views

Manually building a tile server

I use this instruction http://switch2osm.org/serving-tiles/manually-building-a-tile-server-12-04/ I have the problem on the step "Starting your tileserver" sudo mkdir /var/run/renderd sudo chown ...
4
votes
3answers
584 views

OpenStreetMap data at different scales

Could anyone just clear up a question regarding openstreetmap data. Are there different OSM data sets for the various set scales, or do the data get generalized on-the-fly when the map is zoomed out ...
4
votes
1answer
2k views

Maperitive: how to add a new rule-set

Maperitive, a desktop OSM renderer, stores its rulesets for rendering in a subfolder called "Rules" - at least when running under Windows. I tried to generate my own rules (or to be more honest I ...
4
votes
1answer
4k 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 ...
4
votes
1answer
69 views

How to download highways marked with a specific relation from OSM?

There's an excellent general question about downloading canals here: How do I download specific OpenStreetMap data by tag? There's also plenty of knowledge about OSM in general, but one thing I ...
4
votes
2answers
454 views

What is the recommended workflow for using TileMill and OSM?

Using osm2pgsql, I imported an OSM extract into a Postgres database. Then I made a layer in in TileMill that contains the data from Postgres. The map was exported to a MBTiles file. At this point, all ...
4
votes
2answers
2k views

Importing OSM Data into MongoDB?

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 https://gis....
4
votes
4answers
406 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 ...
4
votes
1answer
464 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?
4
votes
1answer
4k views

select two markers & draw line between them in leaflet

I am very much new to leaflet. I have multiple markers plotted on my map in leaflet. now I have to draw line between two markers when I select them. Can any one help in doing this.
4
votes
2answers
848 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 ...
4
votes
1answer
3k views

How to get bounding box from coordinates (latitude, longitude), zoom level and size (screen)?

Is possible to get bounding box from coordinates (latitude, longitude), zoom level and size (screen)? I found only calculating bounding box from tile. I need it, because OpenStreetMap accept only bbox ...
4
votes
1answer
680 views

Sub-dividing a polygon into smaller polygons

In OpenStreetMap data, some large areas are tagged with a residential=yes tag. Actually within this large polygon there are multiple smaller (rectangular) houses (which are actually not drawn as yet). ...
4
votes
1answer
743 views

How do i get country boundary and names to show up in postgis backed mapnik rendered map?

I followed this to setup postgis server with planet-latest.osm. I used generate_xml.py to generate stylesheets. Using this style sheet with mapnik produces a world map with no country boundaries or ...
4
votes
2answers
1k views

Cleaning up OpenStreetMap data, building polygons and trying to improve appearance

I'm currently going through my first project with OpenStreetMap data and I'm struggling to see how certain features can be made to look anywhere near as good as in OpenStreetMap.org. I downloaded a ...
4
votes
2answers
1k views

Using planet.bz2 with ArcGIS Editor for OSM, sync'ing changes

Overview: We are attempting to clean up and revise the OSM data of our County by comparing it to a more accurate (public domain licensed) street layer within the ArcGIS Editor for OpenStreetMap. ...
4
votes
4answers
636 views

Assessing OpenStreetMap coverage for international routing

I posted the following question on the main StackOverflow website, but was informed that I might get a better response here. Hence I'm copying it below. Note however, that I have an active bounty on ...
4
votes
1answer
119 views

Routing ensuring all areas are touched

I'm making a web application with leaflet and OSM. It's all going well, but now I need a little help. I'm searching for a good routing engine, that's capable of creating the most probably taken route ...
4
votes
2answers
245 views

Is it possible to decrease detail level (decrease file size) in Spatialite OSM export?

I currently use Spatialite exports from OSM data (together with Google maps like styles by Underdark) which are very useful for me as the files are easily portable with the project and I do not need ...
4
votes
1answer
1k views

Mapnik + OpenStreetMap + Shapefile with Raster Images + Mod Tile + PostGIS

I am new to GIS. I have a Shapefile (.shp, .shx and .pbf). The .pbf file contains path to PNG files located on my machine only. I was able to save the Shp data to PostGis via Shape2Gis tool. Now ...
4
votes
2answers
2k views

Adding Garmin *.img files to QGIS?

I downloaded 10 .img files from garmin.openstreetmap.nl which are supposed to contain the topo tiles for the area I would like to add in qgis. I've been unable to find any instructions on how to use ...
4
votes
1answer
770 views

Recommended specs for a single-country OSM tile server

What specs would you recommend for an OSM tile server dedicated to serving tiles for a single, small country (e.g., Portugal only)? Total server load is estimated to be no more than two/three users ...
4
votes
3answers
2k views

Generating MapQuest Style tiles for offline use

I need to create about a 9-level deep SLIPPY map of the world from OSM data (for offline use). So I cannot use the MapQuest, CloudMade, etc. servers). The projection must be EPSG4326 (LL84) which is ...
4
votes
1answer
274 views

OSM personal points of interest

I use OpenStreetMap along with OSMand on my mobile device. I have personal points of interest on my map that I do not want to upload to the community. Currently I use Favorites in OSMand to save ...
4
votes
2answers
251 views

How to filter and download OSM data by attribute tag?

Is there any online service that allows to download only one thematic layer of the OSM data for a specific geographic region? For example all objects related to vegetation (trees, grassland,...), but ...
4
votes
2answers
2k views

osm2pgsql Error: operator class “gist_geometry_ops” does not exist for access method “gist”

When using osm2pgsql to import massachusetts-latest.osm.bz2 into PostGIS 2.0.1 database osm (running on PostgreSQL 9.1 on an Ubuntu 12.04), I get the error failed: ERROR: operator class "...
4
votes
1answer
2k views

Qgis OpenStreetMap plugin misbehaviour

I used the plugin successfully. But yesterday, after changing several buildings in JOSM. Import under qgis with the plugin does not work anymore. The buildings are in the layer point! Do you have any ...
4
votes
1answer
2k views

How to use a sld file with Openlayers using OSM data?

My app, made with openlayers, displays building data called from overpass api. var data_url = "http://overpass-api.de/api/interpreter?data=(way[building](bbox);node(w););out body;"; //main working ...
4
votes
1answer
122 views

Why are selected features not highlighted in OSM layers?

I am experienced with GIS, but new to QGIS and Opensource data. I recently opened an Open Street Map (osm) file in QGIS 1.8 (on Kubuntu 12.04). I found that when I selected a feature, there was no ...