What Is a Geofence?

Quick Insight

A geofence is an invisible boundary drawn around a real place on a map. It's like drawing a chalk line around a playground: the line itself does nothing, but you can set rules for what happens when someone steps over it.

A geofence is a virtual perimeter defined by geographic coordinates, either as a center point with a radius or as a polygon of vertices, used to detect when a device or asset enters, exits, or stays within an area. It is typically stored as a geometry object, such as WKT or GeoJSON, and evaluated with point-in-polygon or distance calculations. The geofence is the boundary itself; geofencing is the practice of monitoring it and triggering actions. 

Types of Geofences 

  • Circular (radius): A center point and a distance. Simple to set up, but rarely matches a building’s real shape. 
  • Polygon: A custom shape traced around a building, parking lot, campus, or neighborhood. More precise for irregular sites. 
  • Corridor: A buffer along a line, such as a delivery route or highway. 
  • Static: Fixed in place, such as a store boundary. 
  • Dynamic: Moves or changes, such as a boundary around a moving vehicle or a temporary event. 

Circular vs. Polygon Geofences 

 

Circular 

Polygon 

Setup 

One point and a radius 

A list of vertices or a footprint 

Fit to real buildings 

Loose, overlaps neighbors 

Close to the actual shape 

Best for 

Open areas, quick tests 

Malls, strip centers, campuses 

Device support 

Native on mobile operating systems 

Usually handled server-side or by SDKs 

What Makes a Good Geofence 

  • Accurate source location: The center point or shape must sit in the right place. POI data gives brand, category, and coordinates for millions of places. 
  • The right shape: Building footprint polygons trace a store’s actual walls, so an L-shaped store or a shared building doesn’t become a sloppy circle. 
  • Sensible size: Large enough for location signals to register, small enough to avoid catching passersby. 
  • Spatial context: Parent and child relationships, such as a store inside a mall, help decide whether to fence the store or the whole center. Our blog on polygon data explains how these shapes are made. 


A caveat: a geofence is only as precise as the location signal checked against it. A perfectly traced polygon can still miss or misplace a device whose GPS reading is off by 20 meters indoors.
 

Want to learn more about how geofencing works?

Read our full guide:
Geofencing: What It Is, Types, Accuracy & Setup Guide 

Frequently Asked Questions

1. How many geofences can one app monitor at once? 

Mobile operating systems set limits. iOS allows an app to monitor up to 20 regions at a time, and Android allows up to 100 geofences per app, so large programs often manage boundaries server-side.

Yes. Polygon formats support inner rings, which are useful for excluding an area, such as a competitor’s store, inside a larger shopping center.

Common formats include WKT, GeoJSON, and KML. Most ad platforms and GIS tools accept at least one of these.

Yes. A device can be inside several at once, such as a store, its parking lot, and the surrounding mall, so rules need to handle overlaps.

Whenever the place changes. Stores open, close, and move, so boundaries built from stale data quietly target the wrong spot.

About the author

Shahin Sheikh

Sheikh Shahin is a content writer with five years of experience creating research-based content across data, geospatial technologies, and location intelligence. She focuses on turning complex topics into clear, engaging content that helps readers understand data-driven decision-making and emerging technology trends.

Categories

Related Terms

Curated Articles that complement the topic you’re exploring:

Before you go, see industrial POI data in action.

Get a firsthand look at how precise, verified POI and building footprint data can sharpen your forecasting, logistics, and risk models.