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)

1
vote
4answers
51 views

Create my own navigation/routing system

I'm studding AI course and I need to create a routing or navigation program. I live in Barcelona and first at all I need Barcelona's street network data. I have found it here ...
0
votes
0answers
7 views

Scaling Images in OSM with OpenLayers

I have the same image (exactly the same dimensions) in Google Maps as in OpenStreetMap, but the scaling of the image in OSM is totally different. The scaling in Google Maps is after my opinion the ...
5
votes
1answer
641 views

How to extract bounding boxes of cities from OSM?

For simple geocoding purposes I want to extract all cities from a single country of openstreetmap. They only queries I want to do are: ZipCode -> (List of) BoundingBox of City/Village ...
2
votes
1answer
355 views

Offline geocoding and reverse geocoding for android

I'm developing an android application that cannot use internet and need to deal with maps and positioning. Download OpenStreetMaps data seens to be a good solution to access map information offline. ...
1
vote
1answer
22 views

Search only all the nodes that have tags

I'm trying to execute queries in Overpass Turbo looking for only nodes that contain a tag definition, for example i'm running a query like this: <osm-script output="json"> <query ...
0
votes
1answer
20 views

Generate tiles with stereographic projection

I am developing a web application that shows some information to the user on a map. The application is not connected to the internet, so for the first protoype I generated some map tiles using ...
4
votes
1answer
130 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 ...
1
vote
1answer
47 views

OSM - OpenLayers 3 image layer problem

I am currently having a problem with my image on OSM via OpenLayers. I can present my Image on the right spot (nearly exactly there where i want it). The problem is, while zooming in or out, the ...
-3
votes
0answers
13 views

pgrouting in qgis for finding path from source to target

I have installed QGIS and for my project i need to give the shortest path to user from source to destination and following this tutorial http://workshop.pgrouting.org/chapters/shortest_path.html In ...
0
votes
2answers
45 views

Emergency Dept. Distance OSM roads Network Analyst

I have a shapefile that is all of the roads in the Republic of Ireland, I have downloaded this from OSM. I have then created a new point shapefile with a point for every emergency department in ...
1
vote
1answer
40 views

osm2po cycle routes

I'd like to use osm2po for a little bike routing planner. Is there a way I can mark those edges that are part of some national, regional or local bike network? It would be nice to give them a higher ...
12
votes
2answers
11k 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 ...
1
vote
2answers
41 views

Converting from Lat/Lon (WGS84) to Mercator (UTM)

i am trying to render a map with Mapnik via Python. Therefore I first created a style file (as XML) and my code looks so far: m = mapnik.Map(400, 400) style = 'osm.xml' mapnik.load_map(m, style) box ...
3
votes
1answer
399 views

Symbology for Open Street Map [OSM] Data in MapInfo [tab] format

I have shapefiles for the different SOM layers which I have translated into TABs but I am now trying to symbolise them in a similar style to OSM online. Is there a way to easily apply the OSM ...
1
vote
1answer
39 views

Getting only points when importing from OSM to Postgresql

This is my very first time working with OpenStreetMap data so feel free to tell me if I am forgetting important information. I am trying to import some data from OpenStreetMap into PostGreSQL. I ...
1
vote
1answer
422 views

How to use OSM Bright with Mapnik Renderd

I have set up an OSM tile server using instructions at this blog - http://seshagiriprabhu.wordpress.com/2013/07/21/building-an-openstreetmap-tile-server-on-ubuntu-12-04-lts/ The slippymap renders ...
2
votes
1answer
11 views

Is it possible to render map tiles with a Nominatim PostGIS db?

I've imported a OSM database using Nominatim's setup.php. It's possibile to use some software to render the tiles using that database, or I have to re-import in a different DB for Mapnik et similia? ...
1
vote
1answer
104 views

How are OSM tags mapped to fields in Mapbox Streets vector tiles?

