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)

3
votes
1answer
492 views

How to control what kind of tags / flags are imported with osm2po?

With the help of osm2po, I have successfully inserted the contents of the italian files (italy.osm.pbf) in a pgrouting-enabled database (postgresql 8.4) It displays fine in Qgis, using rule based ...
2
votes
1answer
119 views

Merge multiple bus stops with same name

my question is similar to this one, but it's not answered sufficiently: How to merge points (bus stops) in QGIS manually or programmatically? I have OSM-transit data with bus stops. Some stops have ...
2
votes
4answers
672 views

PostGIS doesn't use spatial index with ST_Intersects

I imported the data from openstreetmap using osm2pgsql and copied it another table structure. If I made a query for containing rows using st_intersects, st_contain or someone else, postgis don't use ...
2
votes
1answer
493 views

How do I get the closest point on a road to a point when I have imported OSM data using osm2pgsql?

I have been trying to use OSM data to find the closest point to a road for a given point. I imported the OSM data into postgis using osm2pgsql, and I am getting results back, but they are at the ...
2
votes
1answer
386 views

Unreachable vertex

I'm developing an application for academic purposes that mainly gives to the user a recommended itinerary for a previously introduced preferences (Gastronomy, Leisure,etc.). For this purpose, I use ...
2
votes
2answers
2k views

How to skip drag event to stop a feature being dragged

I am new to OpenLayers and I'm trying to drag markers and skip some markers from being dragged, I've tried dragFeature.deactivate(); it will deactivate entire features please help me. Please check ...
2
votes
1answer
3k views

How to overlay WMS layer on OSM maps?

