Page 1 of 1

"Region" a location enhancement

Posted: 09 Feb 2017 22:27
by nbi
My proposal is for a trigger called Region which fires on entering/exiting an area defined by a polygon of GPS coordinates (typically rectangle or square). The problem with location is that many geographical regions of interest aren't described by a circle, but rather by a polygon (rectangle or square). To handle such regions accurately extra processing must be performed which ought not be necessary. Picture a rectangle inscribed in a circle. If an action should take place upon entering the rectangle region it isn't good enough to simply use the location trigger - the current location maybe within the location radius but not within the inscribed rectangle. The code for this algorithm (point inside rectangle) already exists, but hooking it into a flow ad hoc is problematic because it would require 3rd party shell scripting or a binary. The Region trigger would make such flows much simpler and easy to work with. Many thanks.

I just found the geofencing code in this article: http://stackoverflow.com/questions/9241 ... 97#7739297
At the end of the article is an implementation that looks straightforward and it ought to be possible to implement a corresponding Automagic Action Script.

This brings up 2 possibilities. Make this feature request low priority as there seems to be a workaround using an action script. Or since the algorithm is rather straightforward just go ahead with the feature implementation since it shouldn't be too time consuming. Either direction is ok. Thanks for your consideration.