# Export Data

Tracks recorded in the NextGIS Mobile application, vector layers, and their attachments can be exported as files.

Depending on the applications installed on the device, you can:

* Send the file by email or via messenger.
* Upload the file to a cloud storage, such as Google Drive.
* Send a file to another device via Bluetooth or LAN access.
* Save the file to the device’s memory.

#### SEE ALSO
You can also send vector layers created in the application [to your Web GIS](https://docs.nextgis.com/docs_ngmobile/source/ngw_load.html#ngmobile-upload) and enable [track synchronization](https://docs.nextgis.com/docs_ngcom/source/tracking.html#tracking-create) with the server.

<a id="ngmobile-export-vector"></a>

## Share vector layer

To export vector layer data,

* Open the Layer Tree ![three lines](docs_ngmobile/source/_static/ic_layer_tree.png) (see [Fig. 1010.](main.html.md#ngmobile-main-activity-pic), item 1).
* Open the menu of the desired layer by tapping the three dots ![tree dots](docs_ngmobile/source/_static/ic_menu_grey.png) next to it and select **Share**.

![image](docs_ngmobile/source/_static/ngm_share_select_en.png)

In the export parameters window, select what to use for field names: keys or aliases. Tap **OK**.

![image](docs_ngmobile/source/_static/ngm_export_settings_en.png)
* Selecting which app you want to use to send the file.

![image](docs_ngmobile/source/_static/ngm_share_en.png)
* Select the desired option (send by mail or messenger, etc.) and complete the export in the corresponding application.

The layer data is saved in the [GeoJSON](../../glossary.html.md#term-GeoJSON) format (Web Mercator coordinate system, EPSG:3857). Layer name is used as the file name.

<a id="ngmobile-share"></a>

## Save vector layer to your device

To save the layer to the device as a file:

* Open the Layer Tree ![three lines](docs_ngmobile/source/_static/ic_layer_tree.png) (see [Fig. 1010.](main.html.md#ngmobile-main-activity-pic), item 1).
* Open the menu of the desired layer by tapping the three dots ![tree dots](docs_ngmobile/source/_static/ic_menu_grey.png) next to it and select **Save**.

![image](docs_ngmobile/source/_static/ngm_save_select_en.png)

In the export parameters window, select what to use for field names: keys or aliases. Tap **OK**.

![image](docs_ngmobile/source/_static/ngm_export_settings_en.png)

A file save window will open, where you can choose the path and name for the file.

<a id="ngmobile-export-attachments"></a>

## Export attachments

One or more photos can be attached to each feature of a vector layer in NextGIS Mobile ([learn more](https://docs.nextgis.com/docs_ngmobile/source/editing.html#ngmobile-add-geometry).

#### SEE ALSO
When you [upload a layer to the Web GIS](https://docs.nextgis.com/docs_ngmobile/source/ngw_load.html#ngmobile-upload) , attachments are automatically uploaded to the server.

When you save a layer to your device as a file, the photos are added to an archive. Each feature has a corresponding folder that has its ID as the name.

Example entry:

```default
(4:10000002.jpg,10000000.jpg,10000001.jpg,10000003.jpg)
```

What it means:

4 photographs with the following names are attached to this feature.
These photos are in the folder named with the object ID.

<a id="ngmobile-export-gpx"></a>

## Export tracks to GPX

Recorded tracks can be exported to a file, for example, to create a backup.

* Select the ![squiggle](docs_ngmobile/source/_static/ic_tracks.png) “My Tracks” layer in the Layer Tree.
* Open the layer menu by clicking the three dots ![tree dots](docs_ngmobile/source/_static/ic_menu_grey.png) next to the layer and click **List**.

![image](docs_ngmobile/source/_static/ngm_mytracks_context_en.png)
* A list of recorded tracks is opened. If several tracks were recorded on the same day, the tracks will be broken down by sessions. If one track was recorded over several days, then the recorded track will be split into parts at midnight.
* Select the track by placing a checkmark next to it. Action buttons for tracks will appear on the top panel.

![image](docs_ngmobile/source/_static/ngm_tracks_selected_en.png)
* Click the “Share” button ![three dots connected by a line](docs_ngmobile/source/_static/ic_share.png).
* Select the desired option (send by mail or messenger, save to the device etc.) and complete the export in the corresponding application.
