mirror of
https://github.com/php/presentations.git
synced 2026-03-23 23:22:22 +01:00
Added State of the Map talk.
This commit is contained in:
40
osm-progress.xml
Normal file
40
osm-progress.xml
Normal file
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<presentation css="10gen-strict.css">
|
||||
<topic>OpenStreetMap</topic>
|
||||
<title>Visualising Progress</title>
|
||||
<event>State of the Map</event>
|
||||
<location>Brussels, Belgium</location>
|
||||
<date>September 23rd, 2016</date>
|
||||
<speaker>Derick Rethans</speaker>
|
||||
<email>osm@derickrethans.nl</email>
|
||||
<twitter>derickr</twitter>
|
||||
<joindin>http://derickrethans.nl/talks/osm-progress</joindin>
|
||||
|
||||
<slide>slides/mongodb/title.xml</slide>
|
||||
<slide>slides/mongodb/me.xml</slide>
|
||||
|
||||
<slide>slides/map/vis-what-about.xml</slide>
|
||||
|
||||
<slide>slides/map/vis-first-one.xml</slide>
|
||||
<slide>slides/map/vis-not-too-spectacular.xml</slide>
|
||||
<slide>slides/map/vis-progress-what-does-it-show.xml</slide>
|
||||
<slide>slides/map/vis-how-does-it-work.xml</slide>
|
||||
<slide>slides/map/vis-prerequisites.xml</slide>
|
||||
<slide>slides/map/vis-getting-data.xml</slide>
|
||||
<slide>slides/map/vis-setup-replication.xml</slide>
|
||||
<slide>slides/map/vis-fetching-data.xml</slide>
|
||||
<slide>slides/map/vis-artwork.xml</slide>
|
||||
<slide>slides/map/vis-calculate-difference.xml</slide>
|
||||
<slide>slides/map/vis-render-edit-points.xml</slide>
|
||||
<slide>slides/map/vis-render-maps.xml</slide>
|
||||
<slide>slides/map/vis-combine-edit-points.xml</slide>
|
||||
<slide>slides/map/vis-convert-images-into-movie.xml</slide>
|
||||
<slide>slides/map/vis-music.xml</slide>
|
||||
<slide>slides/map/vis-examples.xml</slide>
|
||||
<slide>slides/map/vis-indonesia.xml</slide>
|
||||
|
||||
<slide>slides/mongodb/questions.xml</slide>
|
||||
|
||||
<slide>slides/mongodb/resources.xml</slide>
|
||||
|
||||
</presentation>
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 119 KiB After Width: | Height: | Size: 24 KiB |
3
slides/map/vis-examples.xml
Normal file
3
slides/map/vis-examples.xml
Normal file
@@ -0,0 +1,3 @@
|
||||
<slide>
|
||||
<blurb class="quote-page">Examples</blurb>
|
||||
</slide>
|
||||
@@ -6,6 +6,6 @@
|
||||
<bullet>You might have to tweak %configuration.txt% to get to a whole hour</bullet>
|
||||
<bullet>Sometimes you get 14 or 16 minutes</bullet>
|
||||
<bullet>You can either run it every 20 minutes, but I prefer to wait til the editting is over</bullet>
|
||||
<bullet>You can remove any unwanted file from the %dumps% directory</bullet>
|
||||
<bullet>For large areas, this can take a *lot* of time</bullet>
|
||||
</list>
|
||||
</slide>
|
||||
|
||||
5
slides/map/vis-first-one.xml
Normal file
5
slides/map/vis-first-one.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<slide>
|
||||
<title>The first one, in Kensington</title>
|
||||
|
||||
<video filename="south-kensington-mapping.webm" align="center" width="1000" height="563"/>
|
||||
</slide>
|
||||
@@ -2,19 +2,34 @@
|
||||
<title>Getting the data</title>
|
||||
|
||||
<list>
|
||||
<bullet>It is a lot easier if you do this *before* the party starts</bullet>
|
||||
<bullet>I use an extract from %http://download.geofabrik.de/%</bullet>
|
||||
<bullet>Create %config.txt% and change the coordinates:
|
||||
<example># osmosis
|
||||
bbox=left=-0.176 right=-0.115 top=51.53 bottom=51.50
|
||||
<example>name=Jakarta RT Mapping, DKI Jakarta
|
||||
# osmosis
|
||||
bbox=left=105.22 right=108.32 top=-4.51 bottom=-7.94
|
||||
poly=mali.poly
|
||||
# edits, make sure LON1 < LON2 and LAT1 > LAT2
|
||||
LON1=-0.15447
|
||||
LON2=-0.13512
|
||||
LAT1=51.5176
|
||||
LAT2=51.5086</example>
|
||||
LON1=106.50
|
||||
LON2=107.05
|
||||
LAT1=-5.97
|
||||
LAT2=-6.49
|
||||
# don't change those after you have run ./generate.sh
|
||||
ZOOMINFACTOR=200
|
||||
ZOOMOUTFACTOR=100
|
||||
ZOOM=0
|
||||
POINTS=1
|
||||
GPX=0
|
||||
MINUTELY=0
|
||||
# Setting this to "1" means that we don't use a title for fading, but just
|
||||
# from/to black.
|
||||
BLACK=1
|
||||
# If title overlay is set, we overlay in the right hand bottom corner the
|
||||
# title. This is generated from NAME through create-artwork.sh
|
||||
TITLE_OVERLAY=1
|
||||
</example>
|
||||
</bullet>
|
||||
<bullet>Extract the part that you need:<example>
|
||||
../osmosis-latest/bin/osmosis --rbf workers=3 file=great-britain-latest.osm.pbf \
|
||||
../osmosis-latest/bin/osmosis --rbf workers=16 file=great-britain.osm.pbf \
|
||||
--bb `cat config.txt | grep "bbox=" | cut -d "=" -f 2-` --lp --wx party.osm
|
||||
</example>
|
||||
</bullet>
|
||||
|
||||
5
slides/map/vis-indonesia.xml
Normal file
5
slides/map/vis-indonesia.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<slide>
|
||||
<title>Example</title>
|
||||
|
||||
<video filename="indonesia.webm" align="center" width="1000" height="563"/>
|
||||
</slide>
|
||||
@@ -2,19 +2,16 @@
|
||||
<title>Music</title>
|
||||
|
||||
<list>
|
||||
<bullet>Jamendo to find CC-BY music</bullet>
|
||||
<bullet>Kevin Maclead (%https://incompetech.com/%)</bullet>
|
||||
<bullet>Match length with length of video</bullet>
|
||||
<bullet>There's lots of "substandard" music</bullet>
|
||||
</list>
|
||||
|
||||
<blurb>%http://www.jamendo.com/en/search ?qs=fq=license_cc:(sa AND -nd AND -nc) &q=tags_idstr:"electronic"&sort=duration asc%</blurb>
|
||||
|
||||
<list>
|
||||
<bullet>Use %mencoder% to add sound track:</bullet>
|
||||
</list>
|
||||
|
||||
<example>mencoder -ovc copy \
|
||||
-audiofile /home/derick/media/mp3/cc-by/Olga_Scotland_-_Ernst.mp3 -oac copy \
|
||||
-audiofile /home/derick/media/mp3/cc-by/Artifact.mp3 -oac copy \
|
||||
test.avi \
|
||||
-o progress.avi</example>
|
||||
</slide>
|
||||
|
||||
@@ -3,8 +3,10 @@
|
||||
|
||||
<list>
|
||||
<bullet>ImageMagick</bullet>
|
||||
<bullet>PHP 5.3+ (with GD)</bullet>
|
||||
<bullet>PHP 7.0+ (with GD)</bullet>
|
||||
<bullet>Osmosis</bullet>
|
||||
<bullet>A working Mapnik rendering stack with all the default locations and users</bullet>
|
||||
<bullet>A GIT clone of<br/>%https://github.com/derickr/osm-progress.git%</bullet>
|
||||
<bullet>Lots of time</bullet>
|
||||
</list>
|
||||
</slide>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<slide>
|
||||
<title>The progress video</title>
|
||||
<title>The Newer Versions</title>
|
||||
|
||||
<list>
|
||||
<bullet>Each node modification creates an expanding circle</bullet>
|
||||
<bullet>Different colours for different contributors (mod 5 on the user id)</bullet>
|
||||
<bullet>GPX tracks in the same colours as the contributir</bullet>
|
||||
<bullet>GPX tracks in the same colours as the contributor</bullet>
|
||||
<bullet>Auto-zoom if required</bullet>
|
||||
<bullet>Some catchy music</bullet>
|
||||
</list>
|
||||
|
||||
9
slides/map/vis-what-about.xml
Normal file
9
slides/map/vis-what-about.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<slide>
|
||||
<title>What is this about?</title>
|
||||
|
||||
<list>
|
||||
<bullet>Videos are a great way to show how mapping progresses</bullet>
|
||||
<bullet>For local mapping parties, HOT events, or even for a whole country</bullet>
|
||||
<bullet>I have made these videos since about 2011, and they have much improved</bullet>
|
||||
</list>
|
||||
</slide>
|
||||
Reference in New Issue
Block a user