Geofence Map Tool

Draw a circle, polygon, or rectangle zone, then export GeoJSON, WKT, KML, or coordinates for Radar, Samsara, PostGIS, or any geofencing platform.

Draw a Geofence in Under 60 Seconds

Geofence planning doesn't need to happen inside your app's SDK. Draw the boundary here first (where it sits, what shape it takes, what it should cover), then export the geometry to your production geofencing platform. This separates the planning step from the implementation step, which is usually how product and engineering teams collaborate.

  1. 1Go to the location. Search an address, postal code, or landmark, or tap “Use my location.” The map recenters so you can draw exactly where the zone belongs.
  2. 2Pick a shape. Circle for a symmetric zone (a store, a stadium), Polygon to trace an arbitrary boundary corner by corner, or Rectangle for a quick box. Circle sizes to know: 500 m for a single store, 2 km for a neighborhood, 10 km for a metro trigger.
  3. 3Draw and refine. Tap to place the circle center or polygon vertices, then drag the edge, the center pin, or any vertex to fine-tune. The area, perimeter, and center coordinates update in real time on the map.
  4. 4Export. Download GeoJSON for mapping platforms and SDKs, WKT for PostGIS and spatial SQL, KML for Google Earth or QGIS, copy the raw coordinates to your clipboard, or grab a PNG for docs. Every format works for both circles and polygons.

All exports use the standard WGS84 coordinate datum, which is what every major geofencing platform expects. No coordinate conversion needed.

Map of a delivery-zone geofence over downtown Austin
A polygon delivery-zone geofence around downtown Austin, TX. Draw and export circle or polygon zones with the tool above. · Map data © OpenStreetMap contributors

What Is a Geofence?

A geofence is a virtual boundary around a real-world location. When a mobile device (or any GPS-equipped asset) enters, exits, or dwells inside the boundary, software triggers an event: a push notification, a database update, a workflow step, an analytics log.

Circle geofences are the most common type. They're defined by a center point (latitude and longitude) and a radius measured in meters or kilometers. Polygon geofences, which trace an arbitrary shape, are supported by most major platforms but require more work to author.

Geofences are enforced in two ways. On-device geofences live inside a mobile SDK and trigger events locally when the device crosses the boundary. Server-side geofences query the user's reported location against a stored boundary on your backend. The first is more efficient for battery; the second is more flexible for complex logic.

Geofencing is widely used in retail proximity marketing, fleet management, workforce clock-in automation, asset tracking, and compliance zones.

How Geofencing Works Under the Hood

Three things happen when a geofence triggers an event: the device determines its location, the system compares that location to the boundary, and software executes a response.

Location sources. Outdoors, phones lean on GPS, which GPS.gov says is typically accurate to within 4.9 m (16 ft) on a smartphone under open sky, and less accurate near buildings, bridges, and trees. Phones also locate themselves from Wi-Fi and cell networks. Android's geofencing guide says accuracy is usually 20–50 m when Wi-Fi is available, can be as small as 5 m where indoor location is available, and can grow to several hundred meters or several kilometers without Wi-Fi, for example on a drive through rural areas.

Trigger types. Platforms distinguish three event types:

  • Entry: fires when the device crosses the boundary into the geofence.
  • Exit: fires when it crosses the boundary going out.
  • Dwell: fires when the device has stayed inside the boundary for a configured length of time.

Dwell cuts false alarms. Android's guide says that if you get many alerts from people driving briefly past a geofence, the best way to reduce them is a dwell trigger instead of an entry trigger, so the alert fires only after the device stops inside the zone for a set time.

Battery and delay. Android's geofence service does not query location continuously, so expect a delay: alerts usually arrive within 2 minutes, take about 2–3 minutes on average when background location limits apply, and can take up to 6 minutes after the device has been still for a long time. The guide adds that a longer notification responsiveness and a radius of at least 100 m both cut power use. The built-in APIs on Android and iOS monitor circles only, so an app that needs a polygon has to test the shape in its own code or on its server.

Platform limits. Apple's Core Location lets one app monitor no more than 20 conditions at once, and each geofence is one condition. Android allows 100 active geofences per app, per device user. Apps with more locations keep only the nearest ones on the device: Braze, for example, stores at most 20 per app and, when a user qualifies for more, downloads the ones closest to the user at the start of the session.

Geofence Types: Circle vs Polygon

Most geofences are circles. They're simple to author (one point, one distance), efficient to evaluate (is this GPS coordinate inside this radius?), and supported natively by every major SDK. They work well when the triggering zone is symmetric: a store location, a stadium, a workplace.

Polygon geofences trace an arbitrary shape. They're the right choice when the boundary follows a real-world feature: a city-center district, a shopping mall's actual footprint, a warehouse perimeter, a park. Polygons take more work to author (you draw each vertex) and cost more CPU to evaluate, but they eliminate the dead zones and false positives that circles produce in irregular spaces.

