Tutorials / Administration & Setup

Setting up geographic locations (country → locality)

6 minIntermediateWeb appSysAdminAdmin

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.
Administration → Setup Geo Locations

The Geo Location Setup screen

The screen is a cascade of five levels. Each level is one row with three parts:

PartWhat it does
Dropdown (e.g. Choose Country)Pick an existing place. It's searchable — type to filter. The first entry, Choose, clears your selection.
EditOpens the selected place so you can change it. Greyed out until you pick something.
AddOpens a blank form to create a new place under whatever is selected above it. Always available.
The first row: Choose Country, with Edit disabled and Add enabled

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.

Searching the country list
After choosing India, the States row appears and Edit becomes active
LevelLabel on screenSits under
1Countries— (top level)
2Statesa country
3Districtsa state
4Blocks/Sub Districts/Citiesa district
5Localitya block / sub-district / city
Country, State and District chosen — the Blocks/Sub Districts/Cities row appears

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.

All four parents chosen — the Locality row appears

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.

Existing localities under Vallikavu

2. Add

  1. 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
  2. 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.

Finding Clappana among the map labels
  1. 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
  2. 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
  3. Scroll down and tap Save. A Success — "Locality created successfully" dialog confirms it.

    The Success dialog
  4. 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.

Clappana reopened for editing

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.

Zoomed to street level before moving the pin
The pin dragged onto the junction — coordinates now 9.1044, 76.4973

Scroll down and tap Update. A Success — "Locality updated successfully" dialog appears.

The update confirmation

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.

The Delete Locality confirmation

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:

LevelParents you must choose firstName fieldExtra
CountrynoneCountry Nameoptional Country Code; starts at 0, 0 on a world map
StateCountryState Name—
DistrictCountry, StateDistrict Name—
Block/Sub District/CityCountry, State, DistrictBlock/Sub District/Cityreuse the district's name if you're not sure
LocalityCountry, State, District, Block/CityLocality 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.

Validation: the red field message and the "Form validation failed" dialog

The Country form

Adding a country is the same flow, with the optional Country Code and a world map to position it.

Add a new country

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.