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.

1
vote
0answers
20 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
0answers
115 views

Draw a polyline around a route to act as geofence with leaflet routing machine [closed]

I am using leaflet routine machine to get a route between 2 points. I want to be able to draw an invisible polyline around the route and use this as a geofence and if the user goes out of the bounds ...
1
vote
0answers
103 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
1answer
121 views

How to determine if Point is in Polygon using PostGIS

I want to check if a point is inside a fenced polygon. INSERT INTO polygon (name, geom) VALUES ('test', ST_GeomFromGeoJSON('{"type": "Polygon", "coordinates": [[0,0], [0,5], [5, 5], [5,0]]}')); ...
0
votes
1answer
23 views

Check is an asset (GPS route) has been on restricted road

If I have GPS route for an asset and want to cross check the position of the asset against (pre-defined) "illegal" routes to have taken (series of GPS decimal), what might be a reasonable approach? My ...
1
vote
0answers
152 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 ...
0
votes
1answer
172 views

Network Based Geofence - .NET

Is it possible to create a Network Based Geofence using the .NET platform? For example, is there a way where users can "opt in" to a service on their phone without installing anything, that would ...
1
vote
1answer
92 views

Make a relationship based on points and fences

I have two models on geodjango, one for tracks and one for fencing, I am trying to match both of them but I couldnt get it working as I spected. My target is check each point if it is inside a fence. ...
1
vote
0answers
595 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 ...
1
vote
0answers
149 views

GeoDjango: Calculate if someone inside circle from given point [closed]

I am working in GeoDjango (with a Django 1.11 and PostGIS 2.1.4 backend). I have a model with shops in my database (i have the address of this shops) and I am trying to find all shops within 100m ...
1
vote
1answer
816 views

How to Select an SRID? And how is it different from the SRID passed into ST_Transform?

Say I wanted to find geometries that intersect a circle at lat/long as outlined here How to Select all polygons or lines that lie at least partially within a circle with a radius?. SELECT * FROM ...
0
votes
0answers
360 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 ...
-1
votes
3answers
547 views

What are the state border outlines called which treat every state as a single entity, including surrounding waters?

What are the state border outlines called which treat every state as a single entity, including surrounding waters? I need to create a latitude/longitude pairing of each state's "borders", which I ...
1
vote
3answers
6k views

List of the United States (US) state boundaries / borders as latitude/longitude pairs for geofence?

I'm just trying to find a single simple file (CSV or XML ideally) which has the latitude and longitude pairings for each of the 50 United States (plus DC, though the addition of provinces such as ...
1
vote
1answer
75 views

Determine when an object nears a point

Context: When an Uber vehicle is very close to the destination, there is an alert on the driver app that indicates that the destination has arrived. This determination is quite accurate. Two ...
2
votes
2answers
798 views

Correct algorithm to determinate if the user is really inside/outside a region

first time here. I'm currently building a system that control the user GPS position in order to turn on/turn off some stuff inside user's house. For example, if the user leave the house we must ...
2
votes
0answers
321 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.
12
votes
1answer
983 views

How big does a circular geofence need to be for the curvature of the earth to matter? [duplicate]

I'm working on adding geofences to a mobile application. I know the proper way of calculating distance between two points on a sphere is using the great-circle or Haversine formula. I don't know if ...
2
votes
0answers
363 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 ...
3
votes
0answers
1k 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 ...
1
vote
2answers
1k views

Geofencing (Leave/Enter geofence Timing) Issue?

I already search SE already if the question has been raised before but I can't find one so I'll ask here anyway. I'm creating a small application which involve geofencing my GPS device doesn't have a ...
1
vote
0answers
475 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?
1
vote
1answer
204 views

Algorithm to detect entity (aircraft, ship, etc) intrusion into geographic area [closed]

I have been tasked with coming up with an algorithm to determine whether or not an entity (aircraft, ship, etc) is inside or outside of a geographic area defined as a set of geodetic (lat/long) ...
2
votes
0answers
2k 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]/[...
1
vote
1answer
1k views

find lat,long inside polygon with regular interval of time using mysql

I have table latest location there i have lat and long with device id. one more table with fencing name,there i have polygon points. so now how i can check point lies inside polygon. i need this ...
0
votes
1answer
1k views

sub-dividing KML files

I do have a kmz file which marks the boundaries of a larger district and it's sub-districts. Still new to GIS and in the process of getting familiar with QGIS, I wonder can anyone advise me how can I "...
1
vote
1answer
1k views

Python: Ray-trace a WGS84 point with heading and distance

One of my services defines geofences for a mobile app. The geofences consists of a lat/lon pair and radius in meters, in JSON, e.g.: { "geofenceId":"geofence_b39da38cff7be4b4693cbc31b2394bbb", ...
0
votes
0answers
3k 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....
2
votes
1answer
2k views

Is it possible to implement Geofencing in Openlayers?

We were planning to develop an application using Openlayers, which can display the incoming GPS signals as markers and create alerts , if the markers( positions) are outside a particular zone. Is ...
7
votes
2answers
2k views

vehicle tracking system in postgresql performance

I am developing the vehicle tracking system using postgresql. When the data comes from device to my DB server, I am calling the following functions after inserting data into log table. Distance ...
10
votes
10answers
5k views

Fleet tracking software options

Before I sit down and make the mistake of start writing my own, I wanted to know my options for good, modern, fleet tracking options that are not too expensive. What I am looking for is something that ...