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
- Host: GitHub
- URL: https://github.com/acgeospatial/geofencing
- Owner: acgeospatial
- Created: 2016-06-23T10:39:24.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-06-23T10:42:59.000Z (almost 9 years ago)
- Last Synced: 2025-04-19T14:35:22.689Z (about 1 month ago)
- Topics: demo, geofencing, python, qgis
- Language: Python
- Size: 1.95 KB
- Stars: 8
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)