pico-tracker/sim/geofence
Richard Meadows ffc94bb7f7 Reduce APRS geofence resolution to make it fit in ROM 2015-10-10 22:42:35 +01:00
..
README.md Update installation deps for sim 2015-07-14 20:41:44 +01:00
aprs_zones.json Reduce APRS geofence resolution to make it fit in ROM 2015-10-10 22:42:35 +01:00
countries_world.json Reduce APRS geofence resolution to make it fit in ROM 2015-10-10 22:42:35 +01:00
countries_world.kml Added countries definitions in kml and json 2015-04-11 10:33:55 +01:00
geofence telemetry.ipynb Added no telemetry geofence for China, NK and Yemen. Added test case 2015-07-22 22:33:51 +01:00
geofence.ipynb Reduce APRS geofence resolution to make it fit in ROM 2015-10-10 22:42:35 +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 ipython-notebook libblas-dev liblapack-dev gfortran python-pyproj python-pip libxft-dev
sudo apt-get install libfreetype6-dev python-dev
sudo pip install scipy matplotlib
sudo apt-get install g++
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