# 4. Upload Boundary Information

{% hint style="info" %}
**Note:** This boundary data is seeded at the city level. Please authenticate again using city-level credentials before attempting to seed the data.
{% endhint %}

#### 4.1 What are Boundaries?

Boundaries are the geographic divisions of your city:

* City → Zone → Ward → Block → Locality

#### 4.2 Select Your Tenant

Step 1: Find the boundary section in the notebook

![](/files/BRRBXYZU48fapj2TLPtL)

Step 2: Enter your tenant code (e.g., pg.citya)

#### 4.3 Create Boundary Hierarchy

If this is a new setup, you need to define the hierarchy levels.

Option A: Create New Hierarchy

Step 1: Select "Create New Hierarchy"

![](/files/ACilsx2RFdXGtVIAngXp)

Step 2: Enter hierarchy levels:

<table><thead><tr><th width="265.1484375">Level</th><th>Boundary Type</th></tr></thead><tbody><tr><td>Level 1</td><td>City</td></tr><tr><td>Level 2</td><td>Zone</td></tr><tr><td>Level 3</td><td>Ward</td></tr><tr><td>Level 4</td><td>Block</td></tr></tbody></table>

Step 3: Run the cell

![](/files/26JpdR2uFuK98d3VoLnB)

#### Option B: Use Existing Hierarchy (Recommended if already configured)

Use this option if a boundary hierarchy is already available for the tenant.![](/files/q3wE3qWFRZbsXqr3rxI6)

Steps:

1. Select “Use Existing Hierarchy”.
2. Click “Search Hierarchies”.
3. Choose the required hierarchy from the dropdown.
4. Click “Generate Template”.

Note: Ensure the correct tenant code is entered before searching for existing hierarchies.

#### 4.4 Generate Boundary Template

Step 1: Click "Generate Template"

![](/files/X5PDnPTRTzlQWZwCFrRE)

Step 2: Wait for generation (30-60 seconds)

![](/files/UJe4tLSHAe9GGcG9lCMm)

Step 3: Download the template when ready

![](/files/YqfcDuwJ5EBpTdPEAj9s)

#### 4.5 Fill the Boundary Template

Open the downloaded Excel file.

![](/files/dd1lvy4Hjwtwi1L9qJ45)

Fill in boundary data:

<table><thead><tr><th width="206.1328125">Code</th><th width="192.3203125">Name</th><th>Parent Code</th></tr></thead><tbody><tr><td>PG_CITYA</td><td>City A</td><td>(leave empty)</td></tr><tr><td>PG_CITYA_Z1</td><td>Zone 1</td><td>PG_CITYA</td></tr><tr><td>PG_CITYA_Z1_W1</td><td>Ward 1</td><td>PG_CITYA_Z1</td></tr><tr><td>PG_CITYA_Z1_W1_B1</td><td>Block 1</td><td>PG_CITYA_Z1_W1</td></tr></tbody></table>

Important Rules:

* First level (City) has no parent
* All other levels must have a valid parent code
* Codes must be unique

#### 4.6 Upload and Process

Step 1: Upload the filled template

![](/files/XbFUVRHphHlCLT82Ov7e)

Step 2: Click "Process Boundaries"

Step 3: Wait for processing (1-5 minutes)

#### 4.7 Check Results

✅ PHASE 2 COMPLETE

![](/files/85vkJnhKSyv1sQofbgcS)

&#x20;  Boundaries Created: 45

&#x20;  Processing Time: 2m 15s

Click on check processing status after a while to check the generated boundary Excel&#x20;

![](/files/cVPoKuVzb3G6xANguC6J)


---

# 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.digit.org/complaints-management/complaints-resolution-v2.10/deploy/setup/production-setup/deploy-complaints-management/unified-approach-not-for-publish/4.-upload-boundary-information.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.
