Geocoding · 3 min read
How geocoding works, and how far to trust it
By the RICE team · Published 14 October 2026
Geocoding turns a line of text — “14 Main Road, Rondebosch, Cape Town” — into a point on the map. It feels like a lookup, but it is closer to an educated guess. Knowing how the guess is made tells you which results to check before they go into a report.
What happens to an address
A geocoder splits the text into parts — house number, street, suburb, town, postcode, country — and searches a reference database for the best combination. Then it reports the most specific thing it could find:
- Address point — a specific building or entrance. The best case.
- Interpolated position — the street is known with a range of house numbers, so the point is estimated along it.
- Street — the street is found but not the number; the point is placed somewhere on the street.
- Suburb, town or postcode — only the area matched; the point is its centre.
All four come back looking like the same kind of coordinate. A suburb-centre result can be two kilometres from the real address, which is why a match level or confidence score matters more than the coordinates themselves.
Where the reference data comes from
RICE uses Nominatim, the geocoder built on OpenStreetMap data. OpenStreetMap is maintained by volunteers and local communities; its coverage of street names in South African metros is good, while house numbers are patchy outside the main cities and largely absent in many townships and rural areas. Commercial geocoders license other address databases with different gaps — no single source is complete.
Because the service is shared, Nominatim’s usage policy allows one request per second. RICE spaces requests at just over a second and runs them one after another, so a hundred addresses take a little under two minutes. That is the honest cost of a free, open geocoder.
Writing addresses that match
- Put one address per line, with no line breaks inside it.
- Order from specific to general: number, street, suburb, town, province or postcode, country.
- Always include the town. Suburb names repeat across provinces; “Sunnyside” alone could be in Pretoria or elsewhere.
- Spell out abbreviations where you can — “Street” rather than “St”, “Avenue” rather than “Ave” — although most geocoders handle the common ones.
- Leave out unit and complex details that the reference data will not have: “Unit 12, Rosewood Estate” can stop a match that would otherwise find the street.
- Add the country if your list mixes countries, or if place names exist elsewhere.
Reading the result
For every row, compare the matched name with what you asked for. If you searched for a street address and the match is a suburb, the point is only as good as the suburb. RICE reports a confidence score per row, so you can sort the low scores to the top and check those by hand.
A few patterns are worth flagging automatically:
- Many different addresses returning exactly the same coordinate — they have all fallen back to the same suburb or town centre.
- Points outside the expected area — the geocoder found a same-named place in another province or country.
- No result at all — usually a typo, a new development, or a farm or erf description the reference data does not hold.
Privacy
Geocoding is the one RICE tool that cannot run entirely in your browser: each address is sent to the geocoding service to be looked up. The tool says so on the page. If your list contains personal information, consider removing names and keeping only the address fields before you geocode.
RICE’s Bulk geocode tool takes a column of addresses and returns a mapped point layer with the matched name and confidence for every row.
One address per line in — a point layer out, with what was matched and a confidence score for each row.
Open the toolWritten and maintained by the RICE team at LocalID IQ Pty Ltd. Questions or corrections: info@rice.org.za. About RICE.
