# Geo fencing and GPS

**URL:** <https://www.thethingsnetwork.org/forum/t/geo-fencing-and-gps/34592>\
**Category:** End Devices (Nodes)\
**Created:** [February 19, 2020, 12:57pm UTC](https://www.thethingsnetwork.org/forum/t/geo-fencing-and-gps/34592 "2020-02-19T12:57:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![PrideSolutionsDerby](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/pridesolutionsderby/32/25844_2.png) [@PrideSolutionsDerby](https://www.thethingsnetwork.org/forum/u/PrideSolutionsDerby)\
**Post date:** [February 19, 2020, 12:57pm UTC](https://www.thethingsnetwork.org/forum/t/geo-fencing-and-gps/34592/1 "2020-02-19T12:57:10Z")

</div>

Hi All, i am looking for some guidance. I am working on developing a vehicle based LoRaWAN system that makes use of GPS and a few other sensors to provide information back to an operations room. I only want the operations room to be alerted to events if they occur in specific areas (known high risk theft areas etc. that the vehicles have to visit). Is it possible to geofence area’s on a map so the system presents an alert if it receives an event and the GPS data places the vehicle within a geofenced area? Thanks in advance

---

<div class="post-metadata">

**Author:** ![kersing](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/kersing/32/44777_2.png) [@kersing](https://www.thethingsnetwork.org/forum/u/kersing)\
**Post date:** [February 19, 2020, 6:28pm UTC](https://www.thethingsnetwork.org/forum/t/geo-fencing-and-gps/34592/2 "2020-02-19T18:28:04Z")

</div>

Your question was not related to the topic in which you posted. Next time please create your own topic and do not hijack an existing one.

To answer you question, yes it is. You can incorporate the regions into the node so it won’t send a LoRaWAN packet when outside target regions. However updating the region information would probably require too much data for LoRaWAN downlinks.  
The other solution is to send events if they occur, include the gps data and have your application decide if the event is within a alert zone.  
There are probably other solutions, this is just what I came up with in 5 minutes. May-be you should give it some thought yourself…

---

<div class="post-metadata">

**Author:** ![UdLoRa](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/udlora/32/45330_2.png) [@UdLoRa](https://www.thethingsnetwork.org/forum/u/UdLoRa)\
**Post date:** [February 20, 2020, 12:34pm UTC](https://www.thethingsnetwork.org/forum/t/geo-fencing-and-gps/34592/3 "2020-02-20T12:34:39Z")

</div>

If you limit area shapes to rectangles or circles, updating should be feasible, even through LoRaWAN. On the other side, if vehicles come to base from time to time, there is also the possibility of updating them when they are parked (also considering that likely areas are not changing often).  
However, considering that the alarm should go to an operations room and not to the vehicle, there is no strong reason to have areas on the device itself - except limiting uplink traffic, of course.
