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
2answers
179 views

How to get shapefile of river from OpenStreetMap?

I dont want to download whole map of an area. I just want rivers and other waterbodies present in an area in shapefiles so that I can use them in Qgis. I tried geofabrik but it is giving whole map and ...
0
votes
1answer
30 views

how to export the entire bounding box from overpass-turbo?

I'm new to the overpass-turbo world, so sorry if the question sounds silly. What I'm trying to do is to export all the elements (peak, tracks, routes, streets.....) of a bounding box I have selected. ...
0
votes
0answers
52 views

Tiles taking too long to render

I've followed the tutorial available here. The installation worked alright, but opening the tile in a browser leads to a 404 error. The only error from the server is "Failed to read cmd on fd 10". ...
0
votes
1answer
13 views

polytiles error

when I run a polytiles.py script for mapnik rendering. It worked just fine until the error: Process Process-1: Traceback (most recent call last): File ...
0
votes
1answer
48 views

Error with existing OSM QGIS style

I'm trying to use existing OSM style file like those of AsgerPetersen (https://github.com/3liz/osm-in-qgis/tree/master/styles/openstreetmap/geofabrik) or anitagraser's ...
2
votes
3answers
185 views

How do I query highways with overpass turbo?

I want to use overpass to show major highways for a US city. How can I query that from overpass turbo? I tried the following code here and it returns tons of dots. I really want only lines showing ...
0
votes
0answers
33 views

schools are included as nodes, while others are areas - how to get all of them?

goal: want to extract schools from Overpass-api: now with an update: the allready exinsting code runs nicely. At the moment it is no problem that i do not catch the shools as ways nodes or rleatins. ...
0
votes
0answers
47 views

parsing an osm-file with PHP simpleXML :: getting a few more tags

I am new to PHP's SimpleXML. upate: The original version of this question was derived from here: OSM Data parsing to get the nodes with child I am thankful that hakre offered a great example in ...
1
vote
0answers
29 views

change the area in a osm-request: from lon & lat to whole country

I am new to PHP's SimpleXML. the script below makes a starting point for my project. Below I have added my own answer to the question, how to refine the code to ad more tags. I want to filter the ...
1
vote
1answer
38 views

Draw area from street borders

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
0answers
21 views

Extract BoundingBox with Osmosis Java API

I'm am trying to use the Osmosis Java API to extract reasonably sized blocks from the OSM planet file using the BoundingBoxFilter. Note: I'm using maven Osmosis packages NOT the command line ...
4
votes
2answers
324 views

Where does Open-Streetmap forest data come from?

If you open this url http://www.openstreetmap.org/?mlat=50.6524658203125&mlon=9.4482421875&zoom=13 you are in a forest in germany. I downloaded the complete Open-Streetmap Data for Germany. ...
2
votes
2answers
35 views

How to download only selected attributes using Overpass turbo?

does anyone know of a query to download select attributes using Overpass turbo? I am trying to download very granular road dataset for an entire country, but I only want a few columns. Thanks!
0
votes
1answer
32 views

With osm2pgrouting, how to handle relations?

I'm trying to create a topology of the public transport in Paris. I use a OSM export, osm2pgrouting with the correspondent mapconfig.xml and Postgis. Everything works fine, except one thing. In ...
17
votes
4answers
9k views

How do I load OSM vector data in QGIS 2.x?

