QGIS + OSM

What makes OSM data different?

Working with OSM data

Why OSM data are more fun

Styling OSM data with QGIS

Actually Profitable!

OpenStreetMap Data Structure

OSM Data: A Rendered Way

OSM Data: A Raw Way


	
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
	

Stats

Why OSM Data? Changesets

Changeset: Data


	
	
	
	
	

Changesets in Action!












https://www.mapbox.com/blog/edits-worldwide-id/

Obtaining OSM Data

Obtaining our Data

Many Sources:

  1. OpenStreetMap Website
  2. Mapzen Metro Extracts
  3. OSM Overpass API
  4. QGIS Can do it Natively!

overpass-turbo.eu

overpass-turbo.eu

OverPass Turbo Wiki

Sample: Get ALL osm objects in a bounding box
<osm-script>
	<query type="relation">
   		<bbox-query {% raw %}{{bbox}}{% endraw %}/>
	</query>
	
  	<query type="way">
  		<bbox-query {% raw %}{{bbox}}{% endraw %}/>
	</query>
	
	<union>
		<item/>
		<recurse type="down"/>
	</union>
<print mode="meta"/>

Getting the Data into QGIS

+

How does QGIS read OSM Data?

OGR Drivers

.osm = XML

GeoJSON is parsed natively

TO QGIS!