I use this in my app to determine if a vehicle is within a defined zone made of 5 or more lat/lon coordinates. Point 1 is also Point 5 (first point and last point are same value).
A simple box shows how to create this:
1----------2
| ........... |
| ........... | clockwise (or counter clockwise)
| ........... |
4----------3
In my case, I determine either a) the speed of the vehicle or b) how long stopped in zone.
Note: Larger zones work best due to the inaccuracy of GPS. My accuracy...
Geo-Zone Determination (Point in Polygon)
from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1O4tWHN
via IFTTT
mercredi 1 juin 2016
Geo-Zone Determination (Point in Polygon)
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire