Sudan Atlas
v0.1.5Match Sudanese place names (Arabic or English) to official P-codes; get places and boundaries.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
match_place_name Match a Sudanese place name
Match one state or locality name, in Arabic or English and any spelling, to its official P-code. Returns pcode (null when not confident), names, score 0-1, method (exact, variant, fuzzy, ambiguous, none) and up to three alternatives.
| Parameter | Type | Description |
|---|---|---|
name * | string | The place name as written, e.g. 'Elfasher' or 'الفاشر' |
level | 1 for states, 2 for localities; leave out if unknown | |
state_hint | string | The state, as a name in any spelling or a P-code such as SD02 |
match_place_names Match many Sudanese place names
Match up to 1,000 names at once (for example a spreadsheet column). Each item can carry its own state hint. Results are in the same order as the input.
| Parameter | Type | Description |
|---|---|---|
names * | array | The names to match, each with its own optional state hint (1 to 1,000) |
level | 1 for states, 2 for localities; leave out if unknown |
search_places Search Sudan's states and localities
Find states and localities whose official English or Arabic name contains the text, best first, with the matcher's answer for misspellings.
| Parameter | Type | Description |
|---|---|---|
query * | string | Part of a state or locality name, in Arabic or English, e.g. 'Nyala' or 'نيالا' |
limit | integer | How many places to return, 1 to 25 (default 10) |
get_place Details of a state or locality
Official names, level, parent state, localities (for a state), area in km² and estimated population (COD-PS 2025, mid-2025) for a P-code.
| Parameter | Type | Description |
|---|---|---|
pcode * | string | A P-code such as SD02 or SD02114 |
list_places List states or localities
All 19 admin-1 units (18 states and the Abyei PCA area), or the localities of the whole country or of one state.
| Parameter | Type | Description |
|---|---|---|
level * | 1 to list the states (and the Abyei PCA area), 2 to list localities | |
state_pcode | string | With level 2, only the localities of this state, e.g. SD02; leave out for all 189 |
get_boundary Boundary of a state or locality
The boundary as a GeoJSON Feature (EPSG:4326) with the place's properties. 'light' is small and enough for most maps; 'medium' is more detailed.
| Parameter | Type | Description |
|---|---|---|
pcode * | string | A P-code such as SD02 (a state) or SD02114 (a locality) |
resolution | string | 'light' (default, small) or 'medium' (more detailed) |