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)

6
votes
1answer
596 views

demo maps for training pgRouting

I'm very new to postgis and pgRouting but I'm using it for my thesys. I need any map to train my self with routing and TSP problems in pgRouting, but on the Internet I found unworking links only! Can ...
6
votes
1answer
66 views
+100

osmfilter filter for nodes and find the related/nearest street to every node

I'm successfully managed to filter all nodes of a specific type by using osmfilter: osmfilter austria.o5m --keep="highway=speed_camera" Now I have got a lot of nodes like this: <node ...
6
votes
1answer
341 views

TileMill fails to load Europe data from PostGIS. What am I doing wrong?

The Problem: Using OSM-Bright in combination with an imported (osm2psql) Europe shapefile, tiles won't load unless I have 2-3 layers active (of the total of 29). I don't have this problem with an ...
6
votes
2answers
3k views

Download link to osm2pgsql

I need to download the osm2pgsql for Windows i tried from the path which is given in wiki http://customdebug.com/osm/osm2pgsql.zip and also from below link ...
6
votes
1answer
2k views

Retrieve speed and number of Lanes in Google Maps API, OSM data or any other stream?

Is it possible to return the posted speed and number of lanes of a highway segment using Google Maps API, OSM data, or any other stream (paid for or free)?
6
votes
2answers
3k views

How to set up an OSM server with TileCache and Mapnik?

I have been trying for two and a half weeks so far to get a local copy of OpenStreetMap running on a server. I have downloaded the planet file and imported it into a PostGIS database called 'osm'. I ...
6
votes
1answer
3k views

Draw route direction overlay on Google Maps or OpenLayers

I'd like to display the route direction generated from GraphServer on either Google Map or OpenLayers. The result I want is basically identical to how Google Map shows route directions, by ...
6
votes
2answers
307 views

Join multiple spatial tables by distance

I'm trying to join two tables, one which contains road names and the other just a point. After exhausting research I'm now stuck. The idea is to join up the two tables using only distance, ie, select ...
6
votes
1answer
3k views

How to Optimize Openstreetmap Tile Rendering?

I am currently trying to render Water (3,198,333 records) and detailed world borders (processed_p) for the world. I am successful in rendering both layers, but I am not happy with performance. My ...
6
votes
2answers
2k views

US Tiger or Open Street Map Route Data: One Way Street & Intersection Data

We're building a U.S. street routing application (finding paths for cars between two or more locations using public roads) and would like to use open source data US Tiger Data or Open Street Map or ...
6
votes
1answer
2k views

Find nearest POI of given GPS coordinates

I am new to GIS and need to achieve the following: Find the nearest train station or bus stop of given GPS coordinates in a Java application. Since there are many coordinates to be checked, an ...
6
votes
3answers
652 views

How can I geocode to a shape instead of a coordinate?

Geocoding to a shape instead of a point The project I'm currently working on is Find-A-Record. We are geocoding genealogical record collections and storing them in a spatial index (browse our blog if ...
6
votes
1answer
5k views

How to apply Mapnik style for OSM data in ArcMAP? [duplicate]

I am loading OpenStreetMap vector data into ArcMAP (using the Download and Symbolize OSM Data tool of ArcGIS Editor for OpenStreetMap 1.1). I'm sure there must be a simple way to apply the ...
6
votes
1answer
177 views

one label for two-lane roads (osm, qgis, postgis)

I labeled my osm-lines-layer (PostGIS) with symbols for primary roads and motorways. While the symbols for the primary roads are well placed - with enough distance between each - the two-lane motorway ...
6
votes
2answers
479 views

How to order points of a polygon?

I want to create a polygon, which represents the administrative boundary of a city. It is specified by a relation, which consists of ways <member type="way" ref="25657490" role="outer"/> ...
6
votes
1answer
338 views

Maritime route prediction avoiding land masses

