Geofence

Two geofences defined in a GPS application

A geofence is a virtual "perimeter" or "fence" around a given geographic feature. A geofence can be dynamically generated (as in a radius around a point location) or match a predefined set of boundaries (such as school zones or neighborhood boundaries).

The use of a geofence is called geofencing, and one example of use involves a location-aware device of a location-based service (LBS) user entering or exiting a geofence. This method combines awareness of the user's current location with awareness of the user's proximity to locations that may be of interest. This activity could trigger an alert to the device's user as well as messaging to the geofence operator. This information, which could contain vehicle location data, could be sent to a mobile telephone or an email account.

Geofencing is used in many fields. In fleet management, it is used to automate timekeeping at job sites and to alert managers of unauthorized vehicle use. It is also used in marketing, smart home automation, and public transport information systems. However, the technology has also raised privacy concerns, particularly regarding its use by law enforcement to issue geofence warrants to collect data on all individuals within a specific area.

History

Geofencing was invented in the early 1990s and patented in 1995 by American inventor Michael Dimino, using GPS and GSM technology for a tracking system to locate objects anywhere on the globe from a remote location. Since 1995, cellular geofencing for global tracking has been cited in the United States Patent Office over 240 times by companies such as IBM and Microsoft, and is first mentioned as:

A global tracking system (GTS) for monitoring an alarm condition associated with and locating a movable object, the GTS comprising:

a cellular telephone located with the movable object;
a GPS (global positioning system) receiver located with the movable object, the GPS receiver being effective for providing data reflecting a present spacial position of the movable object, in terms of spacial latitude/longitude coordinates;
an interface between the GPS receiver and the cellular telephone, the interface being connected between the GPS receiver and the cellular telephone and including circuitry for transmitting the spacial coordinates from the GPS receiver through the telephone, wirelessly to a remote location; and
an alarm for detecting that the object has been moved, by calculating a spatial movement of the object which exceeds a predetermined distance based on information supplied by the GPS receiver, and the alarm initiating the transmission to the remote location the spatial coordinates from the GPS receiver when said movement of predetermined distance has been detected.

In April 2026, the Supreme Court heard arguments about whether police use of geofences violates the Fourth Amendment's ban on unreasonable searches and seizures. Police have obtained "geofence warrants" to identify people who were in a given area, such as those near the January 6, 2021 Capitol attack, the person who planted pipe bombs outside the Democratic and Republican party headquarters the night before, and after killings in several states.

Working

Geofencing uses technologies such as GPS, or IP address ranges, to build its virtual fence. In most cases, mobile phones use combinations of positioning methods, e.g., Assisted GPS (A-GPS). "A-GPS uses assistance data received from the network to obtain a faster location calculation compared with GPS alone." The global system of tracking and geofencing is supported by a group of subsystems based on global navigation satellite system (GNSS) services. Both the horizontal and vertical accuracy of GNSS are a few centimetres for baselines ≤ 5 km. The Wide Area Augmentation System (WAAS) is used by equipped devices in North America; its accuracy is considered to be within 3 m at least 95% of the time. These virtual fences can be used to track the physical location of a device active in the fence area. The location of the person using the device is taken as geocoding data and can be used for advertising purposes.

It is possible to monitor several geofences at once (multiple active geofences). The number of active geofences on Android devices is limited to 100 per app and per user. Different types of triggering activity can be monitored for each geofence separately: entering, exiting, or dwelling in the monitored area.

Types

There are two types of geofencing; the choice of type depends on the purpose of using geofencing in a given situation.

Active

Active geofencing uses GPS services for the entire time the application is running and therefore consumes more battery power, because the service must run in the foreground throughout the time of usage.

Passive

Passive geofencing does not require the application to be constantly active and can run in the background. It is suited to data collection. It does not use GPS services and therefore cannot be used for applications that depend on real- time operation, such as sending immediate notifications.

Applications

Policing

The FBI has used geofence warrants to identify rioters who participated in the 6 January Capitol attack.

Safety

Geofencing, used with child location services, can notify parents if a child leaves a designated area.

Geofencing is also used in home control and monitoring systems, for example to set a phone to unlock the door or turn on the heating when the user arrives home.

Geofencing used with location-based guns can restrict those firearms to firing only in locations where firing is permitted, preventing their use elsewhere.

Other applications include sending an alert if a vehicle is stolen as part of a vehicle tracking system, and notifying rangers when wildlife stray into farmland.

A geofence can be used for location-based messaging for tourist safety and communication.

In 2015, U.S. Senator Chuck Schumer proposed a law requiring drone manufacturers to build geofencing constraints into unmanned aerial vehicle navigation systems that would override the operator's commands, preventing the device from flying into protected airspace.

In the workplace

Geofencing is widely used in telematics. It allows users of a fleet telematics system to draw zones around places of work, customers' sites and secure areas. When crossed by a vehicle equipped with a telematic control unit, these geofences can trigger a warning to the user or operator via SMS or email.

In some companies, geofencing is used by the human resource department to monitor employees working in special locations, especially those doing field work. With a geofencing tool, employees can log their attendance using a GPS-enabled device when within a designated perimeter, a component of fleet digitalization.

Geofencing, in a security strategy model, provides security to wireless local area networks. This is done by using predefined borders (e.g., an office space with borders established by positioning technology attached to a specially programmed server). The office space becomes an authorized location for designated users and wireless mobile devices.[page needed]

Satellite

During the use of Starlink satellites in the Russo-Ukrainian War, SpaceX used geofencing to limit the use of Starlink Internet services outside Ukrainian-controlled territory, such as in Russian-occupied territories in Ukraine.

Applications of geofencing extend to advertising and geomarketing. Geofencing providers allow marketers and advertisers to choose the locations where their ads appear. Geofencing uses different types of targeting based on zip codes, street addresses, GPS coordinates ( latitude and longitude), and IP addresses.

Geofencing allows advertisers to target advertising by setting virtual boundaries around specific locations, including events. Advertisers can target shoppers at competitors' store locations or attendees of large events such as concerts, sports events and conferences in stadiums, convention centers, malls, outlets, parks and neighborhoods. For example, at a concert, a digital ad relating to the performer or an affiliated company could be sent only to people in the venue.

For example, a local car dealership may set a virtual boundary covering a few square miles around its location to target car buyers in the same neighborhood, limiting its advertising spending to prospects who are more likely to purchase. Using tracking technologies to identify the devices on which ads were shown, geofencing providers can offer walk-in attribution, tracking customers who visited the showroom after seeing an ad.

Business

Target Corporation settled for $5 million with the San Diego City Attorney in April 2022, promising to audit and improve pricing procedures, after a San Diego complaint that the company used geofencing to raise prices when a customer entered a store.

See also