Magidoc

getGeocodedAddresses
Query

Coordinates for a batch of street addresses, in the order sent. Each distinct address is geocoded once, ever: the result (including "no match") is stored and every later call, from any app or user, reads it without contacting the geocoder. Use this to put records that hold an address as plain text on a map.

Access: Requires membership of the workspace.

Errors: Throws if more than 100 addresses are sent, geocoding is not configured, or the per-user rate limit is exceeded. Addresses beyond this call's lookup budget, or that the geocoder failed on, come back with pending true and are not stored; call again for them.

Arguments

#

workspaceId

ID !
Non-null

addresses

[String !]!
Non-null

Street addresses as free text (1-100 per call)

Response

#

Returns [GeocodedAddress !]!.

Example

#