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
1answer
12 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 ...
0
votes
0answers
13 views

Build my own navigation system [on hold]

I'm sorry but I don't know where to ask this question. I have to develop a navigation program in my artificial intelligence course. To do it, I need a city map. Probably Barcelona. I don't which is ...
2
votes
1answer
9 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
24 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 ...
1
vote
1answer
19 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
11 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 ...
1
vote
1answer
17 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
0answers
11 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 ? { ...
0
votes
0answers
17 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 ...
2
votes
0answers
34 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 ...
3
votes
1answer
57 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 ...
0
votes
1answer
34 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 ...
0
votes
0answers
35 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
1answer
31 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 ...
0
votes
2answers
30 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.
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 ...
2
votes
2answers
52 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 ...
1
vote
1answer
22 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 ...
0
votes
1answer
52 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 ...
1
vote
1answer
67 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
1answer
29 views

How to Integrate Open Street Map in android?

I'm newbie to Android Offline Map Integration, I have a problem in offline map integration, I take a month to analysis the offline map integration, Here i referred Osmdroid Osmand and few other ...
0
votes
2answers
29 views

Online service that allows drawing a circle on top of a map?

I need to draw a circle around a central location to show where other places are within a given distance. As objects, OSM-based Umap only supports Marker, Polyline, and Polygon. Currently, I take a ...
1
vote
2answers
58 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. ...
0
votes
1answer
27 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 ...
0
votes
2answers
47 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 ...
0
votes
0answers
24 views

Query road shape

We have downloaded data from Openstreetmap and want to make special queries but have no idea how to start. What we want to do is find all road intersections with a certain angle in Australia. For ...
0
votes
1answer
27 views

Updating OSM map from within PhoneGap/Cordova App

I am trying to build a sat-nav application that allows the users to dynamically update the map that their application is using. So if the user updates the map with a new road then that road is ...
0
votes
0answers
21 views

Popups and Zoom

I have loaded shapefiles on OpenGeo Suite template (ol3view), I'd like to create a popup on click for each point to show attributes. I'd also want to highlight a certain part of the map and zoom on ...
1
vote
1answer
42 views

Import of OSM data into PostgreSQL with osm2pgsql polygon problem

I've mananged to import my great-britain osm file successfully into postgres and I can query everything fine. osm2pgsql -s -j -G -l --number-processes 8 -K -U james -C 10000 -d osm myfile.osm I'm ...
0
votes
1answer
28 views

Get Road name from coordinates to be used in Overpass api

I have following Overpass api quer that takes the name of the road and give back entire road coordinates ...
0
votes
0answers
19 views

java gdal.jar version 1.10.1 and osmconf.ini question

Does anyone have any info on how to configure this osmconf.ini text file? I use the gdal.jar (version 1.10.1) to open an .osm (xml) (ex. ogr.Open(filename, false)). I could get the 5 Layer objects ...
0
votes
0answers
24 views

How to get a specific street using OSM with PostGis

I want to get the polygon form a specific street from the OSM data importtes with osm2pqsql using PostGis. Since the streetname isn't the only identifier I wanted to add the postal code as a second ...
0
votes
0answers
16 views

OpenCycleMap tile configuration

I have successfully configured Mapnik and generate_tiles.py on my computer so I can generate Mapnik tiles from the OpenStreetMap map database. However, I would like to generate tiles similar to ...
0
votes
1answer
25 views

recommendation of map viewer

I am looking for software to present GIS files (OSM preferred) with these features: work offline (means I can download a map and present it online in the software). compatible with Windows 7, 32 ...
0
votes
0answers
15 views

Is it possible to get Metadata from railway attributes using OSM at PostGIS

I am using a query that gets me all tram stations from my data using a POstGis Database. I have OSM Data from Geofabrik. Query: SELECT point.osm_id as id, st_X(point.geom) as lng, ...
0
votes
0answers
42 views

Positioning a Map

Somebody recommended me to use this site:- http://cs2cs.mygeodata.eu/ after I explained that this coordinates[-28.23078, 28.30707] which belongs to Bethlem in South Africa centers the map to towards ...
0
votes
0answers
23 views

Plot delivery routes over the OSM network (snapping to OSM vector layer)

I have a question with regards to snapping lines to the OSM road network. My goal is to show several delivery routes over the OSM road network. I have done the following: - Plot all addresses on the ...
1
vote
2answers
40 views

Planet_osm_point versus Planet_osm_nodes for querying places

Hello I am using a PostGis Database with OSM Data. After importing the data with osm2pgsql in slim mode I found a table named Planet_osm_nodes that has places also. It seems really compressed and has ...
3
votes
2answers
40 views

Difference between osm_id and place_id?

I'd like to know what the difference is between place_id and osm_id. I understand osm_id is some sort of reference number + more convenient for OSM to find location v. lat/lng. If this is the case, ...
0
votes
0answers
26 views

Map box GL mature / appropriate for own OSM-Tileserver

I am quite new to this topic and currently trying to decide what library to use for developing OSM-apps with my own tile-server for Android, iOS and Websites (currently using Leaflet for websites) - ...
2
votes
1answer
39 views

How to handle duplicate id's when using the as_sp function in the R osmar package

Sometimes when I want to convert a subset of ways from an osm file loaded with the osmar package, I run into an error complaining about duplicate row names. The following code run on this file in ...
2
votes
3answers
46 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 ...
1
vote
1answer
52 views

Marker icons overlapping street names in Tilemill

I'm new to CartoCSS and I'm trying to properly add subway markers on a map using Tilemill and OSM data. My problem is that some street names stay behind my marker icons : I have add ...
0
votes
0answers
16 views

how do I keep only highway roads and their nodes using osmfilter?

I am trying to filter a map from openstreetmaps using osmfilter to keep only highways (tag k) and the nodes that are at the extremes of these road segments. I have read many posts in different forums, ...
2
votes
2answers
47 views

how to extract country border from openstreetmap

I'm trying to extract the Jordanian country border from an openstreetmap. When I click the download link for the file, the following page opens: My question is: How do I save these XML tags as an ...
0
votes
1answer
20 views

osm2po street IDs

Is it somehow possible to always get the same IDs in the _2po_4pgr table and in the routing graph when it's run on newer version on the map? So if I ran it on OSM from today, and then on the same area ...
2
votes
0answers
30 views

How to get changeset tag from .osm file into PostGIS enabled Postgres db

End goal: visualize geographic data from .osm file with QGIS by adding PostGIS layers which include changeset information. I have used osm2pgsql successfully to populate PostGIS and visualize the ...
1
vote
0answers
18 views

Select a polygon which is just partly member of another polygon with its area of the other polygon

I need to generate random points within geometries, which works quite good, but there are some small errors. Take the picture below. There are some greenish and redish Polygons(?!) which do not have ...
2
votes
1answer
50 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 ...
3
votes
1answer
61 views

How to display OSM relations (in QGIS) from osm2pgsql populated PostGIS DB

I have a PostGIS DB populated with OSM data (osm2pgsql, standart.style). Now I would like to display a hiking trail (http://www.openstreetmap.org/relation/51855). It would also be fine, if I just ...