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
2answers
687 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
59 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
456 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
403 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
58 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
124 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
2k 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
796 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
949 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
69 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
421 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
72 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
93 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
93 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
771 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
1k 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
178 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
38 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
924 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
1k 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
1k 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 ...
5
votes
2answers
783 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
313 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
144 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
511 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
119 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 ...
2
votes
2answers
355 views

From OSM to shape. Parsing problem

I'm working at OpenStreetMap project for android at the moment. I want to retrieve OSM data from my app(nodes, markers and paths) and convert it to shape file (.shp, .dbf and .shx). Later, I'll load ...
3
votes
1answer
177 views

Convert OpenStreetMap schemas to ArcSDE in PostgreSQL database

I am trying to find a way to store OSM Extracts (or possibly the planetfile) in a PostgreSQL database, keep it up to date with diff files and then process the data further with ArcGIS (e.g. Geocoding, ...
1
vote
0answers
168 views

How to extract an adjacency matrix from OSM?

I would like to use graph algorithms from the Boost graph library on OSM data. What are my choices to use Openstreetmaps data from within a C++ program ? I need at least a flat file with a list of ...
2
votes
1answer
623 views

Batch convert OSM/PBF data

I need to import some OSM data about a region of Italy into a SHP file or Postgres DB, possibly with batch process. I already use OGR2OGR to batch import data from SHP to Oracle and Postgres and I ...
0
votes
1answer
318 views

Does tile server renders every request?

I am trying to understand how tile server handle requests. I red about Mapnik which "creates" the map using OSM, Does "creates" means that every request is rendered and returned? If yes what is the ...
2
votes
1answer
1k views

Understanding the difference between coordinates projection in OSM and Google Maps

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 ...
4
votes
1answer
229 views

Is there a best practices guide for adding bike infrastructure data to OSM?

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 ...
0
votes
1answer
702 views

How to create a map with OSM and webatlas.de's WMS layer?

I spent hours trying to figure out the following problem, I hope someone can help me. You can see here that this WMS has different Projections available: ...
5
votes
1answer
470 views

How to access the road graph plugin in python?

I am developing a few scripts in Python for QGIS 1.8 to automate some geo-tasks and one of them would be to calculate the shortest distance from a hospital to each building in a town. I would like to ...
1
vote
0answers
108 views

What are the standards to implement scale bar?

I am working on .osm data files, and now i want to implement scale bar for available data. logically i have created the scale pixel is to geo location. I want to know whether there is any standard to ...
3
votes
1answer
666 views

How to find the country in which a point is located?

I have a PostGis database created with osm2pgsql. I am looking for a way to add the country name in which a point is located to the point row. It must work also for countries with enclaves, such as ...
1
vote
2answers
250 views

How to create a suitable filtered .osm for osm2po using OpenStreetMap Overpass API?

I successfully created a (.osm) set suitable for routing in a desktop GIS over a large custom area thus keeping only primary network (way object) using the Overpass API (see below). I'm trying this ...
2
votes
1answer
296 views

Kartograph Open Street Maps

Firstly, congratulations to Gregor Aisch for creating such a wonderful library, thank you! I am having a little trouble rendering an svg from some osm data. I downloaded the Sweden transportation ...
0
votes
1answer
369 views

openlayers python proxy.cgi script is not taking parameters

I have setup the python proxy.cgi in cgi-bin folder in my server. [myserver]/cgi-bin/proxy.cgi returns the openlayers website [myserver]/cgi-bin/proxy.cgi?url=www.openlayers.org returns list index ...
3
votes
2answers
491 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 ...
2
votes
1answer
147 views

Why is osm road data showing up with lines radiating from a point?

My openstreetmap data has artifacts that I can't seem to get rid of. It is showing the roads underneath the artifacts so I know that the query is working at least partially. The data is from ...
0
votes
0answers
19 views

Importing openstreetmaps exported OSM to opengeo using osm2pgsql problems [duplicate]

i'm having some issues when i go to import osm using osm2pgsql. My layers are showing all the roads coming from a single point. See photo link. I have loaded the same OSM file into Qgis and ...
2
votes
2answers
705 views

How to create a printable map of labelled markers with OSM background?

I want to create an image of an OpenStreetMap map suitable for printing on A4 at 300dpi. The map needs to have half a dozen markers/points, and each should be labeled with the name of the point. I ...
0
votes
2answers
100 views

Is PostGIS doing a full table scan?

I am trying to retrieve all points p that are within polygons c. While building the query, I came across this strange behavior. Question: Why does query 2 takes so long compared to query 1? Is it ...
1
vote
2answers
362 views

How to convert osm way xml to openlayers feature?

I am displaying the osm data through a popup with openlayers. For now i am using the overpass api to get data. But my app needs to reflect the rapidly changing data i.e. one changes the data then ...
3
votes
1answer
337 views

Problems printing OpenLayers Pluggin Maps To Scale

It the print composer I can print all maps to scale and satisfactory. However, when I add the OpenLayer, usually Bing Aerial, to the project I cannot print it out to scale. I click the scale box, ...
2
votes
2answers
93 views

Load surface to SQL using osm2po

Does anyone know, if it is possible to make osm2po able to load extra road data into SQL file, such as the surface tag? [1] I know it is not much used, but when it is, it would be nice to know if the ...
1
vote
1answer
226 views

How can I map data points to OpenStreetMap (OSM) line data?

my goal is to filter measuring points of vehicles by mapping them to streets. So I could filter out all the false data located in fields and rivers and so on. I imported my data into a PostGIS ...