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
1answer
99 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
0answers
39 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
49 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 ...
6
votes
3answers
879 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
2answers
787 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
135 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
103 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
40 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
224 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
162 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 ...
3
votes
3answers
172 views

mod_tile: how to avoid cache expiry during DB rebuild

I'm running an OSM tile server with the default stack (mapnik, tirex, mod_tile, apache). Since I need only specific areas, I usually pre-render all tiles. Now I want to rebuild the Postgres DB bcs of ...
1
vote
1answer
128 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
93 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 ...
2
votes
1answer
152 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%) ...
0
votes
0answers
25 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
94 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
94 views

Changing OSM Meta Tile Cache Location

We built an OSM Tile Server following the instructions at http://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/ The Ubuntu OS and the Tile server database are on a 1 TB SSD which ...
2
votes
2answers
542 views

How to Extract data from OSM within a polygon

Although I am a Openstreetmap's regular user for quite some time, I am pretty new to GIS, so I assume this is an easy question: I would like to know how can I extract data (Eg:all schools) from OSM ...
0
votes
0answers
27 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
80 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
118 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
42 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
42 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
27 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
0answers
44 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 ...
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 ...
0
votes
1answer
29 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
22 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, ...
2
votes
1answer
63 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 ...
0
votes
0answers
47 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
79 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
131 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
71 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) - ...
3
votes
1answer
151 views

Method to compute and visualize the closest set of facilities from OSM data

I want to use OSM to extract a set of facilities e.g. school, park, hospital inside a given region. from that, transform the area in grid and for each cell in a grid compute its score mixing the ...
1
vote
1answer
124 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 ...
4
votes
1answer
425 views

Sub-dividing a polygon into smaller polygons

In OpenStreetMap data, some large areas are tagged with a residential=yes tag. Actually within this large polygon there are multiple smaller (rectangular) houses (which are actually not drawn as yet). ...
2
votes
1answer
110 views

OpenStreetMap XAPI request for “Member Of”

I'm trying to find a way to request public transportation info from the OSM XAPI. Those nodes can be best described as: highway = * member of = ( route = bus ) Is that even possible to do over the ...
3
votes
2answers
125 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
0answers
61 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, ...
0
votes
1answer
43 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
48 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
2answers
76 views

OSM queries on history?

I would like to get a list of modifications on the OSM database, in a given bounding box, between two given dates and impacting a given set of tags. Does anyone know how to do this? Any command-line ...
1
vote
0answers
26 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
66 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 ...
4
votes
0answers
97 views

Spatial query too slow to handle bigger OSM extracts

I'm trying to compute some statistics for OSM data using PostgreSQL 9.3.5 and PostGIS 2.1.4. I started with a small bavaria extract which I downloaded from Geofabrik. The db schema is the normal API ...
0
votes
0answers
191 views

OSM Tile Server: How to avoid 404 errors?

We have built a OSM tile server with the following hardware Make: Dell Model: PowerEdge T110II RAM: 16GB HDD: 1TB RAID 1 using the excellent instructions provided by ...
3
votes
1answer
92 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 ...
3
votes
2answers
232 views

Incorrect display of national characters from Spatialite in QGIS, Windows

I used this tutorial by underdark (thanks much :-) ) to convert my area of interest from OSM file (whole Czech Republic downloaded from Geofabrik.de server). Used OSGEO4W shell (saying "GDAL 1.11.0, ...
4
votes
2answers
1k views

How to find out whether a photo is geotagged or not?

I use a android app called OSMTracker. This app records the GPS track and can take pictures and notes. Using JOSM software, the photos are shown exactly at their coordinates (location) but i cannot ...
1
vote
1answer
89 views

PostGis - BBox -vs- ST_intersects Queries

CartoDb Recommend here that the following query is faster than an St_intersects Query SELECT * FROM {table_name} WHERE the_geom && ST_SetSRID(ST_MakeBox2D(ST_Point(-73.9980, 40.726), ...