An open API service indexing awesome lists of open source software.

https://github.com/acgeospatial/geofencing

Python code for a demo in geofencing in QGIS
https://github.com/acgeospatial/geofencing

demo geofencing python qgis

Last synced: 18 days ago
JSON representation

Python code for a demo in geofencing in QGIS

Awesome Lists containing this project

README

        

# geofencing
Python code for a demo in geofencing in QGIS

### Program to model geofences in QGIS!
### Written / Complied together by Andrew Cutts www.acgeospatial.co.uk
### Python 2.7
### Stopwatch method adapted from http://codereview.stackexchange.com/questions/26534/is-there-a-better-way-to-count-seconds-in-python
### Createpoint method adapted from http://gis.stackexchange.com/questions/86812/how-to-draw-polygons-from-the-python-console
### point_in_poly method apated from http://geospatialpython.com/2011/01/point-in-polygon.html
### Many thanks!

### Usage
### 1. Open blank QGIS project
### 2. Open python console
### 3. Set projection to British grid, EPSG code 277000
### 4. Use the map to x = 512915 y = 120728 (first coordinate to be plotted), I use Openstreetmap to zoom out a bit shots will increment 12.5m
### 5. Run the script (you could add the shapefile boundary if you want)