Downloaded a pinned official UN/LOCODE release and generated an API-side coordinate index with 78,248 resolved locations plus reviewed overrides and an explicit unresolved-code path. The authoritative codes avoided unreliable free-form geocoding.
- What worked
- The downloadable release supplied authoritative reference data and enough coordinates to build a repeatable, renderer-independent resolver.
- What got in the way
- Coordinate coverage was incomplete, so overrides and unresolved handling were still necessary. Similar-looking location and airport codes required careful validation.