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)

0
votes
0answers
28 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
17 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
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 ...
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
26 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
16 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
48 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
38 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
48 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
54 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
41 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
147 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
74 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
386 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
103 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 ...
2
votes
2answers
62 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
35 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
31 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
33 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
58 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
24 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
57 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
0answers
88 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
93 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
69 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
202 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
596 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 ...
0
votes
1answer
60 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), ...
1
vote
1answer
59 views

CartoCSS Expression for shield-name

Is there any way to use a regular expression to filter a string when using CartoCSS expressions? I have geojson of some ways and route relations I obtained using Overpass Turbo. When creating a new ...
2
votes
4answers
100 views

Postgis don't use spacial-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 ...
0
votes
0answers
37 views

GIS Data from osm visual in google maps

I have download from openstreetmap data for my project in a workshop i use den coordinates from a roads network ,but i have problem with visualization the cord in google maps same roads is not drawn ...
1
vote
1answer
45 views

OSM Tiles slow at low zoom levels

We have built an OSM Tile Server following the instructions at http://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/ We have imported planet_latest.osm.pbf. Our server renders ...
1
vote
0answers
21 views

DPI Dependent OSM Tile Rendering

We have built an OSM Tile Server following the instructions at http://switch2osm.org/serving-tiles/building-a-tile-server-from-packages/ The tile server is rendering tiles, but the street names on ...
1
vote
2answers
38 views

Best way to get osm.pbf data for a given extent?

I need to download/create a PBF file containing all osm data for several french urban areas. To select data, I have, for each urban area, the values of the attribute ref:INSEE for every city composing ...
2
votes
1answer
79 views

Generating polygons with streets as borders using QGIS?

I have searched online for almost a week and can not find an answer to my issue. I need to generate polygons from street borders in a given city. I have downloaded data from openstreetmaps and ...
0
votes
1answer
72 views

Get postal codes of a city in OSM via postgis/postgresql

So, I'm trying to get the postal codes of a city (polygon). Unfortunately, I never get consistent results with my code: SELECT a.name, b.tags->'postal_code' FROM planet_osm_polygon a JOIN ...
0
votes
0answers
60 views

Does a road connect one grid cell to an adjacent grid cell?

So here is the problem I am working on. I have an OpenStreetMap roadmap which I overlaid with a 2-D cartesian grid. So for a given grid square, I want to find out if a road segment continues from the ...
2
votes
0answers
29 views

nominatim api for long streets

I'm using the Nominatim API in geojson method to retrieve streets poly line. For short streets I have no issue and the results are good. However for long streets the data I'm getting back in the ...
0
votes
2answers
62 views

using mod_tile in windows

I am trying to generate tiles on the fly in windows using mod_tile. I have followed the tutorial http://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/ on ubuntu and successfully ...
1
vote
3answers
205 views

Load external tileJSON file in Mapbox

I have tiles generated by Maperitive from an OSM file, and there's a nice tiles.json generated with them which specifies neatly the tiles-path, bounding box, minzoom, maxzoom, center, etc. The format ...
5
votes
2answers
960 views

OpenLayers XYZ Unable to Load Local Tiles

I have some local tiles that were generated from OpenStreetMaps using Maperitive. I've tried going through the docs and tests but the map is not loading. I'm not getting any errors in chrome's js ...
0
votes
1answer
89 views

What can I do in Mapbox Studio with the osm_id number for #buildings from Mapbox Streets?

My goal is to use OpenStreetMap buildings data to create map tiles that show buildings styled with information such as name, floors, and other information from the tags associated with the way/feature ...
4
votes
2answers
184 views

How to filter and download OSM data by attribute tag?

Is there any online service that allows to download only one thematic layer of the OSM data for a specific geographic region? For example all objects related to vegetation (trees, grassland,...), but ...
1
vote
1answer
75 views

How to select a line from a osm shape by osm_id

I'm using TileMill to make a map, but I can't seem to be able to format a specific item with a specific osm_id via mss. I have a shape file added as a layer #line: Then, in the features list of ...
2
votes
1answer
49 views

Overpass (command line): how to view the results on a map?

I've tried to play with Overpass from command line because I've to do a query quite "expensive" that Overpass Turbo can't to do My issue is about to download all the addresses in Italy Here you are ...
1
vote
2answers
52 views

How can I add another WHERE filter to a PostGIS query?

I have this query, which works well, for an OSM database: SELECT row_to_json(fc) FROM ( SELECT ST_AsGeoJSON(ST_Transform(ST_Intersection(lg.geometry, bbox.geom), 4326))::json As geometry, ( ...
0
votes
1answer
63 views

Open Street Map and Arcgis 10.1 Network Analyzer

how to make roads in open_street_map ready for network_analyze in Arcgis-10.1 Details: I'v download an osm map of my town I saved the street lines as polyline shapefile I opend them in arcgis-10.1 I ...
1
vote
0answers
19 views

OpenStreetMap Nominatim Underscore Amenities Not Working

I'm trying to locate the drinking_water amenity in Nominatim to no avail. When I run the following query: ...
3
votes
2answers
76 views

Create smaller OSM with only basic zoom levels data from larger OSM file

From a large .osm/.o5m file (for India), I only want to extract the data that would actually show up when one is looking from zoom levels 1/0 through 8 (which is quite zoomed out.. only major cities, ...
2
votes
1answer
95 views

ST_INTERSECT of each element of two tables (polygons, lines)

Im new to postgis and trying to solve the following problem: I have two tables: 1. containing polygons 2. containing lines I need to find out the id of all polygons on each line and fill them in new ...