Search the documentation

Find a page by title or section.

Locations

Geocoding and autofill

Turning the addresses you already have into the coordinates the map and geofences need.

Updated

Most address lists arrive without coordinates, and a location without coordinates is invisible to the map, to area selection and to arrival detection. Geocoding closes that gap: during an import, a row with an address but no pin can have one derived for it.

Who can do this

Role
Administrators
Permission
destinations:writeorigins:write

Auto-fill is off unless your organisation is entitled to it. With it off, imports still succeed — rows simply arrive without coordinates, exactly as they would have before.

Behind the geocoding_autofill feature flag. Ask support to enable it for your organisation.

What auto-fill does

When you import destinations or origins, every row that has no latitude and longitude is looked up by its address. If the lookup resolves, the coordinates are written onto the row and it imports pinned.

  • Coordinates in your file are never overwritten. A row that already carries a latitude and longitude is skipped entirely — your surveyed pin always beats a derived one.
  • The address is what is looked up. A row with no address line falls back to searching for the place by name, with its city, state and country appended for context.
  • Derived coordinates are treated as a backfill on updates, so re-importing a file cannot quietly move a pin that someone has since corrected by hand.
  • It is best-effort. A row that resolves to nothing still imports; it just arrives without a pin.

How a match is chosen

A street address is sent to a street geocoder; a bare name is sent to a place search. An address the street geocoder matches to nothing is retried as a place search on the same text, which is what rescues rows like "Al Quoz Industrial Depot, Dubai" that are a name pretending to be an address.

When the lookup returns several candidates, the regional fields on the row — city, state, country, postal code — are used to pick between them. A candidate matching the country and city beats one that matches neither, and among equals a rooftop-precision result beats a street-centroid one. Every result is labelled with how it was chosen:

QualityWhat it meansHow much to trust it
exactEvery regional field you supplied matchedHigh — spot-check only
disambiguatedWon a scoring contest, but not on every fieldMedium — worth reviewing
firstRow carried no city, state, country or postcodeLow — nothing narrowed the search
The match quality reported against an auto-filled row.

Reading the import report

Every auto-filled row carries a warning on its result — never an error, because the row imported successfully. The warning names the address the provider resolved to, the match quality, and which lookup produced it, so a pin that landed in the wrong city is visible in the report rather than a fortnight later on a map. Warnings do not stop an import; they are there to be skimmed.

Repeat imports and rate limits

Lookups are cached, which matters because they are billed. A resolved address is remembered for 30 days, so re-importing the same file — or importing the same depot on 200 rows — costs one lookup rather than 200. An address that resolves to nothing is remembered for a day only, because the usual cause is a typo in your file and a corrected row looks like a different address anyway.

If the provider reports a rate limit mid-run, auto-fill stops for the remaining rows of that import rather than retrying into an exhausted quota. Those rows still import, without pins — re-run the import later and the cache means the rows that already resolved are not paid for twice.

Pinning one location by hand

For a single record, the location picker in the destination and origin forms is faster than any import. It offers three modes:

  • Search — type an address and choose from the suggestions. This is the one that also fills in the city, state, postal code and country fields below.
  • Map — click to drop the marker, drag to nudge it. The right choice when the registered address and the actual gate are not the same place.
  • Manual — type a latitude between -90 and 90 and a longitude between -180 and 180. For coordinates you already have from a survey or a GPS device.

A green confirmation strip shows the coordinates once they are set, so a form saved without a pin is a deliberate choice rather than an oversight.

When auto-fill does not do what you expected

The import ran but nothing got coordinates
Cause

Either the feature is not enabled for your organisation, or geocoding is not configured on this deployment. Both make auto-fill a no-op rather than an error.

Ask an administrator to check the geocoding_autofill entitlement — see Feature flags. Until then, supply latitude and longitude columns in the file.

A pin landed in the wrong country
Cause

The row carried no regional fields, so there was nothing to disambiguate with and the provider’s top result was taken. The report labels these first.

Add city and country columns to the source file and re-import. The name match is unchanged, but the candidate scoring now has something to work with.

Auto-fill stopped part-way through a large file
Cause

The provider reported a rate limit, which aborts enrichment for the rest of the run rather than burning quota on calls that will fail.

The rows still imported. Re-run the same import later to fill the gaps; already-resolved addresses come from the cache.

Re-importing did not correct a pin I know is wrong
Cause

Derived coordinates only ever backfill. An existing record’s pin is not replaced by a fresh lookup.

Fix it on the record itself with the Map mode of the location picker, or supply explicit latitude and longitude columns in the file — those are applied.