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)

1
vote
1answer
26 views

Why do I suddenly get 'ERROR' as elements in my attribute table after doing a query in QGIS?

I was looking at an .osm file in QGIS using the OSM plugin; I was specifically looking at a country's lines layer. When I checked the attribute table just after opening the .osm, everything looked ...
3
votes
2answers
228 views

How to extract all Way elements tagged as highways from OSM data using QGIS?

I want to extract/filter in all Way elements within a specific region tagged as 'highway' from an OSM file. I am currently thinking of using a Python library called osmread (by A Dezhin) that I ...
3
votes
1answer
140 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 ...
0
votes
2answers
102 views

Can OpenStreetMap display train stations?

I don't have a car and move around on a bicycle. I thus often need to know what the closest train station is to a location I need to go to. I notice OSM displays airports in an obvious way, such as ...
2
votes
2answers
177 views

OpenStreetMap display as simple as Google Maps?

I'm glad OpenStreetMap exists at all, but I find their display has way too much details. Here's an exemple of the same location: Is there a way to view OSM contents with the same level of details ...
1
vote
0answers
109 views

What are the pros and cons of each mashup baselayer? [closed]

I've been making some mashups recently in OpenLayers and find myself naturally favouring OpenStreetMap as a baselayer, I think this is mostly because I like the concept. I realised the other day that ...
3
votes
1answer
431 views

How to manage the osmosis filters?

I am a complete beginner in OSM and osmosis, and I am trying to build a stripped down version of a local map, in order to add nodes of public lights that would be used for maintenance. I have used the ...
2
votes
4answers
783 views

How to get street names from OpenStreetMap?

I have some SHP layers that contain some streets and buildings data, and i'm showing it with openLayers (by GeoServer). they are not contain the names of the streets or the numbers of the buildings. ...
1
vote
1answer
184 views

Why does Driving distance of pgRouting return disconnected results?

I am trying the driving distance function of pgRouting 2.0 beta, with an extract of OSM data. The problem i have is illustrated on the following image : On this picture i try to get all the ways ...
1
vote
0answers
16 views

Alrign Track from GPX file with roads [duplicate]

I'm looking into possibilities to align track data from a GPX file with known roads, perhaps coming from OSM. So far I'm able to show the tack as such on a map powered by leaflet. Since the app ...
1
vote
1answer
96 views

Removing Places from OSM

Doe is exists a way to remove all the places from the OSM map? Also like shops, bars, restorations, hotels etc. I wish to use a maps with a less info. Is it possible to do this from the original OSM ...
1
vote
2answers
139 views

Cutting OSM roads in sections using PostGis

I'm a newby in postgis. I define a section by a part of a road that has no intersection. See image bellow: I'd like to extract all sections from all the roads of my postgis database. This gis ...
4
votes
4answers
958 views

How to get vector data from OSM to use in QGIS?

How do I get data from OpenStreetMap which I can then edit in QGIS layer by layer? What is the best OSM output and what / how do I get to a suitable input for QGIS? OR...is there another appraach to ...
1
vote
3answers
2k views

How to embed a coordinate pair within URL to search OpenStreetMap, Google, Yahoo or Bing Maps

Is there a way to embed a latitude longitude coordinate pair within a url link to search for a location on either OpenStreetMap, Google and/or Bing Maps? I'd like to use the url link within Excel, ...
3
votes
1answer
343 views

Extract BoundingBox of Cities

For simple geocoding purposes I want to extract all cities from a single country of openstreetmap. They only queries I want to do are: ZipCode -> (List of) BoundingBox of City/Village ...
1
vote
1answer
244 views

Adding osm data to Postgres via Osm2pgsql : duplicate key value violates unique constraint

I'm trying to import osm global world data into a database created in postgreSQL but after a while of processing, I've got this error : Reading in file: E:\planet-latest.osm\planet-latest.osm ...
4
votes
3answers
282 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 ...
1
vote
1answer
231 views

