2. Add Boundary
Last updated
Was this helpful?
Note: This boundary data is seeded at the city level.
This phase creates your city’s boundary hierarchy. Boundaries power routing, SLA reporting, and ward-level views.
Boundaries are the geographic divisions of your city:
City → Zone → Ward → Block → Locality
If this is a new setup, you need to define the hierarchy levels. Creating a new hierarchy is as simple as defining levels top to bottom. You can name the hierarchy anything, like "REVENUE". Set it in the BOUNDARY_HIERARCHY variable. This generates a template that you can fill and upload. The calls are idempotent so it will not create new ones.

The output of running this cell will look like this. It stores the generated template in the upload folder directly.

Open the downloaded Excel file.

Fill in boundary data:
PG_CITYA
City A
(leave empty)
PG_CITYA_Z1
Zone 1
PG_CITYA
PG_CITYA_Z1_W1
Ward 1
PG_CITYA_Z1
PG_CITYA_Z1_W1_B1
Block 1
PG_CITYA_Z1_W1
Important Rules:
First level (City) has no parent
All other levels must have a valid parent code
Codes must be unique



Last updated
Was this helpful?
Was this helpful?