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
310 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
492 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 ...
7
votes
2answers
2k views

What is the best way to extract the geometry of a road from OSM data?

What is the best way to extract the geometry of a road from OSM data? The goal is to display segments of highway that are closed due to weather. The weather data consists of positions (in KM measured ...
3
votes
3answers
1k views

How to route between lat/lon pairs in pgRouting?

I have set up Postgresql, PostGIS and pgrouting on Ubuntu. I have imported an osm for wales using the following command: ./osm2pgrouting -file wales.osm \ -conf ...
7
votes
4answers
7k views

How to build tile server from Openstreetmap data for beginner?

I am a beginner at GIS and I am developing a Java Application which needs a map. (The map would specifically be of just one city in the Philippines.) I have researched on different ways to do this and ...
2
votes
2answers
947 views

How to add a background map to a java project?

I'm new at GIS. I am trying to make a java application that can display a map with certain points. I have achieved this using the geotools library. However, I want to put the map from OpenStreetMap or ...
7
votes
3answers
8k views

How to calculate the optimal zoom-level to display two or more points on a map

We want to display several markers on a static map and want to calculate the optimal zoom-level like Google Maps does. We already calculated the bounding rectangle and the centerpoint of the map but ...
1
vote
3answers
349 views

ways to access and download the metadata of OpenStreetMaps

Does anyone know if there are any good methods or apps to access and download the metadata of OSM from desktop? Many thanks!
2
votes
1answer
980 views

JOSM vs QGIS/uDIG for road network editing and storage

My application needs to store a road network and provide editing functionality for that network (editing/updating/removing lanes, signs, traffic lights, speed limits info, etc.). I find JOSM tool to ...
1
vote
1answer
888 views

How do PostGIS layers in QGIS work?

I use QGIS 1.4.0 to import a layer which is basically a road network converted from an .osm file to a PostGIS database table by osm2pgrouting. I have skimmed through the documentation, but I am still ...
6
votes
3answers
1k views

Render the PostGIS OSM data in 3d?

I wonder is there any open-source application that can query a PostGIS-enabled database and render the resulting OSM map in 3d. The only thing I have found so far is Navit, but it renders only from ...
2
votes
5answers
922 views

How to reconcile UTF encoding for OpenStreetMap

I frankly am a bit confused when I am working outside the United States so please excuse my ignorance. I downloaded some shapefiles for Moldova (MoldovaData) and had a question regarding the encoding ...
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 ...
4
votes
1answer
490 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 ...
7
votes
2answers
3k views

How to generate an image from OSM on command line?

Is there a GNU/Linux command line tool that allows to generate an image file from OSM, preferably as an SVG?
4
votes
3answers
4k 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 ...
3
votes
1answer
947 views

How do I fire a function after all features have been selected by a box in OpenLayers?

I have a map rendering with Polygons on a Vector layer set up as features. I set up the features so they fire off a function when the feature is selected and this works fine. The issue I'm having is ...
7
votes
3answers
3k views

How to find a point half way between two other points?

I'm working on implementing the OSM Mobile Binary format for map data, and because it uses a 16 bit delta for each point along a way, it cannot represent a way if there is a large distance between two ...
1
vote
2answers
5k views

SelectFeature not working in OpenLayers

I'm still sort of new to openlayers, but I've been able to set up a map which reads in a KML, loops through the different regions contained therein, and draws those polygons on a vector layer overtop ...
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 ...
3
votes
2answers
1k views

Generating very simple slippy map tiles

I have an app that uses slippy maps. The tiles I'm currently using contain a lot of information that is superfluous to my users. I've been investigating generating replacement map tiles that contain ...
1
vote
1answer
358 views

Find all of the ways that intersect a linestring

I'm new to Open Street Map and PostGIS, and am trying to figure out how to find all of the ways that intersect a linestring (i.e. all of the streets that intersect a route). Is there a way to do this ...
3
votes
3answers
4k views

How to use OSM xml extracts? Can I make an offline app in Android using OSM?

I'm new to OpenStreetMaps. I have followed their wiki/main page and tried to understand it. Can anyone briefly explain how exactly OSM xml data works and how it is rendered? ...Any links /pointers ...
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 ...
6
votes
2answers
1k views

How do I download specific OpenStreetMap data by tag?

I'd like to write an iPhone app which uses OSM data to map canals. The data is tagged in OSM as canals, but I'm not entirely sure how to download it. Libraries like route-me don't seem to provide a ...
5
votes
2answers
953 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 ...
7
votes
2answers
3k views

Can't import OSM data to PostGIS, permission denied

I use Postgres 9.1 on Xubuntu 11.10. I've created a db 'aus' and user 'aus', granted ALL on the db to the user. Now I try to import the data, and it outputs this error: $ osm2pgsql --create ...
4
votes
1answer
675 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
1answer
313 views

generate 1-18 simple worldmap with mapnik

I have postgresql with postgis and mapnik, I need to generate a tiled world map with only country contours and country name that are displayed at all zoom levels, no extra info. How can I do it ...
6
votes
3answers
2k views

Dissolve or unsplit lines on common attributes in PostGIS or GRASS?

I have a road centerline shapefile that has roads split at every intersection. However, I would like to join LINESTRINGs that have a common set of attributes into a single LINESTRING. So long as the ...
16
votes
5answers
3k views

Standard SLDs for OpenStreetMaps?

We have downloaded OSM data for our region and loaded them into PostGIS using osm2pgsql. So far so good. On top we have GeoServer and we would like to expose the OSM data using WMS. We would as well ...
3
votes
2answers
842 views

What is the highest possible value of OSM_ID?

What is currently the highest value of OSM_ID in openstreetmapping? What is the highest possible value of OSM_ID? 2^31 (2.147.483.648)? And here I add some more text or my question is rejected ...
4
votes
2answers
401 views

Why is osm2pgrouting not importing?

I installed pgrouting successfully and did a little import with a 20Mb file. Works good! Now I'm trying to import a file with the size of a country and it doesn't even start to import. The last 2 ...
1
vote
0answers
488 views

Tilecache + Mapnik + Apache generates incomplete tiles (missing layers)

I have TileCache + Mapnik working with a custom osm.xml stylesheet. When I run tilecache_http_server.py the tiles are served OK. But when I run TileCache under Apache (with mod_wsgi) I see incomplete ...
2
votes
0answers
654 views

How to limit viewing to map boundary on Android? [closed]

I have an offline map of a city displaying on Android. Since my map is just small, when you scroll beyond the the boundaries of the map you see only a gray screen and you will probably be lost and ...
2
votes
0answers
121 views

How to fix Graphserver warning “osmdb has no edges!”?

I'm really new to GIS. I have some shapefiles data that I'm trying to import in graphserver. I'm doing: gs_osmdb_compile output3.osm output3.osmdb And the result is: WARNING: osmdb has no edges!. ...
3
votes
1answer
218 views

How can ArcGIS Editor for OpenStreetMap preserve Unicode data?

Currently i am using ArcGIS Editor for open Street map for conversion of OSM file to file Geodatabase. But after conversion geometry is perfect but there is no Unicode data available in the attribute ...
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 ...
1
vote
1answer
178 views

FME assign specific node id with OSM writer

Is there a way to reassign the node's id value to something I generate? I did try exposing the uid attribute in the write transformer however only produced a new attribute and did not affect the id ...
2
votes
2answers
702 views

Convert CSV files into OSM with FME

I have a database which i've exported as individual csv files for each table. Below are some of the attributes which exist from two of the csv files: wayPointID linkID order x y z length ...
2
votes
1answer
1k views

Setting up TileCache to make use of Mapnik and OpenStreetMaps

First of all, I'd say that I'm completely newb at maps related stuff... I am trying to install TileCache and configure it to use Mapnik to render tiles from OpenStreetMaps. I managed to setup the ...
6
votes
3answers
927 views

Is there a way to render 3D map tiles?

I am looking for a way to create map tiles from OSM data but I would like the resulting map tile images rendered at a 45 degree angle. Is there any way this can be done? I have never see such an ...
6
votes
1answer
2k views

Add a OpenStreetMaps road data layer on Google Maps API v3

I've successfully embedded a Google Maps API v3 map on my site, and added OpenStreetMaps (OSM) as the base layer. Is it possible to use Google's tiles as the base layer, and then overlay street data ...
8
votes
2answers
795 views

Can OpenStreetMap replace Google Earth?

I need to build a website which needs to perform the following tasks: Display a web map with topographical details On the map show a set of selected streets When a street is selected show a set 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 ...
1
vote
2answers
2k views

How to filter OSM files based on tags using Osmosis?

I am working with .osm files and am trying to filter entities based on tags. I need to view only entities containing both source and attribution tags. I used the following to successfully filter all ...
6
votes
3answers
2k views

How to load OSM data into PostGIS preserving all Tags?

I am new to the field of GIS and am trying to view source tags in OSM. I have downloaded the shapefiles from http://downloads.cloudmade.com and have loaded them into Postgres. When I view the data, I ...
5
votes
1answer
286 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 ...
7
votes
3answers
4k views

Why don't my Shapefiles and OSM data overlap in Quantum GIS?

So I'm pretty new to GIS, and I'm working on a mapping project using data for Vancouver, Canada. I want to combine Open Street Map data along with data provided by the City of Vancouver. But the City ...
5
votes
1answer
861 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 ...