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)

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
468 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
401 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
1answer
287 views

How to fix distortions in rendered OpenStreetMap maps?

I use OpenStreetMap in order to generate maps and add some cool stuff in it. Actually I have good results but I seem to have a problem with reporting a good image ratio when I create my generated ...
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
4answers
6k 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
135 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
971 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
158 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
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
1answer
183 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
387 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
242 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
311 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
293 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
330 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
354 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
3answers
3k views

How to import OSM data into Postgres DB using osm2pgsql in Linux?

I'm using the following command to import an osm file into a Postgres DB using Linux: osm2pgsql -v -a -U user -S default.style -d routing myfile.osm I got the following error: Setting up table: ...
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
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
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 ...
5
votes
1answer
715 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
1answer
248 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 ...
5
votes
2answers
117 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
555 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
3k 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
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
2answers
1k 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 ...
5
votes
1answer
165 views

Simulating Random Agent Movements along Roads on Map

I need to simulate agent movements on map as follows: Agent starts a known location and moves along a road. At each road intersection, the agent uniformly chooses one possible road and moves along ...
5
votes
2answers
955 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 ...
5
votes
1answer
1k views

Where can I find High Quality Road Network Information

I am carrying out a research on how complex city road networks get and I need to get accurate map information. I started with openstreetmaps however I ran into a couple of issues: some of the dumps ...
5
votes
1answer
528 views

How to interpolate polyline or line from points?

We have a lot of points, but with no timestamps to create ways. For now, I've created a sample of the way the points traverse. It's in here, this way can be compared with a Google one. I haven't ...
5
votes
2answers
167 views

Why the modifications I do in QGIS doesn't appear when I save an OSM file I created?

Through QGIS I loaded an OSM file I created and I'm trying to visualize what happens with the file in terms of codes after some modifications like adding points, lines or polygons. But the problem is ...
5
votes
1answer
2k views

Help importing osm data into spatialite

I am trying to import OSM data into Spatialite. The data is a query from overpass called features.osm I'm using spatialite 3.0, and following examples, I have created a new database with: $ ...
5
votes
2answers
1k views

How are housenumbers and streets linked in a OSM based PostGIS DB?

I'm trying to understand how OSM is linking housenumbers and streets with each other. I downloaded an osm file for germany and imported it into a PostGIS DB. To understand how the linking is working I ...
5
votes
1answer
494 views

How to fix strange rendering behaviour of OSM Data in Mapnik?

My current setup so far is a running Apache webserver with tilecache.cgi script and a mapnik rendering engine connecting to my postgis database containing my OSM data. The problem is very easy to ...
5
votes
1answer
863 views

Split edges at intersections in PostGIS

I'm attempting to do a walking distance analysis using OpenStreetMap data (osm2pgrouting) and PostGIS and following underdark's blog posts, however I need to exclude residential and service roads that ...
5
votes
2answers
4k views

postprocessing GPS coordinates with RINEX data to improve precision?

Im doing some mapping for OSM in my region and I am curious if the precision of tracks from a GPS Receiver can be improved if they are post processed with RINEX data. The tracking is done with a ...
5
votes
2answers
269 views

Working with address data extracted from *.osm

My goal is get all the addresses from a certain country, ideally - from all countries, but for now - only from one. I downloaded an *.osm file from here http://download.geofabrik.de/ for a certain ...
5
votes
1answer
190 views

How to change OpenStreetMap Layer Properties in QGIS 2.0

I have loaded the OpenStreetMap layer in QGIS 2.0, but would like to edit the properties in order to better complement the map I'm producing. I can't seem to find the OSM toolbar or OSM Feature widget ...
5
votes
3answers
447 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 ...
5
votes
1answer
502 views

How to split a 20 km² OSM file?

I want to create a 3D model of an OSM map using osm2world. Osm2World can render maps of large regions, for example, there is a 3D map of Austria and Germany (generated from OSM). I want to do ...
5
votes
1answer
266 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 ...
5
votes
2answers
11k 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.
5
votes
1answer
214 views

What is the bare minimum data I would need to import from an OSM data file in order to geocode an address?

I'm using osm2pgsql to import an extract of OpenStreetMap's data so I can geocode an address to a lat/lng. But I'm new to OSM and mapping so I'm having trouble figuring out what data is relevant and ...
5
votes
1answer
794 views

Vector Building Footprint Resources - Tokyo

I typically know where to look for this data in the United States, but I'm at a loss when looking for building footprint shapefiles abroad. I thought I could find what I was looking for with Open ...