Business Geocoder

Automation, 2026

A Python geocoder on a private Nominatim server: a six-level fallback search, fuzzy matching for misspelt Jakarta areas, region validation and multithreading.

  • Six fallback search strategies
  • Results outside Jakarta rejected
  • No API quotas: runs locally

The problem

Business addresses in survey data are full of typos, building floors and RT/RW numbers. Public geocoding APIs either miss them or cap the number of calls.

What I built

  • Run Nominatim in Docker, so lookups are private, free and unlimited.
  • Search in levels: name plus address, full address, two keywords, fuzzy Jakarta area, a regex-cleaned address, then name only.
  • Fuzzy logic fixes common misspellings of area names, for example “Glora” to “Gelora”.
  • Every hit is checked against city, state and district, so a match outside Jakarta counts as not found.

Stack

  • Python
  • Nominatim
  • Docker
  • Fuzzy matching
  • Multithreading

More work

Gerbang Dinas

CAT-style tryouts for CPNS, service schools and TKA

A mobile-first tryout platform that copies the real exam screen: server-controlled timer, flag-for-review, autosave, and scores per subtest against the passing grade.

  • Astro
  • SvelteKit
  • Supabase
  • PostgreSQL

Case study Open gerbangdinas.com