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
2answers
293 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
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
163 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
440 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
321 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
14k views

How to view or import *.pbf file (OSM data, binary format) in ArcGIS for Desktop or QGIS?

How to view or import a pbf file (OSM data,binary format) in ArcGIS for Desktop or QGIS? Are any 3rd party applications needed? I would like to edit this file on any GIS Software.
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 ...
6
votes
0answers
165 views

Spatial query too slow to handle bigger OSM extracts

I'm trying to compute some statistics for OSM data using PostgreSQL 9.3.5 and PostGIS 2.1.4. I started with a small bavaria extract which I downloaded from Geofabrik. The db schema is the normal API ...
5
votes
3answers
21k 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
5answers
1k views

Data Source: Address ranges for every block in NYC

I'm looking for data that defines the address ranges used on NYC blocks. On this screenshoot you can see google has noted the first addresses on each block of West End Avenue and 92nd/93rd/94th st. ...
5
votes
2answers
609 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
543 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
1k 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
8k views

How to add a google/OSM/bing etc style map layer to Quantum GIS

I am just getting started using QGIS. I am aiming to create a heat map of Census tracts in Georgia based on population. I have all of the data - the population for each census tract in Georgia. I've ...
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
528 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
9k 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
149 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
168 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
215 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
402 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
257 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
330 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
297 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
896 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
391 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
2answers
2k 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 ...
5
votes
1answer
2k views

Is there a method to create offline geocoder using OSM xml data?

I am trying to develop an offline android map that makes use of OSM map tiles of 15 zoom level, For this purpose i used an open source library : Osmdroid Now, i m looking into the possibility of ...
5
votes
1answer
769 views

Trip travel matrix on OSM data

Here's my situation: I'm modeling travel logistics I have 1,000 nodes, on my road network I'd like to generate the minimum driving time distance between all these nodes This process will be done 24 ...
5
votes
2answers
85 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 ...
5
votes
2answers
134 views

How to read all IDs of all ways inside a polygon?

I have an OSM map of a larger region. Inside that region is a city with a boundary specified by a polygon. I want to retrieve IDs of all ways (ideally - of all buildings) inside that boundary (inside ...
5
votes
1answer
662 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 ...
5
votes
1answer
4k views

How to extract data for a specific area from OSM?

I need to extract all streets available on a particular area of a City. I'm able to extract all streets name using this query: select distinct P2.* from planet_osm_polygon P1, planet_osm_line P2 ...
5
votes
1answer
516 views

Using OSM data, pgRouting, and dummy data to develop an origin/destination travel matrix

Further to my previous question I was wondering if it is possible to add dummy node data without to do routing analysis. ISSUE I have a polygon layer that represents zonal attributes I created a ...
5
votes
1answer
1k views

What is the best map provider solution for repetitive routing use?

[edit] What is the best solution in terms of cost effectiveness, stability & speed for running a lot of routing requests and comparing them. lots of times over and over? I understand now that it ...
5
votes
4answers
97 views

Which geocoding providers allow storing of geocoded data?

I'd like to provide a functionality where the user can search for an address/place on a Leaflet map, and is able to add the resulting marker to the map (which later can be saved on server and ...
5
votes
1answer
6k views

How to use OpenStreetMap in Java?

I have a requirement of GIS to be implemented using Java. I have read the developer guide for OpenStreetMap but there is insufficient information for its setup technically. I am completely new to ...