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)

2
votes
5answers
805 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
440 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
2k 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
802 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
2k 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
4k 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 ...
4
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
340 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 ...
2
votes
3answers
3k 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
851 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
775 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
603 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
297 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 ...
15
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
758 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
364 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
450 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
546 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
119 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
185 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
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 ...
1
vote
1answer
156 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
566 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
979 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 ...
5
votes
2answers
753 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 ...
7
votes
2answers
647 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
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 ...
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
234 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 ...
6
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
718 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
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 ...
4
votes
1answer
1k views

How to “calculate” distance-to-ground of all 18 OSM zoom levels?

Assuming I'm building a 3D solution with the "world" being mapped to global geo-data supplied by OSM / Cloudmade... think http://www.webglearth.com but with completely different goals and use-cases. ...
6
votes
1answer
858 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)?
10
votes
2answers
10k views

How to Add OSM Layer to QGIS

How can i add OSM layer in QGIS? The help says there is an OSM plugin i can use. But i don't see it the list of plugins. Or maybe there is a WMS URL for OSM i can use? QGIS version ...
5
votes
1answer
267 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 ...
2
votes
1answer
106 views

Temporary additions to OSM data

I'm planning on building a transportation related GIS App. In the app, users will be allowed to add their own links to the network. For example, let's say a user wants to add a "driveway" in front of ...
1
vote
2answers
1k views

Looking for a MAP to SLD converter

Does anyone know where I can find the converter from .map to .sld? I have a big mapfile of styles for OSM and I have the styles mapnik.xml for OSM but I use Geoserver for my work. Or does anyone have ...
2
votes
1answer
878 views

troubles with osm2pgrouting

I'm trying desperately to write my first query in pgRouting using maps in osm format (as shown in http://www.carsonfarmer.com/?p=799). Im using Ubuntu 10.10 with Postgresql 8.4 ang postgis 1.5. After ...
6
votes
1answer
544 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 ...
9
votes
1answer
153 views

How to get the contributors on Open Street Map

I have put my osm file in base thanks to osm2pgsql and I am looking a way to get the contributor list. I have searched in my database and haven't found so much... and the osm wiki about the osm2pgsql ...
10
votes
4answers
816 views

Open Street Map and PostgreSQL what do I exactly need?

I make my first steps in the GIS world and everything is very new for me even if I work on a "huge" project (ie: for a single programmer) very related to maps. My project needs to know informations ...