com presentations: OSM talk for php|tek: osm-tek13.xml slides/map/500px-Simple_happy_face.svg.png slid es/map/500px-Simple_sad_face.svg.png slides/map
/data-density.png slides/map/editor-id.png slides/map/o sm-data-uses.xml slides/map/osm-editors.xml slides/map/ osrm.xml
| From: | Derick Rethans | Date: | Mon, 13 May 2013 16:23:38 +0000 |
| Subject: | com presentations: OSM talk for php|tek: osm-tek13.xml slides/map/500px-Simple_happy_face.svg.png slid es/map/500px-Simple_sad_face.svg.png slides/map /data-density.png slides/map/editor-id.png slides/map/o sm-data-uses.xml slides/map/osm-editors.xml slides/map/ osrm.xml |
||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-1892@lists.php.net to get a copy of this message | ||
Commit: ce7776f0bc43e18a070bde8a905ae1142f9417c8
Author: Derick Rethans <github@derickrethans.nl> Mon, 13 May 2013 17:23:38 +0100
Parents: 7e417ebf0c5a1396b14f7a69d86edada1f21031e
Branches: master
Link: http://git.php.net/?p=presentations.git;a=commitdiff;h=ce7776f0bc43e18a070bde8a905ae1142f9417c8
Log:
OSM talk for php|tek
Changed paths:
A osm-tek13.xml
M slides/map/500px-Simple_happy_face.svg.png
M slides/map/500px-Simple_sad_face.svg.png
A slides/map/data-density.png
A slides/map/editor-id.png
M slides/map/osm-data-uses.xml
M slides/map/osm-editors.xml
M slides/map/osrm.xml
Diff:
diff --git a/osm-tek13.xml b/osm-tek13.xml
new file mode 100644
index 0000000..129b0c6
--- /dev/null
+++ b/osm-tek13.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="utf-8"?>
+<presentation css="10gen.css">
+<topic>Maps</topic>
+<title>OpenStreetMap for the Web</title>
+<event>tek 13</event>
+<location>Rosemont, IL, US</location>
+<date>May 16th, 2013</date>
+<speaker>Derick Rethans</speaker>
+<email>derick@derickrethans.nl</email>
+<twitter>derickr</twitter>
+<joindin>http://joind.in/8171</joindin>
+<slide>slides/map/title.xml</slide>
+<slide>slides/mongodb/me.xml</slide>
+
+<!--
+In this talk I will be explaining the strong points of OpenStreetMap and why
+using GoogleMaps for your websites is generally a bad idea. Contrary to popular
+belief, GoogleMaps isn't as amazing as it looks and they are a lot more evil
+than they look. OpenStreetMap's data is also easily accessible for use in PHP
+applications and the generated tiles can easily be embedded into a Web 2.0
+application. Its open nature is a welcome and powerful geo database that can be
+added to and used in whatever way imaginary.
+-->
+
+<slide>slides/map/earth-not-a-sphere.xml</slide>
+<slide>slides/map/earth-sphere-approximation.xml</slide>
+<slide>slides/map/meridian.xml</slide>
+<slide>slides/map/projections.xml</slide>
+
+<!--
+What is X?
+-->
+<slide>slides/map/osm-what.xml</slide>
+<slide>slides/map/what-is-osm.xml</slide>
+
+
+
+<slide>slides/map/leaflet.xml</slide>
+
+<slide>slides/map/openlayers-location.xml</slide>
+<slide>slides/map/leaflet-location.xml</slide>
+<slide>slides/map/reverse.xml</slide>
+<slide>slides/map/reverse-services.xml</slide>
+<slide>slides/map/osrm.xml</slide>
+<slide>slides/map/osrm-services.xml</slide>
+
+<slide>slides/map/osm-data.xml</slide>
+
+<slide>slides/map/osm-tags-edit.xml</slide>
+
+
+<slide>slides/map/osm-mapping-party1.xml</slide>
+<slide>slides/map/osm-editors.xml</slide>
+<slide>slides/map/osm-kibera.xml</slide>
+<slide>slides/map/gmm-korogocho2.xml</slide>
+<slide>slides/map/osm-sad-face.xml</slide>
+<slide>slides/map/osm-happy-face.xml</slide>
+
+<slide>slides/map/osm-xapi.xml</slide>
+<slide>slides/map/osm-data-uses.xml</slide>
+
+<slide>slides/mongodb/resources.xml</slide>
+
+</presentation>
diff --git a/slides/map/500px-Simple_happy_face.svg.png b/slides/map/500px-Simple_happy_face.svg.png
index 04b2568..8a0b4fb 100644
Binary files a/slides/map/500px-Simple_happy_face.svg.png and
b/slides/map/500px-Simple_happy_face.svg.png differ
diff --git a/slides/map/500px-Simple_sad_face.svg.png b/slides/map/500px-Simple_sad_face.svg.png
index c873687...8afe980 100644
Binary files a/slides/map/500px-Simple_sad_face.svg.png and
b/slides/map/500px-Simple_sad_face.svg.png differ
diff --git a/slides/map/data-density.png b/slides/map/data-density.png
new file mode 100644
index 0000000..cedd8f4
Binary files /dev/null and b/slides/map/data-density.png differ
diff --git a/slides/map/editor-id.png b/slides/map/editor-id.png
new file mode 100644
index 0000000..339ace5
Binary files /dev/null and b/slides/map/editor-id.png differ
diff --git a/slides/map/osm-data-uses.xml b/slides/map/osm-data-uses.xml
index ae76646..a7f26bf 100644
--- a/slides/map/osm-data-uses.xml
+++ b/slides/map/osm-data-uses.xml
@@ -1,7 +1,7 @@
<slide>
<title>Different visualisations of the data</title>
<div effect="fade-out"><image filename='style-cycle.jpg'
x-offset="1" pdf-scale="0.2"/></div>
-<div effect="fade-in-out"><image filename='style-sea.jpg'
x-offset="5" pdf-scale="0.2"/></div>
+<div effect="fade-in-out"><image filename='data-density.png'
x-offset="5" pdf-scale="0.2"/></div>
<div effect="fade-in-out"><image filename='style-transport.jpg'
x-offset="9" pdf-scale="0.2"/></div>
<div effect="fade-in-out"><image filename='style-piste.jpg'
x-offset="13" pdf-scale="0.2"/></div>
<div effect="fade-in-out"><image filename='style-wheel.jpg'
x-offset="17" pdf-scale="0.2"/></div>
diff --git a/slides/map/osm-editors.xml b/slides/map/osm-editors.xml
index 94f93cb..fbe4fd0 100644
--- a/slides/map/osm-editors.xml
+++ b/slides/map/osm-editors.xml
@@ -4,10 +4,7 @@
<image filename='editor-none.png'/>
</div>
<div effect="fade-in-out">
-<image filename='editor-potlatch2.png'/>
-</div>
-<div effect="fade-in-out">
-<image filename='editor-potlatch2a.png'/>
+<image filename='editor-id.png'/>
</div>
<div effect="fade-in">
<image filename='editor-josm.png'/>
diff --git a/slides/map/osrm.xml b/slides/map/osrm.xml
index 81d02be..0188e96 100644
--- a/slides/map/osrm.xml
+++ b/slides/map/osrm.xml
@@ -14,8 +14,8 @@ $to = urlencode( "St Paul's Cathedral, London" );
$fromLL = json_decode( file_get_contents( "{$nominatimUrl}{$from}" ) );
$toLL = json_decode( file_get_contents( "{$nominatimUrl}{$to}" ) );
-$osrmUrl = 'http://router.project-osrm.org/viaroute';
-$osrmUrl .= sprintf( "?loc=%.4f,%.4f", $fromLL[0]->lat, $fromLL[0]->lon );
+$osrmUrl = 'http://router.project-osrm.org/viaroute?instructions=true';
+$osrmUrl .= sprintf( "&loc=%.4f,%.4f", $fromLL[0]->lat, $fromLL[0]->lon );
$osrmUrl .= sprintf( "&loc=%.4f,%.4f", $toLL[0]->lat, $toLL[0]->lon );
var_dump( json_decode( file_get_contents( $osrmUrl ) ) );
?>]]></example>