# Questions tagged [geofencing]

A GPS add-on that triggers an event when the device either moves inside or outside a virtual fence. Often used to prohibit entry to an area or prohibit the device from leaving an area.

15 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2k views

### How to create a Polygon around a Linestring as a GeoFence in C# .NET

I'm looking for a .net library that will help to create a polygon that I can use as a Geo-fence around a route on a map. The following image demonstrates the result I'm after. Imagine that this ...
• 131
3k views

### Geofencing: Query if a POINT is within a POLYGON

I am trying to use the following query to search if a point is within a defined POLYGON (aka a geofence I want to define): https://spatial.virtualearth.net/REST/v1/data/[DataSourceID]/[DataSourceName]/...
• 131
444 views

### Any good ruby gems that can calculate a polygonal geofence?

Looking for a Gem that has polygonal geofencing. Many gems offer square or radius geofencing.
434 views

### How does geofencing work?

How does geofencing work? I am aware that it creates a sort of polygonal bubble which can execute a certain action when you pass through it, but how does it actually do that without just constantly ...
• 21
1 vote
83 views

### What are practical means for drawing an approximately rectangular geofenced area that includes the North Pole?

A naïve geofence approach is to take a "rectangle" that has a min/max latitude and a min/max longitude. This approach fails at the meridian, but that can be fixed by inverting some logic ...
• 143
1 vote
997 views

### PostGIS - Get geofence polygon points within 100 metres of an existing geofence

Let's say I have a geofence polygon with the following coordinates POLYGON((-36.861986 174.726745,-36.859241 174.730442,-36.859821 174.730976,-36.862321 174.728156,-36.861986 174.726745)) I'd like ...
1 vote
342 views

### Geofencing radius distribution/ratio across multiple geofences

I understand that this problem might be simple geometry, but Im using specific shapefiles for a geographical area and looking for a specific gis solution (hopefully code). Essentially Id like to find ...
1 vote
225 views

### Calculate minimum Traveled distance from L Latlng in T time

I want some functionality in my Android/iOS application i.e. U user is travelling to L location, So when the U is 15 minute away from the L location he/she will get some Notification. What i tried so ...
• 111
1 vote
1k views

### Insert a position and check for geofence entry exit in postgres with postgis

Is it possible to insert a position, and any related geofence entry exits for that position in just one query in postgres (9.6) with postgis (2.3.2)? For example given tables users, positions, fences ...
• 131
1 vote
1k views

### Geofence and GPS-Tracking in QGIS

What is the easiest possibility to create a geofence and to track if subjects cross the fence? I assume the fence is a simple polygon vector? What do I need for the cars? GPS data set? GPS layer?
• 707
625 views

### Geofences in Leaflet with live Location

I'm a newbie in terms of programming. I'm building a Web App with Angular and Leaflet, which has to locate the users position and notify him in case he is close to specific buildings. There are ...
933 views

### Looking for a US state file for geofences with as few geofences per state as possible (so group islands with mainland)

UPDATED TO MUCH MORE DETAILED QUESTION I'm building a set of geofences to be installed on a GPS unit to track vehicles as they cross state lines. The list of geofences are simple latitude/longitude ...
• 146
4k views

### Geofencing routes from point A to point B using Google Maps?

I'm working on a task where given the coordinates of a line from point A to point B, I need to create a geofence around this line (road route). But based on what I read here https://developers.google....