Setting up geographic locations (country → locality)
Outcome
You'll build and maintain the location hierarchy — Country → State → District → Block/Sub-District/City → Locality — that projects, events (surveys) and records use to say where data was collected.
Before you start
- Open the web app and go to Administration → Setup Geo Locations. The entry appears for Admin and SysAdmin accounts only.
- Locations are shared by the whole system. Everyone picks from the same lists, so check whether a place already exists before you add it.
The Geo Location Setup screen
The screen is a cascade of five levels. Each level is one row with three parts:
| Part | What it does |
|---|---|
| Dropdown (e.g. Choose Country) | Pick an existing place. It's searchable — type to filter. The first entry, Choose, clears your selection. |
| Edit | Opens the selected place so you can change it. Greyed out until you pick something. |
| Add | Opens a blank form to create a new place under whatever is selected above it. Always available. |
The levels cascade
A level only appears once its parent is chosen. Start with Countries; choosing one reveals States; choosing a state reveals Districts; and so on down to Locality.
| Level | Label on screen | Sits under |
|---|---|---|
| 1 | Countries | — (top level) |
| 2 | States | a country |
| 3 | Districts | a state |
| 4 | Blocks/Sub Districts/Cities | a district |
| 5 | Locality | a block / sub-district / city |
Searching can reveal duplicates. Typing "Kerala" in the State box also lists Kerlam — an old misspelling that now sits in the data. Always search before adding, and pick the correct spelling.
Worked example: add a real place — Clappana
Every level works the same way, so here is one complete walk-through with a real village: Clappana, in the Vallikavu block of Kollam district, Kerala, India — a Locality, the lowest level.
1. Pick the parents and check it isn't already there
Choose India → Kerala → Kollam → Vallikavu. A Locality row appears at the bottom.
Open the Locality dropdown and look through the list. Under Vallikavu, the existing places are Amritapuri, Karunagapalli and Vallikavu — no Clappana — so it's safe to add.
2. Add
Tap Add on the Locality row. The Locality Details form opens. All four parents are filled in at the top, and Latitude/Longitude start at the parent's position (Vallikavu), with the map centred there.
The Locality Details form: parents filled in, name empty, map centred on Vallikavu - Type Locality Name — Clappana.
3. Find the place on the map and pin it
The map is a normal Google map, so you find a place the way you would in Google Maps: read the labels. Here the labels Clappana, Oachira and Amritapuri are all visible around the centre.
Tap the place on the map. A red pin drops and Latitude and Longitude fill in automatically — here 9.1056, 76.4980.
A pin dropped on Clappana; the coordinates updated Check it by zooming in with the map's + button. At street level the pin should sit on the village itself — here beside the Vallikavu–Oachira road, next to SVHSS Clappana.
Zoomed in to street level to confirm the pin is on the village Scroll down and tap Save. A Success — "Locality created successfully" dialog confirms it.
The Success dialog Reload the page to see it in the list. The dropdowns keep the list they loaded earlier, so a brand-new place only appears after you refresh the browser and pick the parents again. After a reload, Clappana is in the Locality list:
After a reload, Clappana appears in the Locality list
4. Edit
Pick Clappana and tap Edit. The saved name, coordinates and pin come back as entered.
To make the position more accurate, zoom in (+) until you can see streets and landmarks, then drag the pin to the right spot — the village junction on the main road. The Latitude/Longitude fields follow the pin.
Scroll down and tap Update. A Success — "Locality updated successfully" dialog appears.
5. Delete
On the edit screen, Delete asks "Are you sure you want to delete this locality?" — Yes removes it, No keeps it. We answered No, so Clappana stays.
Delete only a place created by mistake — projects and events may already point to it. If a name is just misspelled, edit it instead.
Other levels work the same way
Creating, editing and deleting at every level follows the exact same pattern: choose the parents → Add (or pick the place and Edit) → fill in the name and position → Save / Update / Delete. What changes from level to level:
| Level | Parents you must choose first | Name field | Extra |
|---|---|---|---|
| Country | none | Country Name | optional Country Code; starts at 0, 0 on a world map |
| State | Country | State Name | — |
| District | Country, State | District Name | — |
| Block/Sub District/City | Country, State, District | Block/Sub District/City | reuse the district's name if you're not sure |
| Locality | Country, State, District, Block/City | Locality Name | — |
Each level shows the same set of messages — "… created successfully", "… updated successfully", "… deleted successfully" — with the level's own name.
If something is missing
Press Save with the name empty and you get a red "Please enter … name" message under the field plus a Failed — Form validation failed dialog. Fix the field and save again. Cancel leaves without creating anything.
The Country form
Adding a country is the same flow, with the optional Country Code and a world map to position it.
Tips & common pitfalls
- Build top-down. Create the country, then its states, then districts, and so on — each level needs its parent first.
- Search before you add to avoid duplicates and misspellings (like Kerala/Kerlam).
- Put the pin where people will actually be (the town centre), not the edge of the area — summary maps and bubbles use these coordinates.
- Keep names consistent with official administrative names so data lines up with other sources.
- Edit, don't delete, when a name is only misspelled.
- Refresh the page after adding, renaming or deleting a place so the dropdowns show the latest list.