This tool draws all three: switch the shape selector to Circle for symmetric zones, Polygon to trace an arbitrary boundary vertex by vertex, or Rectangle for a quick axis-aligned box. Drag any vertex to reshape a polygon after you draw it, and export the result as GeoJSON, WKT, KML, or coordinates, all of which carry polygon geometry natively.

Practical rule: start with a circle. A well-placed circle serves most geofencing use cases. Reach for a polygon when the circle produces obvious false triggers at the boundary or misses obvious real-world zones, then draw it right here rather than jumping to a heavier GIS editor.

Geofencing Platforms Comparison

If you've planned your geofence here, your next step is implementing it in a production platform. Below is how the major geofencing platforms compare on the dimensions that matter for most teams.

PlatformTypeGeofence LimitPolygon Support
RadarLocation platform (SaaS + SDKs)UnlimitedYes (also isochrone)
Android geofencing APIMobile SDK (Android)100 per app, per device userNo (circles only)
Apple Core LocationMobile SDK (iOS)20 conditions per appNo (circles only)
BrazeCustomer engagement20 per app on the deviceNo (circles only)
OneSignalPush notificationsNone built in; uses RadarThrough Radar

Sources, checked November 2026: Radar, Android, Apple, Braze, and OneSignal documentation. Limits change, so check the current docs before you commit.

Export Formats Explained

Draw the zone once, export it in whatever format your stack speaks. Every format below works for both circle and polygon zones and uses the WGS84 datum. Because neither WKT nor KML has a native circle primitive, circles are written as a fine polygon approximation in those two; GeoJSON keeps a circle as a center point plus a radius property.

GeoJSON (the universal standard)

The format nearly every modern mapping platform and SDK ingests directly: Mapbox, Leaflet, AWS Location Service, Radar, Turf.js, and geojson.io. Coordinates are stored as [longitude, latitude] pairs. If you only learn one format, learn this one; it is the closest thing geofencing has to a lingua franca.

WKT (databases & spatial SQL)

Well-Known Text is what spatial databases understand. Paste the POLYGON((…)) string straight into a PostGIS geography column, a MySQL spatial field, or a BigQuery ST_GEOGFROMTEXT call. This is the format to use when your geofence check runs as a ST_Contains query in your backend.

KML (Google Earth, QGIS, ArcGIS)

Keyhole Markup Language opens directly in Google Earth and every major desktop GIS. Use it to review a zone visually, drop it into a mapping deck, or hand it to a GIS team that works in QGIS or ArcGIS.

Copy coordinates (raw lat/lng)

Puts the plain latitude/longitude list on your clipboard. For a circle you get the center plus the radius in meters; for a polygon, one lat, lng pair per line. Paste it into a spreadsheet, a config file, or straight into an SDK's geofence constructor.

PNG (docs & mocks)

A snapshot of the map with your zone drawn on it, for design mocks, tickets, and documentation. Not machine-readable, so use one of the formats above when you need the actual geometry.

Common Geofence Sizes and Use Cases

RadiusArea CoveredTypical UseBusiness Scenarios
100 m0.03 km²Single storefront or venueIn-store proximity offers, loyalty check-ins, foot-traffic counting
500 m0.79 km²City block or shopping centerMall-level retargeting, event venue entry triggers
1 km3.14 km²Small neighborhoodCompetitor conquesting (e.g. targeting shoppers near a rival store), hyper-local delivery zones
2 km12.6 km²Urban districtWalkable commute zone campaigns, university campus coverage
5 km78.5 km²Small city or metro coreRide-share driver deployment zones, local news alerts
10 km314 km²Urban metro areaFleet dispatch zones, regional retail attribution
25 km1,963 km²Metropolitan regionSales territory boundaries, weather alerts
50 km7,854 km²Multi-county regionRegional distribution, franchise territory enforcement

Accuracy, Privacy, and Platform Limitations

Before a geofence goes live, plan for these limits:

Accuracy isn't uniform. A phone's position can be off by anything from a few meters to several kilometers. Braze's documentation puts it at 5–50 m with precise location on, from GPS, Wi-Fi, and cell positioning, and Android's guide warns that without Wi-Fi, as on rural roads, the error can reach several hundred meters or several kilometers. Plan the boundary for the worst case your users will meet, or you'll get false triggers at the edges.

Small geofences are noisy. Android recommends a minimum radius of 100–150 m, and Braze asks for the same 100–150 m minimum on its geofences. A smaller zone fits inside the phone's own position error, so it misses people who are inside and catches people who aren't. For compliance, payments, or clock-in, back the geofence with a second signal.