I recently started experimenting with Mapbox Studio and have encountered some discrepancies between feature tags in OSM and the corresponding feature fields in the vector tiles from Mapbox Streets. ...
1
vote
1answer
21 views

OpenStreetMap - only administrative regions [duplicate]

I'd need to display a map that shows only administrative regions level 1 for whole world. Is this doable with OpenStreetMap? I don't want any other data like roads, topology or similar to bi visible - ...
0
votes
1answer
14 views

Where can I find the SQL queries for use with OpenStreetMap-Carto?

I found the OpenStreetMap-carto stylesheets (.mssfiles) here. I also found an issue discussing a problem with a SQL query here. Does anyone know where I can find the SQL scripts to build the layers ...
3
votes
1answer
676 views

How to manage the osmosis filters?

I am a complete beginner in OSM and osmosis, and I am trying to build a stripped down version of a local map, in order to add nodes of public lights that would be used for maintenance. I have used the ...
0
votes
1answer
65 views

How can I add vector tiles to my tileserver?

I created my own tileserver under ubuntu 12.04 as described here: http://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/ now I want to serve the tiles as vectors, I found this: ...
7
votes
2answers
572 views

What does vector tiled map mean?

I'm working on an application that renders geoJSON into OpenLayers map. The idea is about not having PNG images downloaded from external services (OSM or Bing) but having geo information in geoJSON ...
1
vote
1answer
19 views

Renderd “planet_osm_polygon” not exists. What to do now?

I'm trying to create my map server. Importing a planet with osm2psql was perfect, I installed nominatim and is working too. I installed the libapache2-mod-tile packet, caring about to not create the ...
0
votes
1answer
314 views

missing tables vertices_tmp and vertices_tmp_id_seq pgrouting workshop

I'm using OSgeo 6.5 dvd and studing pgrouting workshop for get shortest path. I created database call "routing" and used "template_routing" for create tables but only 3 tables created. So then I ...
0
votes
0answers
12 views

what properies i need to hold in waypoints array

