com presentations: OSM Q&A talk: election-map-osmqa18a.xml slides/map/boundary-data-json1.xml slides/map/boundary-data-json2.xml slides/map/boundary-data.xml slides/map/clipping-polygon.xml slides/map/didnt-win.xml slides/map/leaflet-tory.xml slides/map/leaflet.jpg slides/map/local-elections.png slides/map/local-elections.xml slides/map/openstreetmap-brent.xml slides/map/os-boundary-as-json-dev.png slides/map/os-boundary-as-json.png slides/map/os

[email protected] (Derick Rethans) Wed, 09 May 2018 13:19:20 +0000
Newsgroups php.pres
Message-ID <[email protected]>
Commit:    02ba0c8d098f7154a1796af62b0a76cc8385bd86
Author:    Derick Rethans <[email protected]>         Wed, 9 May 2018 14:19:20 +0100
Parents:   16d52eb275e2dc98b6a3c2e74cedc7f60dcbdc1e
Branches:  master

Link:       http://git.php.net/?p=presentations.git;a=commitdiff;h=02ba0c8d098f7154a1796af62b0a76cc8385bd86

Log:
OSM Q&A talk

Changed paths:
  A  election-map-osmqa18a.xml
  A  slides/map/boundary-data-json1.xml
  A  slides/map/boundary-data-json2.xml
  A  slides/map/boundary-data.xml
  A  slides/map/clipping-polygon.xml
  A  slides/map/didnt-win.xml
  A  slides/map/leaflet-tory.xml
  A  slides/map/leaflet.jpg
  A  slides/map/local-elections.png
  A  slides/map/local-elections.xml
  A  slides/map/openstreetmap-brent.xml
  A  slides/map/os-boundary-as-json-dev.png
  A  slides/map/os-boundary-as-json.png
  A  slides/map/os-boundary-line.png
  A  slides/map/other-win-brent-attribution.png
  A  slides/map/other-win-kilburn-updates.png
  A  slides/map/other-win1.xml
  A  slides/map/other-win2.xml
  A  slides/map/qgis-result-overview.xml
  A  slides/map/qgis-result-ward.xml
  A  slides/map/qgis-set-up.xml
  A  slides/map/qgis-ward-detail.png
  A  slides/map/qgis-ward-queens-park.png
  A  slides/map/qgis-wards.png
  A  slides/map/referendum.png
  A  slides/map/result.png
  A  slides/map/story.xml
  A  slides/map/the-map.xml
  M  slides/mongodb/me.xml
