# No Fly Zones (NFZ)

No Fly Zones (NFZ) are predefined geographic areas where drone operations are prohibited or restricted due to safety, security, or privacy concerns. Setting up these NFZs before planning a mission to comply with those restrictions to avoid consequences. FlytBase allows operators to define custom No Fly Zones on the web dashboard, providing an additional layer of safety and compliance for drone operations.

There are two ways to set up the NFZ on the FlytBase dashboard:

1. Creating a custom NFZ.
2. Importing a KML/KMZ file as NFZ.

## Configuring Essential Settings

* Navigate to the '[**Drone Controls**](https://legacydocs.flytbase.com/features/settings/drone-control)' tab in '**Settings**'.
* Configure the following **No Fly Zone (NFZ)** settings to enable '**Smart RTDS**' and '**Smart RTSL**'.&#x20;
* Also, specify the '**Smart RTSL**' altitude.

<figure><img src="https://2978718896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYYKeStDMySe3v9HDpIo%2Fuploads%2FUohisQOcZvWJAtLlnj0r%2Fimage.png?alt=media&#x26;token=ac28a107-6298-4c42-a1ac-742dd546f63e" alt=""><figcaption><p>No Fly Zone (NFZ) Essential Settings</p></figcaption></figure>

{% content-ref url="../features/settings/drone-control" %}
[drone-control](https://legacydocs.flytbase.com/features/settings/drone-control)
{% endcontent-ref %}

{% hint style="info" %}
Smart RTDS' and 'Smart RTSL' are enhanced functionalities of the RTDS and RTSL commands when an NFZ is configured. They allow the drone to create a path that avoids breaching the No Fly Zone (NFZ) when executing these commands.
{% endhint %}

{% hint style="info" %}
When a failsafe action is triggered as 'RTDS' and an NFZ is configured, the drone will execute 'Smart RTDS'. However, when a failsafe action is configured as 'RTSL', the drone will breach the NFZ and proceed to the configured safe location.
{% endhint %}

Refer to the following documentation to know more about [failsafes](https://legacydocs.flytbase.com/features/settings/failsafe).

## Creating a Custom NFZ

* Navigate to the navigation drawer under the **Zones** tab and select the **No Fly Zones** to create an NFZ.

<figure><img src="https://2978718896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYYKeStDMySe3v9HDpIo%2Fuploads%2F7MFSVPXNqcJLnLXITrzm%2Fimage.png?alt=media&#x26;token=d8fb5be6-3dca-488e-9c6b-6c4f71ab53d0" alt=""><figcaption><p>Navigation Drawer: No Fly Zone</p></figcaption></figure>

* Now, click on **Create NFZ** to set the Custom NFZ and type in the name with which  &#x20;the operator would like to identify the created No Fly Zone.
* To set the NFZ, **right-click** on the map to mark the NFZ areas.

<figure><img src="https://2978718896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYYKeStDMySe3v9HDpIo%2Fuploads%2FPSFZ1rrRSuSbwOmI44X3%2Fimage.png?alt=media&#x26;token=ef127273-78b2-4c86-ada4-1944c6b5ac48" alt=""><figcaption><p>Set NFZ Area</p></figcaption></figure>

* Once the area has been marked, drag the NFZ area with the help of a cursor to move the NFZ.
* The operator can edit the shape of the NFZ by dragging the control points shown at the vertices and on each segment.
* Once the NFZ area is set per the requirements, click **Add to List** at the  &#x20;bottom of the dashboard to name the NFZ sub-area.

<figure><img src="https://2978718896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYYKeStDMySe3v9HDpIo%2Fuploads%2FZT98fUBovyruiaTruvvM%2Fimage.png?alt=media&#x26;token=3af32334-2cda-4eba-89ff-7bd40484e682" alt=""><figcaption><p>Marked NFZ area on map and add to list</p></figcaption></figure>

* To confirm the NFZ area name the zone and click on **Confirm**.

<figure><img src="https://2978718896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYYKeStDMySe3v9HDpIo%2Fuploads%2FTD0YUsVXqBG5pBfh38iC%2Fimage.png?alt=media&#x26;token=d333ce6c-8bd7-43cf-9f5c-d047bc01c41f" alt=""><figcaption><p>Input Name</p></figcaption></figure>

* To add more sub-areas to the NFZ, click on the map to drop the NFZ area and  &#x20;click on **Add to List**.
* Once done, click on **Create** option to be able to see all NFZ areas on the FlytBase  &#x20;Dashboard.

<figure><img src="https://2978718896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYYKeStDMySe3v9HDpIo%2Fuploads%2FugR4dgICwfrWk48D8Vis%2Fimage.png?alt=media&#x26;token=8074c136-6bcd-4f61-867c-a223f873bcb8" alt=""><figcaption><p>Creating NFZ areas</p></figcaption></figure>

* The NFZ is created successfully, the zones can be toggled between enabled and disabled according to preferences.

<figure><img src="https://2978718896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYYKeStDMySe3v9HDpIo%2Fuploads%2FQlf9LAVMmv3oOorjrzEO%2Fimage.png?alt=media&#x26;token=141a4ad6-4394-4884-a2f9-644d3e49ed48" alt=""><figcaption><p>Ceated NFZ</p></figcaption></figure>

* To view the sub-areas of the NFZ, click on the drop-down arrow below the  &#x20;**enable/disable toggle.**

<figure><img src="https://2978718896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYYKeStDMySe3v9HDpIo%2Fuploads%2FQO9nuaTY1u2d238seiBD%2Fimage.png?alt=media&#x26;token=92476b64-2a71-476e-ac4a-4a1510231c7c" alt=""><figcaption><p>Viewing NFZ sub-areas </p></figcaption></figure>

* The operator also has the option of editing or deleting the NFZ from the FlytBase Dashboard.  &#x20;To do this, click on the three dots as shown below.

<figure><img src="https://2978718896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYYKeStDMySe3v9HDpIo%2Fuploads%2FomUce2poZXOOTh7zxvUd%2Fimage.png?alt=media&#x26;token=ca041297-24b0-44d2-b1af-47f9447ebcd0" alt=""><figcaption><p>Deleting/Editing Custom NFZ</p></figcaption></figure>

* Before executing the mission, the operator will be able to view the created NFZ along with  &#x20;the mission path in the Drone tab.

<figure><img src="https://2978718896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYYKeStDMySe3v9HDpIo%2Fuploads%2FMPxiVWnB1SyIrwO7o8yd%2Fimage.png?alt=media&#x26;token=44290339-fb27-499e-9f9e-173993b086f4" alt=""><figcaption><p>NFZ visible on FlytBase dashboard</p></figcaption></figure>

## Importing KML/KMZ files

* Go to the Zones tab in the FlytBase dashboard, and click on create NFZ.
* Now, click on the Import KML/KMZ button and upload the required file.

<figure><img src="https://2978718896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYYKeStDMySe3v9HDpIo%2Fuploads%2FuwiAwy2ooU0l1Y04g7b0%2Fimage.png?alt=media&#x26;token=f1a86e91-dfde-44ef-ae3b-a83631bc60ca" alt=""><figcaption><p>Importing KML file</p></figcaption></figure>

* Once the operator has uploaded the file, add the name for the NFZ. The NFZ areas will be visible in the Area List.
* Now click on create to set the custom NFZ.

<figure><img src="https://2978718896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYYKeStDMySe3v9HDpIo%2Fuploads%2FufOGes20uCWeE4ytd84B%2Fimage.png?alt=media&#x26;token=9867b104-86cb-4602-bfe3-7c4f9cd05036" alt=""><figcaption><p>NFZ KML files</p></figcaption></figure>

No Fly Zones (NFZ) in FlytBase provide an additional layer of safety and security for drone operations by restricting the drone's flight in certain areas. With the ability to define custom NFZs, operators can ensure that their drone stays outside designated zones.

{% hint style="info" %}
If you do not have this feature on your dashboard, that means it is not in your current package, please feel free to contact <mark style="color:blue;"><support@flytbase.com></mark> if you find this feature useful and would like to add it.
{% endhint %}
