> For the complete documentation index, see [llms.txt](https://support.senterasensors.com/fieldagent-mobile-ios/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.senterasensors.com/fieldagent-mobile-ios/data-schemas/flight-plans.md).

# Flight Plans

The app can [import](/fieldagent-mobile-ios/60-second-guides/flight-plan-import.md) and [export](/fieldagent-mobile-ios/60-second-guides/flight-plan-export.md) multiple data types for a flight plan.

***

<table><thead><tr><th>File Type</th><th data-type="checkbox">Import</th><th data-type="checkbox">Export</th></tr></thead><tbody><tr><td>.csv</td><td>true</td><td>false</td></tr><tr><td>.json</td><td>true</td><td>true</td></tr><tr><td>.kmz</td><td>false</td><td>true</td></tr></tbody></table>

***

## Imported Types

The app can read .csv and .json files to produce a flight plan.&#x20;

### CSV

A CSV file can populate a flight boundary in the app. Flight parameters cannot be included in the CSV file; only boundary coordinates can be imported with this file format.

#### Requirements

* The boundary points should be ordered correctly from a clockwise or counter-clockwise direction.
* There must be exactly two fields per row. &#x20;

#### lat-lon

If the .csv column labels are `lat,lon` or absent, the subsequent rows must contain precisely two fields, ordered latitude and longitude.

There is an example CSV file below.

{% file src="/files/BexckeQNz6KroFiFJs9o" %}
Example CSV file with lat,lon coordinates
{% endfile %}

#### lon-lat

If the .csv column labels are `lon,lat` the subsequent rows must contain precisely two fields ordered longitude and latitude.

***

### JSON

A .json file can provide both flight boundary (geometry) and flight parameters to the app.

#### Requirements

The file must follow the [JSON Schema](https://json-schema.org) below.

{% file src="/files/xmOcIufthbnHmjKrddbu" %}
JSON Schema for a Flight Plan
{% endfile %}

Below is an example JSON file that conforms to the schema above.

{% file src="/files/cwG3LZciRkv3F4rHJiHl" %}
Example Flight Plan JSON File
{% endfile %}

***

## Exported Types

The app can export .kmz files representing flight plans with flight parameters and coordinates.

### KMZ

The app can export a flight plan for use in DJI Pilot 2.

#### Requirements

The format of the KMZ file is documented on [DJI's Developer Page](https://developer.dji.com/doc/cloud-api-tutorial/en/api-reference/dji-wpml/overview.html).