diff_02ba0c8d098f7154a1796af62b0a76cc8385bd86.txt (text/plain, 10.1 KB)
diff --git a/election-map-osmqa18a.xml b/election-map-osmqa18a.xml
new file mode 100644
index 0000000..476ef64
--- /dev/null
+++ b/election-map-osmqa18a.xml
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<presentation css="10gen-strict.css">
+<topic>OpenStreetMap</topic>
+<title>Mapping and Elections</title>
+<event>OpenStreetMap Q&amp;A</event>
+<location>London, UK</location>
+<date>May 9th, 2018</date>
+<speaker>Derick Rethans</speaker>
+<email>[email protected]</email>
+<url>https://derickrethans.nl/talks.html</url>
+<joindin>https://derickrethans.nl/talks/election-map-osmqa18a</joindin>
+<twitter>derickr</twitter>
+
+<slide>slides/mongodb/title.xml</slide>
+<slide>slides/mongodb/me.xml</slide>
+
+<!-- MAPS -->
+<slide>slides/map/story.xml</slide>
+<slide>slides/map/local-elections.xml</slide>
+<slide>slides/map/leaflet-tory.xml</slide>
+
+<slide>slides/map/the-map.xml</slide>
+<slide>slides/map/boundary-data.xml</slide>
+<slide>slides/map/boundary-data-json1.xml</slide>
+<slide>slides/map/boundary-data-json2.xml</slide>
+
+<slide>slides/map/openstreetmap-brent.xml</slide>
+<slide>slides/map/clipping-polygon.xml</slide>
+
+
+<slide>slides/map/qgis-set-up.xml</slide>
+<slide>slides/map/qgis-result-overview.xml</slide>
+<slide>slides/map/qgis-result-ward.xml</slide>
+
+<slide>slides/map/didnt-win.xml</slide>
+
+<slide>slides/map/other-win1.xml</slide>
+<slide>slides/map/other-win2.xml</slide>
+
+<!-- EXIT -->
+<slide>slides/mongodb/questions.xml</slide>
+<slide>slides/mongodb/resources.xml</slide> <!-- resources -->
+</presentation>
diff --git a/slides/map/boundary-data-json1.xml b/slides/map/boundary-data-json1.xml
new file mode 100644
index 0000000..cc56667
--- /dev/null
+++ b/slides/map/boundary-data-json1.xml
@@ -0,0 +1,5 @@
+<slide>
+<title>Boundary Data</title>
+<break lines="4"/>
+<image filename="os-boundary-as-json.png"/>
+</slide>
diff --git a/slides/map/boundary-data-json2.xml b/slides/map/boundary-data-json2.xml
new file mode 100644
index 0000000..dd46ae8
--- /dev/null
+++ b/slides/map/boundary-data-json2.xml
@@ -0,0 +1,8 @@
+<slide>
+<title>Boundary Data</title>
+<break lines="4"/>
+
+<image filename="os-boundary-as-json-dev.png"/>
+
+<blurb>https://www.ordnancesurvey.co.uk/election-maps/gb/</blurb>
+</slide>
diff --git a/slides/map/boundary-data.xml b/slides/map/boundary-data.xml
new file mode 100644
index 0000000..1fcd1ee
--- /dev/null
+++ b/slides/map/boundary-data.xml
@@ -0,0 +1,6 @@
+<slide>
+<break lines="4"/>
+<image filename="os-boundary-line.png"/>
+
+<blurb class="center">https://www.ordnancesurvey.co.uk/business-and-government/products/boundary-line.html</blurb>
+</slide>
diff --git a/slides/map/clipping-polygon.xml b/slides/map/clipping-polygon.xml
new file mode 100644
index 0000000..b405d54
--- /dev/null
+++ b/slides/map/clipping-polygon.xml
@@ -0,0 +1,11 @@
+<slide>
+<title>Clipping Data to Brent Polygon</title>
+
+<list>
+	<bullet>Download polygon:<br/><example>http://polygons.openstreetmap.fr/?id=75767</example></bullet>
+	<bullet>Remove prefix and postfix:<br/>%{"type":"GeometryCollection","geometries":[%<br/>%]}%</bullet>
+	<bullet>Create shape file:<br/><example>ogr2ogr brent-polygon.shp brent-polygon-one-feature.geojson</example></bullet>
+	<bullet>Clip data:<br/><example>ogr2ogr -clipsrc brent-polygon.shp -f "GeoJSON" \
+	ways-in-brent.geojson ways-in-brent-raw.geojson</example></bullet>
+</list>
+</slide>
diff --git a/slides/map/didnt-win.xml b/slides/map/didnt-win.xml
new file mode 100644
index 0000000..a45e737
--- /dev/null
+++ b/slides/map/didnt-win.xml
@@ -0,0 +1,6 @@
+<slide>
+<title>Result...</title>
+<break lines="3"/>
+<image filename="result.png"/>
+</slide>
+
diff --git a/slides/map/leaflet-tory.xml b/slides/map/leaflet-tory.xml
new file mode 100644
index 0000000..9374534
--- /dev/null
+++ b/slides/map/leaflet-tory.xml
@@ -0,0 +1,4 @@
+<slide>
+<break lines="8"/>
+<image filename="leaflet.jpg"/>
+</slide>
diff --git a/slides/map/leaflet.jpg b/slides/map/leaflet.jpg
new file mode 100644
index 0000000..0570fc0
Binary files /dev/null and b/slides/map/leaflet.jpg differ
diff --git a/slides/map/local-elections.png b/slides/map/local-elections.png
new file mode 100644
index 0000000..4de7625
Binary files /dev/null and b/slides/map/local-elections.png differ
diff --git a/slides/map/local-elections.xml b/slides/map/local-elections.xml
new file mode 100644
index 0000000..e8d688c
--- /dev/null
+++ b/slides/map/local-elections.xml
@@ -0,0 +1,6 @@
+<slide>
+<break lines="11"/>
+<image filename="local-elections.png"/>
+</slide>
+
+
diff --git a/slides/map/openstreetmap-brent.xml b/slides/map/openstreetmap-brent.xml
new file mode 100644
index 0000000..0422e5d
--- /dev/null
+++ b/slides/map/openstreetmap-brent.xml
@@ -0,0 +1,24 @@
+<slide>
+<title>Obtaining OpenStreetMap data</title>
+<break lines="4"/>
+<example>
+    /*
+    This has been generated by the overpass-turbo wizard.
+    The original search was:
+    “"dog_guillotine"=* global”
+    */
+    [out:json][timeout:25];
+    // gather results
+    (
+        ( area[name="London Borough of Brent"]; )->.a;
+        way(area.a);
+    );
+    // print results
+    out body;
+    >;
+    out meta skel qt;
+</example>
+<break lines="2"/>
+
+<blurb class="center">overpass turbo — http://overpass-turbo.eu/</blurb>
+</slide>
diff --git a/slides/map/os-boundary-as-json-dev.png b/slides/map/os-boundary-as-json-dev.png
new file mode 100644
index 0000000..ee80a59
Binary files /dev/null and b/slides/map/os-boundary-as-json-dev.png differ
diff --git a/slides/map/os-boundary-as-json.png b/slides/map/os-boundary-as-json.png
new file mode 100644
index 0000000..a8748e6
Binary files /dev/null and b/slides/map/os-boundary-as-json.png differ
diff --git a/slides/map/os-boundary-line.png b/slides/map/os-boundary-line.png
new file mode 100644
index 0000000..632f3ee
Binary files /dev/null and b/slides/map/os-boundary-line.png differ
diff --git a/slides/map/other-win-brent-attribution.png b/slides/map/other-win-brent-attribution.png
new file mode 100644
index 0000000..a017404
Binary files /dev/null and b/slides/map/other-win-brent-attribution.png differ
diff --git a/slides/map/other-win-kilburn-updates.png b/slides/map/other-win-kilburn-updates.png
new file mode 100644
index 0000000..17a092b
Binary files /dev/null and b/slides/map/other-win-kilburn-updates.png differ
diff --git a/slides/map/other-win1.xml b/slides/map/other-win1.xml
new file mode 100644
index 0000000..34eecc5
--- /dev/null
+++ b/slides/map/other-win1.xml
@@ -0,0 +1,5 @@
+<slide>
+<title>Other Wins</title>
+<break lines="3"/>
+<image filename="other-win-brent-attribution.png"/>
+</slide>
diff --git a/slides/map/other-win2.xml b/slides/map/other-win2.xml
new file mode 100644
index 0000000..5726d8d
--- /dev/null
+++ b/slides/map/other-win2.xml
@@ -0,0 +1,5 @@
+<slide>
+<title>Other Wins</title>
+<break lines="3"/>
+<image filename="other-win-kilburn-updates.png"/>
+</slide>
diff --git a/slides/map/qgis-result-overview.xml b/slides/map/qgis-result-overview.xml
new file mode 100644
index 0000000..5dd768e
--- /dev/null
+++ b/slides/map/qgis-result-overview.xml
@@ -0,0 +1,5 @@
+<slide>
+<title>Brent Borough Overview</title>
+<break lines="3"/>
+<image filename="qgis-wards.png"/>
+</slide>
diff --git a/slides/map/qgis-result-ward.xml b/slides/map/qgis-result-ward.xml
new file mode 100644
index 0000000..a978221
--- /dev/null
+++ b/slides/map/qgis-result-ward.xml
@@ -0,0 +1,5 @@
+<slide>
+<title>Queen's Park Ward</title>
+<break lines="3"/>
+<image filename="qgis-ward-queens-park.png"/>
+</slide>
diff --git a/slides/map/qgis-set-up.xml b/slides/map/qgis-set-up.xml
new file mode 100644
index 0000000..08da350
--- /dev/null
+++ b/slides/map/qgis-set-up.xml
@@ -0,0 +1,5 @@
+<slide>
+<title>QGis</title>
+<break lines="3"/>
+<image filename="qgis-ward-detail.png"/>
+</slide>
diff --git a/slides/map/qgis-ward-detail.png b/slides/map/qgis-ward-detail.png
new file mode 100644
index 0000000..09c69c5
Binary files /dev/null and b/slides/map/qgis-ward-detail.png differ
diff --git a/slides/map/qgis-ward-queens-park.png b/slides/map/qgis-ward-queens-park.png
new file mode 100644
index 0000000..7fceb08
Binary files /dev/null and b/slides/map/qgis-ward-queens-park.png differ
diff --git a/slides/map/qgis-wards.png b/slides/map/qgis-wards.png
new file mode 100644
index 0000000..71d3bff
Binary files /dev/null and b/slides/map/qgis-wards.png differ
diff --git a/slides/map/referendum.png b/slides/map/referendum.png
new file mode 100644
index 0000000..a0d6a00
Binary files /dev/null and b/slides/map/referendum.png differ
diff --git a/slides/map/result.png b/slides/map/result.png
new file mode 100644
index 0000000..8c0acd1
Binary files /dev/null and b/slides/map/result.png differ
diff --git a/slides/map/story.xml b/slides/map/story.xml
new file mode 100644
index 0000000..e97bef8
--- /dev/null
+++ b/slides/map/story.xml
@@ -0,0 +1,6 @@
+<slide>
+<break/>
+<image filename="referendum.png"/>
+</slide>
+
+
diff --git a/slides/map/the-map.xml b/slides/map/the-map.xml
new file mode 100644
index 0000000..a328be9
--- /dev/null
+++ b/slides/map/the-map.xml
@@ -0,0 +1,19 @@
+<slide>
+<title>Goals &amp; Steps</title>
+
+<blurb>Goals</blurb>
+<list>
+	<bullet>Council overview map</bullet>
+	<bullet>Big map for an overview of the ward<br/>— "what estate agents do"</bullet>
+</list>
+
+<break/>
+<blurb>Steps</blurb>
+<list>
+	<bullet>Obtain boundary data</bullet>
+	<bullet>Obtain and process OpenStreetMap data</bullet>
+	<bullet>Style and massage data with QGis</bullet>
+	<bullet>Render maps, and split them up for 4x4 printing</bullet>
+</list>
+
+</slide>
diff --git a/slides/mongodb/me.xml b/slides/mongodb/me.xml
index 82ddf85..6717689 100644
--- a/slides/mongodb/me.xml
+++ b/slides/mongodb/me.xml
@@ -6,9 +6,9 @@
 
 	<blurb>Derick Rethans</blurb>
 	<list>
-		<bullet>I'm ---Dutch/British--- European, living in London</bullet>
-		<bullet>One of the *MongoDB* driver maintainers</bullet>
-		<bullet>Author of the PHP debugger tool *Xdebug*, PHP's Date/Time support, and a bunch of other PHP extensions</bullet>
+		<bullet>I'm European, living in London</bullet>
+		<bullet>I work on the *MongoDB* PHP driver</bullet>
+		<bullet>*Xdebug* &amp; PHP's Date/Time support</bullet>
 		<bullet>I ♥🌍 maps, I ♥🍺 beer, I ♥🥃  whisky</bullet>
 		<bullet>twitter: @derickr</bullet>
 	</list>