> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/administrative-settings-3/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/administrative-settings-3/admin-panel-options/configurations/geo-spatial.md).

# Geo Spatial

This section explains the steps to configure the Geospatial plugin.

&#x20;The option provides two types of Map settings.

* Click the ***Geo-Spatial*** from the Configuration and Settings admin option.
* The following option appears:
  * [**Geo Settings**](#geo-settings)
  * [**Geo Shapes**](#geo-shapes)

## Geo Settings

* Click the ***Geo*** ***Settings*** option from the ***Geo Spatial*** configuration option.

<figure><img src="https://2073023115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkEZj56mLypG1iscFjXhx%2Fuploads%2FQiU8Nx1ZTnhdfAVW8JKY%2Fimage.png?alt=media&amp;token=3b6e6312-6e32-4234-9bc6-0c2756c35cc4" alt=""><figcaption></figcaption></figure>

* The ***Geo Settings*** page opens displaying the ***Google Settings*** and ***Leaflet Settings*** options.
* Fill in the following information for the ***Google Map***:
  * ***Map Key***: Enter the map key that has been provided by Google (To be purchased from Google).
  * Click the ***Save*** option.&#x20;

<figure><img src="https://2073023115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkEZj56mLypG1iscFjXhx%2Fuploads%2FWMGouGgMBwTrnWID49gC%2Fimage.png?alt=media&amp;token=d7ef86af-111a-4c0d-ac42-fd955fc69ad3" alt=""><figcaption><p><em><strong>Google Settings</strong></em></p></figcaption></figure>

Fill in the following information for the ***Leaflet Settings***:

* ***Map URL*****:** URL of the selected map (provided by the open-source vendors)
* ***Attribution*****:** Configuration parameters for the map (provided by the open-source vendor)
* Click the ***Save*** option.

<figure><img src="https://2073023115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkEZj56mLypG1iscFjXhx%2Fuploads%2FhhMVCqG4yqy2iHREP9un%2Fimage.png?alt=media&amp;token=90abda32-a8ea-47a6-a42f-eeedc14e156b" alt=""><figcaption><p><em><strong>Leaflet Settings</strong></em></p></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> Click the **Clear** option to erase the information.*
{% endhint %}

## **Geo Shapes**

#### **Uploading a Geo Shape File**

* Click the ***Geo Shapes*** option from the ***Geo Spatial*** configuration option.

<figure><img src="https://2073023115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkEZj56mLypG1iscFjXhx%2Fuploads%2F2rqiUeSuS5JSxkGE8Qkp%2Fimage.png?alt=media&amp;token=f0640527-c277-42e4-ad74-0321ebb110de" alt=""><figcaption></figcaption></figure>

* The ***Geo Shapes*** page opens.
* Click the ***Add*** icon from the Geo Shapes page.

<figure><img src="https://2073023115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkEZj56mLypG1iscFjXhx%2Fuploads%2FzrzK2ZWvWdkePScGhxV2%2Fimage.png?alt=media&amp;token=446247a1-d226-4081-a611-b961ecd80294" alt=""><figcaption></figcaption></figure>

* The ***Create Geo Shapes*** page opens.
* Enter the following information:
  * **Shape Name**: Title of the geo shape (map)
  * **Geometry Type**: Select anyone Geometry type from the drop-down menu (out of **Polygon** or **Line**)
    * The supported Geometry types are: Polygon and Line.
  * **Area Type**: Select an area type using the drop-down menu.
  * **Choose File**: Browse a shapefile from the system and upload (Only **JSON** and **js** formats are supported).
* Click the ***Save*** icon to save the inserted details.

<figure><img src="https://2073023115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkEZj56mLypG1iscFjXhx%2Fuploads%2Fod1Mk3ZAFiqQIdYhbEkh%2Fimage.png?alt=media&amp;token=c16b1f8d-e970-46ef-be7f-9ee876885c27" alt=""><figcaption></figcaption></figure>

* A message will pop up to assure that the file has been uploaded.
* The uploaded ***Geo Shape*** file get displayed in the list format.

<figure><img src="https://2073023115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkEZj56mLypG1iscFjXhx%2Fuploads%2FNjhNB65MBC8NzgOGO3zn%2Fimage.png?alt=media&amp;token=ae908bb0-4707-4d75-ac3f-27e90657da29" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> Use the **Search** space to search a Geo Shapefile from the displayed list.*
{% endhint %}

### Deleting a Geo Shape File

* Select an uploaded Geo Shapefile from the list (as displayed at the bottom of the window).
* Click the ***Delete*** icon provided next to a Geo Shape File.

<figure><img src="https://2073023115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkEZj56mLypG1iscFjXhx%2Fuploads%2F6Ls0y9fJSGmzgPYxtaRf%2Fimage.png?alt=media&amp;token=75644575-6644-441a-9457-df1ca5894759" alt=""><figcaption></figcaption></figure>

* A new window opens to confirm the deletion.
* Select the ***DELETE*** option.

&#x20;      ![](https://2073023115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkEZj56mLypG1iscFjXhx%2Fuploads%2FxqtHWT74pU4hawEXIWAp%2Fimage.png?alt=media\&token=547435eb-b171-4729-8e94-4d2dd4a1d353)

* A notification message appears, and the selected ***Geo Shape*** file gets removed from the list.

<figure><img src="https://2073023115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkEZj56mLypG1iscFjXhx%2Fuploads%2Fu6ET8RCCIDyQaKpUhVnL%2Fimage.png?alt=media&amp;token=9defca15-ba9f-4674-aff3-81c6a3b657e9" alt=""><figcaption></figcaption></figure>
