# How to handle large location files?

## 1. Step By Step:

1. Users can upload **.kml** or **.json** files to populate *geoJson* fields with locations.

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2FYVjFwGEvTs8bfcDrbLAh%2Fimage.png?alt=media&#x26;token=6fff2300-c220-42d3-b2e8-9bf0eb22810d" alt=""><figcaption></figcaption></figure>

2. The imported locations appear as grey shapes overlaid on the map.

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2FUariXkYkUufpYvsnU8Tl%2Fimage.png?alt=media&#x26;token=3c169c4e-bccf-4549-abb9-77613d382d29" alt=""><figcaption></figcaption></figure>

To select a location, click its shape on the map. The shape will be highlighted in green, and its textual definition will appear in the editable panel below the map. You can add, modify, or delete multiple locations. Clicking a selected location again will deselect it.

3. You can also use the **“Include all”** option to import all locations from the uploaded file.

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2Fg4Gky6FJ0tNezaLJ8ItZ%2Fimage.png?alt=media&#x26;token=9a96a7ae-8b71-40e0-82f8-e7cfa9a6f0fb" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Note:** Web browsers limit the size of items they can render. The exact threshold depends on the host computer’s hardware and operating system configuration. If an uploaded file exceeds these limits, Guardian UI displays a warning message.
{% endhint %}

4. When these limits are reached, Guardian UI also provides an option to download the files by clicking the corresponding button in a modal window.

<figure><img src="https://1556785885-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNYWPEEAknX9Vki1yV5HY%2Fuploads%2FA629usK12OFDCRLt6bIa%2Fimage.png?alt=media&#x26;token=daa3456f-a3a4-409a-ae7b-8afc73c99545" alt=""><figcaption></figcaption></figure>

## 2. Demo Video:

[Youtube](https://youtu.be/Iuvdi3CP6O4?si=3s7mwrWsD8_M0I8d\&t=113)
