pico-tracker/sim/geofence
Richard Meadows 137b30290f Tidied up a few things, added lists of outline lengths 2015-04-13 17:52:23 +01:00
..
README.md Update README for pyclipper, pyproj 2015-04-13 11:47:27 +01:00
aprs_zones.json Fixed up autogenerated source/header files so they compile 2015-04-12 21:13:53 +01:00
countries_world.json Tidied up a few things, added lists of outline lengths 2015-04-13 17:52:23 +01:00
countries_world.kml Added countries definitions in kml and json 2015-04-11 10:33:55 +01:00
geofence.ipynb Tidied up a few things, added lists of outline lengths 2015-04-13 17:52:23 +01:00

README.md

Design of the geofence

There's some notes in a ipython notebook geofence.ipynp on this. This notebook is also used to calculate the deviation values.

Prerequisites

sudo apt-get install ipython libblas-dev liblapack-dev gfortran python-pyproj
sudo pip install scipy matplotlib
sudo pip install --pre pyclipper

We use basemap for map plotting. This was a fun install

sudo apt-get install libgeos-dev
cd /usr/lib
sudo ln -s libgeos-3.4.2.so libgeos.so
sudo ldconfig
sudo pip install basemap --allow-external basemap --allow-unverified basemap

You can check libgeos is dandy with ld -lgeos --verbose

Yes you need a fortran compiler!!!

Python Usage

ipython notebook