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
1answer
271 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
3k 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
1answer
261 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
253 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
619 views

Raster to vector conversion

I have a bunch of raster maps from a general plan of a city. Examples: Areas reserved for federal, regional and municipal buildings Special land use zones Zoning Risks of occurrence of emergencies ...
5
votes
1answer
809 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
3answers
2k 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
1k 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
1k 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
3answers
5k views

Getting polygons of all countries and ISO-3166-2 subdivisons

In order to do reverse geocoding lookups to find a country (as ISO-3166-1) and the subdivision (as ISO-3166-2) for given coordinates I am looking for a way to get all polygons of all countries and ...
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
3answers
266 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
2answers
89 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
2answers
2k views

How to create accurate indoor maps?

I'm currently developing an indoor positioning system for a college project. I searched for a good mapping platform and I found that openstreetmaps would suit me best, but now I'm stuck in generating ...
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
963 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
972 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
117 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
1answer
603 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
373 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
154 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
2answers
962 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
428 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
675 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
3k 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
47 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
128 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
2answers
139 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"/> ...
5
votes
1answer
284 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
189 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
1answer
160 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
515 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 ...
5
votes
1answer
632 views

Different searching results in local Nominatim and openstreetmap.org

I've just installed Nominatim using this guide. I've successfully import fresh osm.bz2 file with data for Saint-Petersburg, Russia into my postgresql database. Nominatim search script works, but it ...
5
votes
2answers
710 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 ...
4
votes
3answers
3k views

How do I determine the center point of several features in OpenLayers?

I have several polygons being drawn on a map, usually representing a country or province or state. Depending on some chosen data, different regions may be selected, so what I was hoping is that ...
4
votes
4answers
368 views

The shapes of the USA map

I'm newbie in GIS. I want use the shapefiles of USA map for my Geoserver. Where can I download shapes for USA? I know about the TIGER\Line shapes but it is separate shapes of counties and thematic ...
4
votes
4answers
1k 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 ...
4
votes
1answer
80 views

Why do these points send me to the middle of the ocean or middle of nowhere? [duplicate]

I've been beating my head against the wall trying to map some points using Leaflet + OSM. I put in some sample points (near Bellingham, WA, USA). I've checked the JSON with JSfiddle and ...
4
votes
3answers
2k 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 ...
4
votes
2answers
289 views

How to find out what features /tags are included in an .osm or .pbf file?

I would like to load osm data into a postgis (postgresql) database. In How to load OSM data into PostGIS preserving all Tags? there has been a solution posted: Download the OSM files (in .osm ...
4
votes
3answers
594 views

Is there an opensource software to route openstreetMap data based on database?

I have a project that consists in aggregate traffic information on OpenStreetMap for routing proposes. My first idea is to use the OSM data from the region on a database, so I can aggregate the ...
4
votes
2answers
332 views

Where does Open-Streetmap forest data come from?

If you open this url http://www.openstreetmap.org/?mlat=50.6524658203125&mlon=9.4482421875&zoom=13 you are in a forest in germany. I downloaded the complete Open-Streetmap Data for Germany. ...
4
votes
1answer
309 views

Improve database performance for geospatial

I have a database with osm data imported with osmosis tool. I want to search for the nearest POIs from a given point. For this purpose, I perform this query: select id from nodes where ...
4
votes
2answers
196 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 ...
4
votes
3answers
536 views

How to extract primary and secondary roads from OSM data?

After importing my country roads from OSM data, I need to create a network ( roads connecting big cities ) for use with pgRouting. For this, I need the green, blue and red ones ...
4
votes
1answer
134 views

Getting lane data from OSM

I want to extract road network data from OSM for a small city. From where can I get the lane information of any road in OSM. I tried exporting the data in the OSM XML format and there was no lane ...
4
votes
1answer
556 views

Open street map accuracy problem

I want to locate shops with open street map. For that I send a query to nominatim, a webservice which geocodes coordinates from addresses. I draw a marker at the returned coordinates, and it´s ...
4
votes
3answers
286 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 ...
4
votes
3answers
275 views

OpenStreetMap data at different scales

Could anyone just clear up a question regarding openstreetmap data. Are there different OSM data sets for the various set scales, or do the data get generalized on-the-fly when the map is zoomed out ...