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.

Filter by
Sorted by
Tagged with
1 vote
1 answer
87 views

GeoPandas geofencing problem set up

I’m a Data Scientist but very new to geospatial analysis so I’m looking for some advice how approach a problem. I’m trying to determine the speeds of cars that approach traffic lights within 200 ft. ...
rsajdak's user avatar
  • 23
3 votes
1 answer
853 views

Geofencing using PostGIS

I would like to inquire about the ships within the designated area, the following picture: The latitude and longitude drawn is 118.868653 32.199966, 118.873224 32.192503, 118.876336 32.184894, 118....
杨振宁's user avatar
0 votes
0 answers
583 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 ...
Layer8Issue's user avatar
1 vote
0 answers
79 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 ...
Ben Hocking's user avatar
1 vote
0 answers
986 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 ...
user144857's user avatar
1 vote
0 answers
666 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 ...
larry chambers's user avatar
1 vote
0 answers
340 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 ...
Michael Ramos's user avatar
1 vote
1 answer
761 views

Determining 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]]}')); ...
navinpai's user avatar
  • 111
0 votes
1 answer
59 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 ...
E. Ringqvist's user avatar
1 vote
0 answers
223 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 ...
Ajeet Singh's user avatar
-1 votes
1 answer
229 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 ...
Britt Wescott's user avatar
1 vote
1 answer
230 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. ...
Carlos's user avatar
  • 121
1 vote
0 answers
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 ...
JK.'s user avatar
  • 131
1 vote
0 answers
369 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 ...
Alessio Ferri's user avatar
1 vote
1 answer
2k 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 ...
Abraham P's user avatar
  • 177
0 votes
0 answers
883 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 ...
Bing's user avatar
  • 146
-1 votes
3 answers
941 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 ...
Bing's user avatar
  • 146
3 votes
4 answers
14k 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 ...
Bing's user avatar
  • 146
1 vote
1 answer
107 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 ...
TJ-'s user avatar
  • 111
2 votes
2 answers
2k 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 ...
Alessio Dal Bianco's user avatar
2 votes
0 answers
442 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.
Dr. Chocolate's user avatar
12 votes
1 answer
2k 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 ...
Erik's user avatar
  • 309
2 votes
0 answers
433 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 ...
Morgan H's user avatar
3 votes
0 answers
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 ...
jflood.net's user avatar
1 vote
2 answers
2k 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 ...
Ronald Chan's user avatar
1 vote
0 answers
972 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?
kevkev's user avatar
  • 707
1 vote
1 answer
212 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) ...
Leonard's user avatar
  • 11
3 votes
0 answers
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]/...
Anthony Ryan's user avatar
1 vote
1 answer
2k 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 ...
ajay's user avatar
  • 11
3 votes
1 answer
2k 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", ...
Adam Matan's user avatar
  • 6,790
0 votes
0 answers
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....
martianaus's user avatar
2 votes
1 answer
3k 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 ...
user15092's user avatar
8 votes
2 answers
3k 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 ...
varma's user avatar
  • 103
10 votes
10 answers
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 ...