I am using OSM/Google maps and WMS Layers. Now I want to know how my WMS will overlay on this map. I am using the following code for that: function init() { map = new ...
1
vote
2answers
104 views

Is there a way to retrieve all cities in the world from OpenStreetMap?

I have tried to retrieve them from the api with the following: wget -O allcities.xml "http://www.overpass-api.de/api/xapi_meta?node[admin_level=8]" however it does not seem to return all of them. ...
1
vote
4answers
154 views

OSM tiles offline display using c++

I have openstreetmap tiles for offline (png images), how can I display these images (tiles) on my application with zooming and rotation functionality as on openstreetmap.org using c++?
1
vote
3answers
301 views

Creating network datasets from OSM data in QGIS?

I am having a difficulty to use network analysis in ArcGIS because of unavailable network datasets. So, I googled it and realized that it is possible by using OpenStreetMap. However I don't know how ...
1
vote
0answers
94 views

osm2pgsql import fails with parse error [closed]

I'm attempting to import the 45GB (compressed) planet-latest.osm.bz2 file downloaded from ftp://ftp.spline.de/pub/openstreetmap/planet/planet-latest.osm.bz2 but I receive parsing errors. As of now I ...
1
vote
3answers
230 views

How to complete the roads output of PostGIS?

I converted the file I exported from OSM to PostGIS using osm2pgsql. I have opened the table's outputs to QGIS and I saw data are not complete compare to OSM editor view. Most of the roads are broken ...
1
vote
1answer
4k views

How can I style OSM data in geoserver? [closed]

I've been trying to style OSM data imported using osm2pgsql and served through geoserver. The tables generated by osm2pgsql are: planet_osm_line, planet_osm_point, planet_osm_polygon, apart from the ...
1
vote
0answers
527 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 ...
0
votes
1answer
57 views

Where to download .osm files and how to convert it to .xml? [closed]

I am new to deal with OSM data, and I want to download only .osm files not .pbf. I tried geofabrik.com but it provides .osm.pbf file format where can I download .osm files? is there any recommended ...
0
votes
0answers
81 views

OSM filter and converter is not working

I am using windows and I downloaded osmfilter and osm converter from here and here but when i run the executable nothing appears on the screen and the command mentioned in the aforementioned links ...
0
votes
2answers
599 views

How to create/obtain district data for Singapore? [closed]

I am newbie in GIS and have started using QGIS. I am hoping to map all districts of Singapore and create a Shapefile and get GeoJSON details for all districts. I am not able to find that currently. ...
21
votes
6answers
4k views

Creating a small web-mapping/map-tiling service

I am looking for a small-scale and easy way to present one or more polygon shapefiles online (on a municipal website without any existing map-server infrastructure, to be precise). Right now, I'm ...
25
votes
5answers
11k views

Optimizing osm2pgsql imports for OSM data

I'm currently building an instance on EC2 on which to import the entire Planet.osm snapshot of the whole Earth's worth of data for some projects we're working on. I've spun up a large Ubuntu x64 ...
11
votes
3answers
13k views

Simple way to have an offline web based map?

My goal is to have a world map embedded in a web page, but without access to the internet. Preferrably only a set of tiles in combination with some slippy map js-lib. Storage space is not really an ...
10
votes
4answers
3k views

OpenStreetMap Neighborhood Boundaries

Is it possible to download neighborhood boundaries from OpenStreetMap? I see on maps that they often indicate neighborhood names; is there a way to retrieve their coordinates and boundary polygon ...
9
votes
4answers
13k 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 ...
14
votes
7answers
18k views

What GIS application can open and use .osm files?

A quick question that I don't see an answer to elsewhere: if I download a .osm dataset from Planet.osm (for example) which GIS applications could consume/display this data without translation? For ...
10
votes
3answers
1k views

How is raw OSM data processed for openstreetmap.org

Can anyone provide insight into how OSM data is processed or rendered for www.openstreetmap.org? A specific example... I extracted data from a recent planet.osm PostGIS dataset for an area in ...
10
votes
2answers
12k views

Where can I download OpenStreetMap data by geographic region?

I want to use OpenStreetMap data for an ArcEngine application I'm working on, and I need the data to be stored locally. I don't want to download the entire planet.osm file, but rather by state, ...
9
votes
2answers
1k views

Is it possible to geocode street intersections using Nominatim?

Is it possible to geocode the location of a street intersection using Nominatim? Example geocode query Commonwealth Ave at Washington Street, Boston, MA Successful Geocode by Google ...
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
1answer
527 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 ...
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 ...
11
votes
4answers
802 views

How to add offsets to the route?

Edited: I want to ilustrate my question. Suppose that you're in "Point A" and want to go to "Point B". This points wouldn't be in "at_2po_4pgr" table cause aren't source/targets nodes. Then, I ...
10
votes
2answers
2k views

Is there a WFS for OSM data?

Is there a WFS for OSM data?
7
votes
3answers
1k views

Where can I download the metro stations of Paris from OpenStreetMap?

I'm just getting acquainted with OSM (OpenStreetMap), so this might be a total newbie question, but I'm looking for OSM Point of Interest data for all metro stations in Paris. I'm sure this info ...
6
votes
1answer
344 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
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 ...
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 ...
4
votes
1answer
737 views

Is there an open source tool for both road network analysis and geocoding?

Is there any one open source software package that can perform both road network analysis and geocoding?
3
votes
3answers
1k views

Offline Map Service with Mapnik and Leaflet

I'm relatively new to GIS, so I hope my asking doesn't appear to be ignorant in any way. I currently work on an offline map service solution for usage in areas without internet connection. For that ...
2
votes
1answer
2k views

Unable to see whole world map by decreasing panzoom bar?

I am seeing one weird thing in Openlayers today. I am unable to see whole map by using panzoombar, previously i used to. <html> <head> <title>OpenLayers Example</title> ...
8
votes
4answers
3k views

Rendering custom OpenStreetMaps style (land=white, water=black): do I need a dedicated computer just to do this?

EDIT: My goal is NOT to use OpenStreetMap or cloudmade as a web map. I described exactly what I want ("a full, rasterized set of tiles for the entire world at zoom=10 (around 68 Gigapixels, ...
7
votes
2answers
5k 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 ...
6
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 ...
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 ...
5
votes
3answers
10k views

Add GeoJSON layer to OpenLayers 3

I have a GeoJSON file called mygeojson.json and I want to add it as a layer in OpenLayers 3 on top of an openstreetmap layer. So far I could display the openstreetmap world including zoom etc. but for ...
5
votes
1answer
413 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 ...
4
votes
2answers
6k views

Create Fantasy Map

I'm currently looking to create a Fantasy map and share it with my friends. We have the map designed already in flash to certain degrees of detail and able to export as a vector. We'd like it to be ...
2
votes
2answers
383 views

OSM administrative polygons : what is the current worldwide coverage?

Does OSM have a summary view of its administrative polygons coverage worldwide for each administrative level ? NaturalEarth have Countries (L0), and subdivisions (L-1) with complete (100%) ...
2
votes
3answers
2k views

Starting a GIS project in java with OSM data

I am starting a new GIS project in Java. Till now, I used JTS and geotools to load shape files - these data were then displayed on a swing interface. For this new project, I would like to use OSM ...
0
votes
1answer
1k views

mapnik rendering with OSM Carto style

When I want to make png tiles that look like ones in osm tile server what I need to do? Do I need to import data to postGIS db somehow WITH osm Carto style or I can just import it "normally" w/o ...
0
votes
1answer
2k views

How to adjust the difference between the coordinate from OpenStreetMap and Google Maps

I have downloaded the OSM from OpenStreeMap that came with all nodes from the map and their respective coordinates. Now I have to plot a node (latitude and longitude) on Google Maps, but all ...
6
votes
2answers
123 views

How can I know why an OSM way cannot be used for routing, and how can I fix it

Background I use osm2po in an application that needs to calculate distances, times and path between locations. In short, I take data from Geofabrik as input to osm2po to output a directed graph with ...