Ian Turton, Astun Technology Ltd.
@ijturton
He and his crew are very forgetful and very poor cartographers.
No! His data plan is killing him:
Every tile comes over the satellite!
Also he can't share his maps with the crew.
Pip realises that most tiles don't change (very often) and he could update when he was in port to save roaming charges.
Remember Pip is still broke (and he has the phone bill still to pay).
Pip after some searching chooses MapProxy.
Pip also needs to be able to store his routes and other useful information (where he buried the treasure).
He picks GeoServer to provide a WFS-T service to QGIS with PostGIS to store his data.
At first Pip, thinks he will use his laptop to store the cache. But then other crew members can't access the maps when he has shut it down.
As Pip is (still) broke he looks for a cheap computer.
He could get...
Pip needs:
By Evan-Amos - Own work, Public Domain,
- 1.2GHz 64-bit quad-core ARM Cortex-A53 CPU
- 1GB RAM (LPDDR2 SDRAM)
- On-board Wireless LAN - 2.4 GHz 802.11 b/g/n (BCM43438)
- 4 x USB 2.0 ports
sudo apt-get install python-imaging python-yaml libproj0 sudo apt-get install build-essential libjpeg-dev zlib1g-dev libfreetype6-dev sudo -H pip install Pillow sudo -H pip install MapProxy sudo apt-get install oracle-java8-jdk unzip wget http://sourceforge.net/projects/geoserver/files/GeoServer /2.11.1/geoserver-2.11.1-war.zip unzip geoserver-2.11.1-war.zip sudo cp geoserver.war /var/lib/tomcat7/webapps
sudo apt-get install apache2 sudo apt-get install apache2-dev sudo apt-get install python-dev wget https://pypi.python.org/packages/c8/d5/... /mod_wsgi-4.5.17.tar.gz tar xvzf mod_wsgi-4.5.17 ./configure make sudo make install
If you get a disk full message when df -h shows you have lots of space left try df -ih.
It is very easy to run out of inodes default is 15M - you need at least 16M
For full resilience add a solar panel and battery pack.
Also can add a VGA or small video screen, USB keyboard & mouse.
For bonus tracking it is easy to add a GPS chip to the Raspberry Pi and track the boat directly into the PostGIS database.
A Raspberry Pi:
Slides are at http://www.ianturton.com/talks/pirates-foss4g/index.html
Ian Turton, [email protected], ijturton
Space | Forward |
---|---|
Right, Down, Page Down | Next slide |
Left, Up, Page Up | Previous slide |
P | Open presenter console |
H | Toggle this help |