Privacy law applies. The EU's GDPR names location data as one of the identifiers that make information personal data (Article 4). California treats a consumer's precise geolocation, meaning data that places a person within a circle of 1,850 feet (about 564 m) radius, as sensitive personal information, and consumers can tell a business to limit how it uses it (Civil Code §1798.140 and §1798.121). On Android, geofencing needs the fine location permission, plus background location for apps that target Android 10 or later. The SDKs handle the mechanics; the privacy policy and the consent screens are your job.

Platform limits bite at scale. With 20 monitored conditions per app on iOS and 100 geofences per app on Android, a chain with hundreds of stores can't register them all at once. Plan to load the zones nearest each user and refresh them as the user moves.

Frequently Asked Questions

How do I create a geofence on the map?
Pick a shape (Circle, Polygon, or Rectangle), then draw directly on the map. For a circle, tap once to drop the center and drag the edge to size it. For a polygon, tap each corner of your zone; three or more points close the boundary and you can drag any point to reshape it. For a rectangle, tap two opposite corners. Search an address or use your location to jump the map to the right place first. The area, perimeter, and center coordinates update live as you draw.
How do I export a geofence as GeoJSON, WKT, or coordinates?
Once your zone is drawn, use the Export buttons. GeoJSON is the universal format that nearly every mapping platform and geofencing SDK ingests (Mapbox, Leaflet, AWS Location, Radar, geojson.io). WKT is the well-known-text format databases use; paste it straight into PostGIS, MySQL, or BigQuery geography columns. Copy coords puts the raw lat/lng list on your clipboard for a spreadsheet or an SDK constructor. You can also export KML (Google Earth, QGIS) and PNG (docs and mocks). All exports work for both circles and polygons and use the WGS84 datum.
What's the difference between a geofence and a radius map?
A radius map is a visualization. A geofence is an enforceable boundary tied to a software event. This tool draws the boundary, circle or polygon, so you can plan it, measure it, and export it before implementing it. The geofence that actually triggers notifications or workflow events lives inside your mobile SDK or geofencing platform; this tool produces the geometry you feed into it.
Can I draw polygon geofences here, or only circles?
Both. Switch the shape selector to Polygon and tap out an arbitrary boundary vertex by vertex, or use Rectangle for a quick axis-aligned box. Polygons are the right choice when the zone follows a real-world footprint: a delivery district, a campus, a warehouse yard, a park. Circles remain available for symmetric zones (a store, a stadium). Every export format supports both.
Which export format should I use for my platform?
GeoJSON for modern mapping stacks and SDKs (Mapbox, AWS Location, Radar, geojson.io); it is the closest thing to a universal standard. WKT for databases and spatial SQL (PostGIS, MySQL, BigQuery). KML for Google Earth, QGIS, and ArcGIS. Copy coords when you just need the raw lat/lng list to paste into an SDK call or a spreadsheet. PNG for design mocks and documentation. Circles export as a center + radius in GeoJSON and as a fine polygon approximation in WKT/KML (neither format has a native circle primitive). All use the WGS84 coordinate datum.
How accurate is the planning here vs. what my platform will enforce?
You can draw to sub-meter precision here, but the phone that has to trigger the geofence knows its own position far less precisely. GPS.gov says GPS-enabled smartphones are typically accurate to within 4.9 m (16 ft) under open sky, and less accurate near buildings, bridges, and trees. Android's geofencing guide gives 20–50 m as the usual accuracy when Wi-Fi is available and recommends a minimum geofence radius of 100–150 m. Leave at least that much margin around any zone that has to trigger reliably.
Does this tool send my geofence data anywhere?
No. Your zone is drawn and exported entirely in your browser; nothing is uploaded or stored on our servers. Map tiles come from OpenStreetMap, not Google Maps, so the tool itself doesn't send your geofence placement to Google. (The main mapwithradius.com site runs Google Analytics 4 and display advertising served through Raptive. In the EEA, UK and Switzerland, Google Consent Mode v2 keeps analytics and ad storage denied by default, and Raptive shows visitors a consent window for its ads. See our Privacy Policy for full details. For a cookie-free embed, use the /embed endpoint.)
Can I plan multiple geofences at once?
The tool draws one zone at a time. For a multi-zone rollout, plan each zone separately and export it. GeoJSON and KML files are plain text, so you can merge several into one FeatureCollection or import them one by one into your platform. For large multi-zone GIS projects, a full editor like QGIS is better suited.
Why does my geofence look distorted on the world map?
The map uses Web Mercator projection, which stretches areas near the poles. A 100 km radius circle drawn in Stockholm looks much larger than the same radius drawn in Nairobi, even though they cover identical ground distance. This is a visual artifact of the flat-map projection, not a calculation error. The area, perimeter, and exported coordinates are computed on the sphere and are identical regardless of where you place the zone.