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 centre or polygon vertices, then drag the edge, the centre pin, or any vertex to fine-tune. The area, perimeter, and centre 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.

A polygon delivery-zone geofence drawn around downtown Austin on the geofence map tool
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. Most geofences rely on GPS when outdoors. Indoors or in dense urban areas (where GPS signal reflects off buildings), systems fall back to Wi-Fi positioning, cellular triangulation, or Bluetooth beacons for sub-meter accuracy. Accuracy ranges from under 5 meters in ideal GPS conditions to 50+ meters in urban canyons.

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 specified time (usually 1–30 minutes).

Dwell events are the quiet workhorse of geofencing. Retail attribution, workforce clock-in, and anti-fraud systems all depend on dwell rather than raw entry, because a drive-by crossing at 80 km/h is noise, not signal.

Battery impact. Circle geofences on iOS and Android run at the OS level, which means they're battery-efficient — the radio doesn't have to poll GPS constantly. Polygon geofences, custom triggers, and high-frequency proximity queries run at the application level and drain the battery faster.

Platform limits. iOS caps apps at 20 active geofences per app. Android allows 100 per app. Most production systems get around this with dynamic geofence loading — swapping active fences based on current location — but this adds complexity.

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. Roughly 80% of geofencing use cases are well-served by a well-placed circle. 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
Radar.ioStandalone SaaSUnlimited (paid plans)Yes
Google Geofencing APIMobile SDK (Android)100 per appCircle only (native); polygon via server
Apple Core LocationMobile SDK (iOS)20 per appCircle only
PlotProjectsMarketing platformPlan-basedYes
BrazeCustomer engagementPlan-basedYes
OneSignalPush notificationsPaid tierLimited

Limits and features change frequently — verify each platform's current docs before committing.

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 centre 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 centre 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 — 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.78 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²State-level coverageRegional distribution, franchise territory enforcement

Accuracy, Privacy, and Platform Limitations

Honest caveats for anyone implementing geofencing in production:

Accuracy isn't uniform. Outdoor GPS typically gets you within 5–10 meters. Urban canyons and dense cities can drift to 20–50 meters. Indoor accuracy without Wi-Fi positioning is unreliable — often 50 meters or worse. Plan your geofence boundary with the worst-case drift in mind, or you'll get false triggers at the edges.

Small geofences are noisy. Radii under 100 meters frequently produce false positives (users triggered who weren't actually in the zone) and false negatives (users missed who were). For critical use cases — compliance, payments, clock-in — use 200 meters minimum and supplement with secondary signals.

Privacy regulations apply. In the EU, geofencing that stores or transmits user location data falls under GDPR. In California, CCPA applies. In both jurisdictions, you need explicit consent, a data retention policy, and a way for users to opt out. Platform SDKs handle the mechanics, but the policy and consent UI are your responsibility.

Platform limits bite at scale. iOS allows 20 geofences per app — hard limit. Android allows 100. Production apps that need more use dynamic geofence loading: activate the 20 closest to the user, swap them as the user moves. This is non-trivial to implement.

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 centre 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 centre 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 centre + 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 real-world GPS triggers within a 5–10 meter drift window outdoors, and 20–50 meters in dense urban areas. Indoors without Wi-Fi positioning, accuracy falls off entirely. Rule of thumb: draw your geofence with at least 100 meters of margin for reliable triggering, and don't design sub-100-meter geofences for critical use cases — they produce too many false positives and negatives on consumer GPS.
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/Switzerland, Google Consent Mode v2 keeps non-essential cookies default-denied until consent, and Raptive's Google-certified consent management platform handles ad-cookie consent there. 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.