> For the complete documentation index, see [llms.txt](https://docs.g-iot.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.g-iot.io/faqs-platform/geofence.md).

# Geofence

**Q:** What is a geofence?\
**A:** A geofence is a virtual boundary defined on a map that allows devices to trigger specific actions or alarms when they enter, leave, or move within the defined area.

***

**Q:** How can I create a geofence?\
**A:** Navigate to Cockpit > Template > Geofence, click the + icon, enter the geofence name, and draw the area on the map. Once created, it can be assigned to rules or configurations.

***

**Q:** What can geofences be used for?\
**A:** Geofences can be used in Adaptive Configuration Rules to apply specific settings when a device enters or exits the area, or in Geofence Rules to trigger alarms for movement events.

***

**Q:** Can I apply the same geofence to multiple devices?\
**A:** Yes, a single geofence can be assigned to multiple devices or groups, making it easier to manage actions and alarms across various assets.

***

**Q:** How do I trigger an alarm with a geofence?\
**A:** Use the Geofence Rule to define the alarm trigger for entering, leaving, or both actions within a geofence area. Specify the notification type and recipients for alerts.

***

**Q:** Can I edit an existing geofence?\
**A:** Yes, go to Cockpit > Template > Geofence, find the geofence card, click on the ellipse menu (⋮), and select Edit to modify the area or details.

***

**Q:** Is it possible to deactivate a geofence temporarily?\
**A:** Geofences are active as long as they are assigned to a rule or configuration. To deactivate, remove the assignment from the rule or configuration.

***

**Q:** Do geofences work without an internet connection?\
**A:** Geofence functionality requires the device to transmit its location data to the platform. An active connection is necessary for real-time tracking and triggering actions.

***

**Q:** How precise is geofence tracking?\
**A:** The precision depends on the device's GPS capabilities and the quality of the network connection. For best results, ensure the device has clear access to GPS signals.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.g-iot.io/faqs-platform/geofence.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