In QGIS 1.8 I used the openstreetmap plugin to request data from the server, or open a .osm XML file, which produced 3 layers (polygons, polylines and points) in QGIS. This was great (give or take the ...
3
votes
4answers
94 views

How to make an editable City Map from OSM data?

I want to make a map of Cardiff, Wales, showing features useful to tourists, e.g. roads with road names, parks, museums, other POIs, etc. I want the final map to be clear to read - simple roads and ...
1
vote
1answer
20 views

Why does Points in polygon create empty PNTCNT column from OSM points?

I tried to use the Points in polygon tool in qgis 2.2.0 and it worked fine as long as I used my own points. When I tried to 'count' the points generated from OSM layers both from dowloaded ...
1
vote
1answer
34 views

How to do geographic operations (intersect) on OSM XML?

I would like to create bicycle router which routes more through shade. For that I would like to use OSM. Most routers use OSM xml so my question is: How to add tags to a street that goes through a ...
2
votes
2answers
70 views

Why OSM data has different attribute values from the same element and same time frame?

Here is my question: Does anyone know why OSM has different attribute values from the same element and same frame time? The example explains itself, when I try the Shapefile from different mirrors ...
0
votes
0answers
9 views

OSM exports at different scale to what is on screen

I am using ArcGIS 9.3.1 I have added OSM as a WMS layer. I have a map set up how I want it to look in the layout view. When I go to export the map, whether as an image file, or in AI, which is the ...
0
votes
0answers
26 views

Mapping application basic for ruby on rails

I am new to build map application using ruby on rails, with rails 4.1.1. I want to create map using map tiles. i have to use PostgreSQL database with postgis. Can you please explain how this flow ...
2
votes
2answers
141 views

OSM linestring shown as point

I have loaded the following file http://openstreetmapdata.com/data/coastlines to postgreSQL. In visual studio with gdal/ogr and geos enabled: SELECT geom FROM waterpoly WHERE geom IS NOT NULL LIMIT ...
1
vote
2answers
37 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
0answers
17 views

Countries not loaded in Nominatim base installation?

I just installed the Nominatim geocoder and loaded the Andorra.pbf dataset. I saw that in the Nominatim project, there are multiple .sql file in the data/ folder with country names and polygon that ...
0
votes
1answer
38 views

Missing hstore column in TileMill!

I made a PostgreSQL with PosGIS Extension DB with the pgsnapshot_schema and loaded an .osm.pbf-file with OSMOSIS into it. Now i connected it to TileMill, but if i look up into the table i just see ...
1
vote
3answers
55 views

Is there an OSM High Level Dataset (pbf) available?

I'm currently trying to setup an offline Nominatim geocoder VM and I only need to have access high level data (countries, states and cities). Is there an OSM high level dataset (.pdf package) ...
6
votes
3answers
2k views

Dissolve or unsplit lines on common attributes in PostGIS or GRASS?

I have a road centerline shapefile that has roads split at every intersection. However, I would like to join LINESTRINGs that have a common set of attributes into a single LINESTRING. So long as the ...
1
vote
3answers
578 views

imposm: Failing to import OSM data to PostgreSQL

Somehow I can't import OSM data to my database. I'm using Debian, PostgreSQL 9.1 and PostGIS 1.5. The user root has been granted all privileges for the database osm. Input: imposm -U root -d osm -m ...
2
votes
1answer
85 views

Open Street Map “no map for: default”

I'm hitting my head off a wall! I Have installed renderd and mapnik on Debain squeeze v6.0.5. Renderd(version 0.7.1) is starting without error. But when I request the /osm_tiles2/0/0/0.png . The ...
0
votes
1answer
88 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
2answers
42 views

shapefile terminology for key-value pair

In an .osm file, there are <TAG ... /> elements like <way visible="true" id="-4409" timestamp="1970-01-01T00:00:00Z" version="1"> <nd ref="-21845"/> <tag k="fcc" ...
0
votes
1answer
77 views

Does OSM data contain the direction of travel?

I was looking for Direction of Travel (DOT) information inside OpenStreetMap shapefiles, but only I've just found "ONEWAY = 1 or 0", but nothing about its direction. If I work on an OSM editor, I can ...
1
vote
1answer
26 views

Why does geoserver layer disappear when baselayer is false?

I am trying to overlay a layer from Geoserver on an OpenStreetMap base layer. If I load the Geoserver layer as a base layer, I can see it - but if I set baselayer to false it disappears. My code is: ...
0
votes
1answer
43 views

How do I avoid this osm2pgsql duplicate key error in Windows?

I am attempting to load an OSM .bz2 file into a PostGIS database using osm2pgsql but am stuck at a duplicate key value in the nodes which violates a unique constraint - any suggestions? output is ...
0
votes
0answers
68 views

How to import SRTM data for the whole planet into TileMill

I need to get SRTM elevation data for the whole planet into TileMill. I already walked through the instructions on Steve Bennett's blog and it worked fine for small areas. The problem is now that for ...
1
vote
1answer
121 views

Development guide for beginner? [duplicate]

Im new to GIS and mapping, and I need to learn how to create web map application for my project. I'm really confused on what to use. I have read PostGIS, OpenStreetMap, and Openlayer. I'm wondering ...
3
votes
2answers
358 views

Is there a location where one can download all of the gpx files for OSM?

Where can I download all the gpx file in OSM.org website? Is there a package include all the gpx file? I don't want to download these gpx files one by one...
1
vote
3answers
107 views

Dismiss invalid Polygons in PostGIS

I Have a massive Dataset from OpenStreetMap and imported it into a Postgres-Database using ogr2ogr. I got several warnings during this process because of multipolygons with too little vertices. Now I ...
6
votes
1answer
1k views

Generating tiles for osm/esri shapefiles

I've generated tiles for OpenStreetMap .OSM files using Maperitive and quickly consumed them with leaflet (with no tile cache yet). I'm now looking for the right and simple way to do that also with ...
2
votes
0answers
77 views

TileMill Exports Failing

I'm having trouble exporting my map in TileMill (v0.10.1). I'm using OSM Bright with a PostGIS database connection to import OpenStreetMap data. When exporting an SVG or PDF through the user interface ...
0
votes
1answer
63 views

How to start creating a map and exporting it as a raster MBTiles file

I am new to this whole GIS thing (my background is software-development, but not GIS) but I am super interested in making maps. So I started playing around with TileMill and was making my first steps ...
3
votes
1answer
69 views

OSM line labels in Tilemill

I'm learning to use Tilemill to map Toronto OSM street data. I've added osm2psql data from http://metro.teczno.com/#toronto. When turning on road labels for the line file, I find that I'm getting ...
0
votes
0answers
25 views

osmconvert gives back complains about disc space

experts fairly new to osm - i tried to run the following code ./osmconvert baden-wuerttemberg-latest.osm.pbf --all-to-nodes -o=baden-wuerttembergrestaurants.o5m ./osmfilter ...
1
vote
2answers
46 views

How to get a set of all buildings of an OpenStreetMap section in form of single points / Multiple polygons as one point

The objective is to get a set of all buildings of an Open Street Map section in form of single points in a shapfile. I downloaded the section from osm. Imported the section into QGIS (and later ...
-2
votes
1answer
59 views

complete list of poi-types in Germany

look for a complete list of poi-types I use foursquare because it contains a lot of POIs. Which database do you use when you need a point of interest in North America? Which database you use for ...
0
votes
2answers
60 views

Projecting OpenStreetMap raster base in other projections

I know that OSM WMS service works with EPSG:4326 and EPSG:900913 I need to have an OSM base layer projected in another Projection, for example EPSG:32632 Do you know some way to do this? Even ...
10
votes
1answer
787 views

Conflate (merge) private shapefile data with OSM data

Background Downloaded Alberta OSM data from Geofabrik and have it running on a private Linux server using PostgreSQL 9.1, PostGIS 2.0, Mapnik 2.1.0, osm2pgsql, Apache 2, mod_tile, renderd, and ...
1
vote
1answer
82 views

Difference between planet_osm_polygon and planet_osm_point tables

What's the difference between the planet_osm_polygon and planet_osm_point tables? I find similar columns in both tables.
3
votes
1answer
105 views

Can OpenLayers.Layer.OSM (the OSM tile servers) be used in production environment?

open layers has an openstreetmap layer built in : OpenLayers.Layer.OSM (are the tiles they use from openstreetmap servers or somewhere else?) can it be used in a production environment in terms of: ...
0
votes
1answer
58 views

PostGis geometry name lookup failed for table

I have a table name erpAssets which has column name Region of type polygon. it contains entries of points also like (-79.4609576808001,43.9726680183837)). I have written query which convert these ...