# Flight Plans

The app can [import](/home/fieldagent-mobile-ios/60-second-guides/flight-plan-import.md) and [export](/home/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).


---

# Agent Instructions: 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://support.senterasensors.com/home/fieldagent-mobile-ios/data-schemas/flight-plans.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.