I am working on a project where the following functions have to be implemented: Predicting the locations of the ships (in maritime environment) at a future time. (Can be done with Kalman filter, IMM ...
6
votes
2answers
1k views

How to fix pgRouting error “starting vertex not found”?

I've posted on here before about my battles with drivetime polygons and got some sensible suggestions back, so having Googled myself stupid over this I'm turning to you once again in the hope of a ...
5
votes
3answers
24k 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 ...
5
votes
3answers
4k views

How to get shapefile of river from OpenStreetMap?

I dont want to download 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 map and ...
5
votes
2answers
9k 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 ...
5
votes
2answers
743 views

Are OSM ids unique over all Object types?

Are OSM ids unique over all Object types? Means can a way-id occur as an relation-id or an node-id as way-id?
5
votes
4answers
201 views

Adding a ruler to the OpenStreetMap site?

As a cyclist, I often need to measure the distance between two locations to have a rough idea. The OSM website contains no ruler, and I was wondering if there were a way to add one, or if a similar ...
5
votes
2answers
674 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 ...
5
votes
1answer
612 views

What tool do I need to have satellite background images to draw features of a postgis database?

What tool do I need to have satellite background images to draw features of a postgis database? I looked about Geomajas but seems very complex for what I'm trying to do. I have osm data imported in ...
5
votes
2answers
2k 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 ...
5
votes
3answers
3k views

How to make routable OSM map

I have some routable data for testing my pgRouting functions, and everything is fine. Now I have to download some more countries from OSM. I downloaded Germany shape files, but OSM maps are not ...
5
votes
2answers
2k views

Geoserver Routing with OSM data and PostGIS

Does Geoserver have a routing functionality for the OSM data in PostGIS?
5
votes
2answers
7k views

How to find out whether a photo is geotagged or not?

I use a android app called OSMTracker. This app records the GPS track and can take pictures and notes. Using JOSM software, the photos are shown exactly at their coordinates (location) but i cannot ...
5
votes
4answers
2k views

OSM To Postgis & WGS84 problems

I’m trying to import OpenStreetMap (OSM) data into postGIS it doesn’t appear to be working in that features do not appear to be in the correct place.. Using the QGIS OSM add in and a coastal shape ...
5
votes
4answers
7k views

How to serve OSM Tiles on Windows?

Was hoping I could just extract tiles into a local file system, point IIS at it and be done but I guess that is not the reality of Open Street Map. I'm getting buried in all the possible ways of ...
5
votes
2answers
683 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 ...
5
votes
4answers
10k 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 ...
5
votes
2answers
159 views

Following path in OpenStreetMap

I want to visualize a road present in the OpenStreetMap. Using OpenLayers, I try to do in the following way: Take a set of co-ordinates which should represent the two sides of the road. Join both ...
5
votes
2answers
1k views

Overpass XML query for finding all buildings inside a polygon

I want to run following Overpass QL query in order to get way IDs of all buildings inside a polyon: way(poly:"50.7 7.1 50.7 7.2 50.75 7.15")[building]; >; out ids; Since I'm using the osm-common ...
5
votes
1answer
170 views

Good projection for covering most of the world

I'm writing an application for building navigation routes thru the city streets, and not quite sure what projection would be best. I tried EPSG:3587, however, the tools I'm using - GeoTools and ...
5
votes
1answer
2k views

How to implement place auto-complete using nominatim?

hi i want auto complete like google place and I dont'want to use Google Place API. I Got nominatim auto-complete example but it's not working in my windows 8 because it's implemented in node.js please ...
5
votes
1answer
228 views

PostGIS Optimization - Group spatially close entities physically on disk

I'm working on my first PostGIS database and was hoping to find some performance gains for live rendering. I'm rendering a map directly from a PostGIS (9.1, 2.0) db that contains an import of OSM ...
5
votes
2answers
1k views

OpenLayers XYZ Unable to Load Local Tiles

I have some local tiles that were generated from OpenStreetMaps using Maperitive. I've tried going through the docs and tests but the map is not loading. I'm not getting any errors in chrome's js ...
5
votes
2answers
403 views

Can I load a country-size OSM file in QGIS?

I've tried several ways to display OSM data in QGIS, but none of them really worked well for me. For example, I've tried WMS layer, but when I try to print high resolution, it won't give me enough ...
5
votes
2answers
267 views

OSM Country import - missing border-near lakes, rivers

I'm importing a country (e.g Switzerland) from the cloudmade OSM branch and I'm failing to get the bordercrossing lakes on display. The same issue came up, when I tried to import the geofabrik .dpf ...
5
votes
1answer
338 views

Is it Better to Use Google Maps or OpenStreetMap When Dealing With Data Points in both Urban and Rural Areas?

My application tracks cancer-related trends across multiple US States. Most of the patient data in the application deals with people who live in poor, rural, or under-served regions. We want to start ...
5
votes
1answer
4k views

Google Map API 3 with OSM overlay

I'm using GeoXml3 to parse XML files in Google Map and would like to add OSM as custom maptype. I fiddled with this example but it hides completely the original Google layers. I've found a couple of ...
5
votes
2answers
2k views

Quickly create contour polygons from cost points using OSS for web app

This is related to a previous question I've asked: Create filled contour map with GRASS I've created a point layer using OpenStreetMap data and pgRouting's driving_distance() function, where the ...
5
votes
1answer
304 views

Crop OpenStreetMap data retaining long features

When I crop OpenStreetMap data using Osmosis with the --bounding-box option, it seems to only give me nodes and ways that are fully contained within the bounding box. There are several long highways ...
5
votes
2answers
3k views

How to apply custom OSM map style in OpenLayers?

I have a small web mapping application based on PostGIS/GeoServer/OpenLayers. I'm overlaying few WMS layers served by GeoServer and using OpenStreetMap as a background. In OpenLayers OSM is simply ...
5
votes
1answer
397 views

Using local OpenStreetMap (*.OSM) map with Openlayers 3?

What do I need to load a .OSM map in a client side javascript app? (Imagine an offline webapp).
5
votes
1answer
1k views

Convert from WGS84 to Google Mercator

I want to convert longitude and latitude coordinates from WSG84 to Google Mercator. The following code-samples show my coordinates in a KML/KMZ file and where I need the coordinates in the javascript ...
5
votes
1answer
409 views

How do I georeference a ski map?

I have a map of a mountainous landscape, http://skimap.org/data/989/60/1218033025.jpg. It contains a number of known points, the lat-longs of which can be easily found out using google maps. I wish ...
5
votes
2answers
2k views

How to create a simple drop down box in openlayers?

I am trying to place a simple drop down box above the open street maps. Can some one guide me how to achieve this... I know we need to make use of open layers.... i tried to create a button with below ...
5
votes
1answer
1k views

Download only country and city data from OSM

I want to download a list of all countries on this planet from OSM. Also, for selected countries, I would like to have states and cities. How can this easily be achieved? There must be an easier way ...