# 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 Shapes

![](/files/Pj3jWoY6iMybbPVI73d7)

### **Geo Settings**

* Click the ***Geo*** ***Settings*** option.
* 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.
* 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.

![](/files/XbODz3fu6upJqyatqxOa)

* Click the ***Clear*** option to erase the information.

![](/files/YgptH4d4Un9xN06cgq8T)

### **Geo Shapes**

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

* Click the ***Geo Shapes*** option from the Geo Settings configuration option.
* The ***Geo Shapes*** page opens.
* Click the ***Create New Geo Shape*** ![](/files/cWIHOLeIpQJvFu3RkARJ) icon from the Geo Shapes page.

![](/files/8NkikjVI9pVItP7Tw9fR)

* The ***Create New 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**)
  * **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*** ![](/files/oGbkryyRqNsho78JWCPa) icon to save the inserted details.

![](/files/KseMsRrpO3IDrFSjOCa4)

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

<mark style="color:green;">Please Note:</mark>

* Select a Geometry Type using the drop-down menu.
  * Polygon
  * Line

![](/files/F3mqQUYWNoMPg490Jq2W)

* Use the ***Search*** space to search a Geo Shapefile from the displayed list.

![](/files/X9vxMTe43xk5ynNLKX3G)

### 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 ![](/files/6fRPu8Mo1DymKGK7Egvq) provided next to a Geo Shape File.

![](/files/Jj1BcuTxFZmpsl4OUjyz)

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

![](/files/muEFhhG5UJgiAv3wldAF)

* The selected Geo Shape file gets removed from the list.


---

# 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://docs.bdb.ai/bdb-documentation/core-platform/platform-administration/admin-panel-options/configurations/geo-spatial.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.