Split all OSM roads within boundingbox in 20m segments and save to new table

I have a PostGIS Database with all streets from osm within a given boundingbox. Now I want to split all roads from my table planet_osm_roads into segments of max 20 meters length and save those ...
0
votes
1answer
143 views

Automatic four-colour (political boundary) rendering with PostGIS

This is probably a long shot, but is there a way to automatically select colours for neighbouring regions using the four colour theorem, in PostGIS? The data I'm using is suburb boundaries in ...
2
votes
1answer
253 views

Programmatically manipulate GPX data

I need to do the following in Python open OSM & GPX files (I have packages for this) transform points from GPX (like stick a track to roads) calculate the results (distances, cumulative ...
6
votes
6answers
404 views

Tool/Algorithm for generalizing OSM-Files for printing maps

Is there a tool or algorithm to (topological) generalizes OSM-shapes? I would like to build a printable map in different scales. In the image below you can see the same divided road (yellow) at ...
1
vote
1answer
112 views

Create tiles given images and locations; convert markers to tiles

What I need I need to convert a list of markers to a tile layer I've been googleing without success how to do this. Anyone has faced this problem and has a nice easy solution? Why I need it I've ...
0
votes
1answer
323 views

Reverse geocoding polygon co-ordinates?

I have a large dataset of polygons for property sections that I need to reverse geocode. It was recommended that I use a GIS like Quantam to do this however from my research I am not 100% sure if a ...
4
votes
2answers
499 views

Vector Mapping for iOS?

Are there any vector map data providers with API's, that i can use to build my app on iOS natively (not on a webview). Specifically im looking for: For a library/framework that uses existing map ...
1
vote
1answer
54 views

Main OpenStreetMap-based sites?

I don't like the way the standard OSM maps look (too much details), and would like to check if some OSM-based services are better than Google Maps. "List of OSM based Services" doesn't list them by ...
3
votes
3answers
287 views

Why is sum of st_length() of segments 20% too big?

I'm running a query to return the total length of some bike paths, from OpenStreetMap. Compared to the known actual length of these paths, they're all a bit too big - something like 10-30%. I know it ...
2
votes
1answer
284 views

Find nearest neighbours faster in PostGIS

I currently have a query that calculates the number of useful amenities within a certain radius of each town, using OSM data: create table places as select town.name, place, town.way, ( select ...
1
vote
0answers
56 views

Query OSM ids by name in PostGIS

I installed PostGIS on a server and now I want to query the OSM ids referring to a name, in order to get a list of all geometries according to this name. Is there an efficient way to query this ids ...
1
vote
2answers
90 views

Is there a way to keep toll_booth nodes in osm2po's output?

I am writing a code that performs a custom routing on the sql relation generated by osm2po. Amongst several other things, I need to detect if the selected route (list of ids) passes through one or ...
1
vote
1answer
1k views

OpenLayers: Problems adding WMS layer to OSM

I need to create a map with 2 layers. The first layer (basemap) is the OSM layer, and the second layer is my custom geoserver WMS layer. This layer is in EPSG:4326 projection. Is this possible? I have ...
2
votes
1answer
432 views

Batch Mode Routing for Fastest Route Distance

I would like to run a batch process to derive the total driving distance between points, for a largish set of point-pairs. e.g. I would have data something like: Start_ID Start_Lat Start_Long ...
2
votes
2answers
583 views

Converting OSM_ID to coordinates

I have downloaded some open street map data from Webgeo, but instead of coordinates it came with an "OSM_ID". I cannot seem to find any data dictionary or information about this variable on the web. ...
2
votes
1answer
58 views

How does Mapnik Map Similar Features to Images

General Problem I want to be able to select all nodes inside of a bounding box that have similar properties. A good example would be: Map features that represent vegetaion. In other words: Basically ...
2
votes
1answer
298 views

Help building SQL query to get a list of streets of a city

From two layers in PostGIS (osm_places and osm_roads), I would need to have the roads belonging to a certain city. It would be fair enough to get the street names of all streets in a radius of X ...
0
votes
0answers
59 views

How does TileStache handle cache invalidation?

We are trying to set up our own openstreetmap server. From what I read here, you can use a variety of caches to speed up serving the data. Now, once a week, the people of openstreetmap provides a ...
0
votes
3answers
88 views

How to separate and get geographic area info from planetosm

I have planetosm data file which is nearly 18GB now i need to seperate and get only my country details. Is there any way to seperate that data from osm file? I'm using OSGEO 6.05
0
votes
0answers
77 views

How to start Routino with current location?

I'm trying to develop a routing system, I'm using Routino as the routing engine...as anyone tried to instantiate the first marker (starting point) with the user current user location that can give me ...
2
votes
3answers
383 views

How can I export or query all hospitals from Open Street Map?

I'd like to extract all the hospital locations in the US from Open Street Map as a reference for my geocoding project. I know how to get all the OSM data for a small area with the QGIS plugin but not ...
2
votes
1answer
670 views

OSM, Displaying a road with a line on a map from selected nodes

Along with a friend, we have started an educational side-project,for fun not as a commercial or trial software, to test what we have learned these last few months. We decided we would do a simple map ...
1
vote
0answers
144 views

problem overlaying osm with os-derived data in QGIS - both British National Grid

I am currently working alongside city council datasets derived from Ordnance Survey; this is projected in their ArcSDE system as "British National Grid" or EPSG:27700. My problem is that I am trying ...
0
votes
0answers
37 views

What map providers allow export xml data like openstreetmap?

I'm looking for map providers that return xml data about an specific area like openstreetmap export functionality. Do you know any service opensource or comercial that works in that way? Thanks in ...
1
vote
2answers
663 views

OSM data on MapServer

I'm making an evaluation to replace the TomTom commercial Database (ex TeleAtlas) with Open Street Map data. What I need to do is use the street map as a base layer for my WebGIS applications. I use ...
2
votes
2answers
944 views

Why does OpenLayers load OSM-like tiles, but does not show them?

I created a tile server with OSM-data in the German style. The data is quite similar to the official tile server for openstreetmap.de, provided by Fraunhofer IOSB. ...
0
votes
1answer
868 views

Offline usage of OpenStreetMap or alternatives

I'm planning to implement an offline map solution for windows phone using open street maps. To achieve this, would I need to download complete OSM database first and than use it? Or is possible to ...
4
votes
2answers
508 views

Calculating distance and/or time taken to travel from population centre to nearest hospital in QGIS

I'm trying to find out how long it would take to travel by car from each of the Lower Layer Super Output Areas (LSOA) in Norfolk, England to the nearest Hospital (or just what the distance is and I ...
0
votes
1answer
246 views

missing tables vertices_tmp and vertices_tmp_id_seq pgrouting workshop

I'm using OSgeo 6.5 dvd and studing pgrouting workshop for get shortest path. I created database call "routing" and used "template_routing" for create tables but only 3 tables created. So then I ...
2
votes
2answers
114 views

Converting Mapserver default URL to a more user friendly version

I use the default MapServer URL to view the map in browser. http://localhost/cgi-bin/mapserv?map=/home/mwh/osm-demo/basemaps/osm-google.map&mode=browse&template=openlayers&layers=all ...
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 ...
0
votes
2answers
319 views

add a vector point on OSM map

I have managed to show Lat and Lon function init() { navigator.geolocation.getCurrentPosition(function(position) { document.getElementById('myloc').innerHTML="Latitude: " + ...
2
votes
1answer
110 views

How to render iD editor-style streetmaps?

Is there a simple way to render OSM data (let's start with just streets and names for a single metro area) client side as nodes and edges like the new iD editor? I'm comfortable with d3 but am ...