im trying to build my own direction api but that is new for me and im trying to resolve a puzzle here, so my question is, what properies i need to hold in waypoints array ? { ...
2
votes
0answers
42 views

Postgres OSM planet reverse geocoding

i'm building function for reverse geocoding in Postgres using PostGIS function's. For now i was able to clean up all the data that was useless to me(rivers, buildings,etc.). I got 3 ...
0
votes
1answer
44 views

Isochrone driving/public transport map : Grass or postgis?

I have to do Isochrone driving / public transport map. It would seem that the two better open-source solutions are grass and postgis. Could you tell me which one is the better? the easier to ...
1
vote
2answers
31 views

Openstreetmap routes to kml?

Is there a way to export Openstreetmap public transport routes to kml/kmz? So you can view the routes in Google earth.
2
votes
3answers
52 views

Calculate Color of Object So No Adjacent Objects Repeat

I am attempting to assign one of 16 colors to map objects (e.g. counties, states, ZIP Codes, etc.) so that no two adjacent objects share the same color. I'm seeing tons of articles online about ...
0
votes
0answers
20 views

How do I determine the hardware requirements for importing an OSM extract?

I have a 950MB OSM extract I'm trying to import into Postgres using osm2pgsql. All attempts thus far have failed as I've been running out of hard drive space. I have no problem processing metro or ...
3
votes
1answer
58 views

QGIS 2.0.1 finding roads in one particular province

I have two shapefiles that I want to use to see all the roads in one particular province of The Netherlands. So I have one layer with all the roads in The Netherlands and one layer with the ...
1
vote
1answer
38 views

Creating Isochrones with pgrouting - Network set up, locations (from point shapefile) imported into PostgreSQL/PostGIS DB and now?

I want to calculate isochrones representing the accessability of certain locations in a city. So I have set up the pgrouting enabled database, imported the OSM-Roads and created a network (thanks ...
3
votes
1answer
583 views

Driving directions and multi-modal route planning service for a city with OpenStreetMap data

First off I'd like to mention that I've never come close to anything-GIS until a few weeks ago when I thought of this. So please expect some layman's questions. I'm looking to create driving ...
0
votes
0answers
36 views

Query path shape independent of orientation

Here is an interesting problem I haven't been able to solve or find any solution anywhere. Lets say I have a path defined by 5 points like this one: How can I make a query (postgis) to find all ...
1
vote
2answers
124 views

Is there a way to keep toll_booth nodes in osm2po's output?

I am writing a code that performs a custom routing on the sql relation generated by osm2po. Amongst several other things, I need to detect if the selected route (list of ids) passes through one or ...
1
vote
1answer
139 views

Tiled raster image to be placed in an OSM/ Leaflet.js map

I have a mapoverlay in a custom projection which I need to add as a layer to an Openstreet map within a website. Since I was not able to change the projection earlier, I decided to manipulate the ...
0
votes
2answers
124 views

Enlisting all OpenStreetMap (OSM) street names for General Transit Feed Specification (GTFS) routes?

I have exported OpenStreetMap (OSM) data of a city to my local postgresql db using osm2pgsql. I would like to add the General Transit Feed Specification (GTFS) routes information (say bus routes) ...
1
vote
1answer
34 views

How to get all the LineStrings of a street using PostGIS with OSM

I want to get all parts of a given street. I use a query like: Select * from planet_osm_lines where name = 'mystreet' As a result I get all the LineStrings that are part of a street with the ...
1
vote
2answers
133 views

How to style ways with CartoCSS depending on a relation property (OSM)

I'm using CartoCSS together with an OSM Postgres DB (hstore on). I want to set the line color depending on the operator tag of relations (routes). How can I do that? Update Thanks to Paul Norman for ...
0
votes
1answer
55 views

How to get boundaries of city?

is there any api to get bounds of city. What i want is i give city name and in return i get that city boundaries. I have searched google maps, arcgis and OpenStreetMap but didnt found any ...
2
votes
2answers
357 views

From OSM to shape. Parsing problem

I'm working at OpenStreetMap project for android at the moment. I want to retrieve OSM data from my app(nodes, markers and paths) and convert it to shape file (.shp, .dbf and .shx). Later, I'll load ...
6
votes
3answers
826 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 ...
1
vote
1answer
79 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 ...
1
vote
2answers
621 views

How to clip an Openlayers OSM Background to a Vector Boundary?

I'm new to QGIS. In my project i have two layers: one is my vector (city boundaries) and the other is the OSM (obtained with the plugin). How can I cut the OSM along the edges of the vector? I want to ...
2
votes
2answers
57 views

osm2pgsql: database “gis” does not exist

I am currently attempting to use OSM Bright to quickly style some OSM data, so I can export tiles without spending hours writing Carto in TileMill. This is my first time using osm2pgsql to import OSM ...
0
votes
2answers
50 views

Mapping raw GPS data to Openstreetmap's Node/Way/Relation

So, I have a bunch of raw GPS data points which constitute trips. I want to add semantic information to those data points. For example I'd like to be able to say that a trip consisted of taking street ...
1
vote
1answer
27 views

osm2pgsql - can't find “maxspeed” tag after import

I have import a compressed osm file ".pbf" in a postgis database with osm2pgsql using the following command: osm2pgsql -c -d osm_france -U postgres -H localhost -S default.style -C 10000 ...
1
vote
2answers
70 views

Overpass API: Get coordinates of postal boundary

How can I use the overpass-API to recursively get all nodes and their coordinates which belong to the ways of an relation? I need this to draw bounding polygons of all the postal areas inside a city. ...
2
votes
1answer
148 views

Removing Places from OSM [closed]

Doe is exists a way to remove all the places from the OSM map? Also like shops, bars, restorations, hotels etc. I wish to use a maps with a less info. Is it possible to do this from the original OSM ...