AiondaAionda

Formula reference · Numbers and mathematics

GEOLOCATION

Build a coordinate pair for a DISTANCE calculation.

English · 23 November 2026

Review edition — editorial review is not yet complete.

Back to the function catalog

What it does

Build a coordinate pair for a DISTANCE calculation.

Syntax

GEOLOCATION(latitude, longitude)

Square brackets mark optional arguments; omit the brackets. Separate arguments with commas, quote text and use a point for decimals.

Arguments, in order

ArgumentMeaning
latitudeLatitude in decimal degrees, between -90 and 90.
longitudeLongitude in decimal degrees, between -180 and 180.

Returns: Internal coordinate pair (use with DISTANCE).

Worked examples

Example 1

Formula

ROUND(DISTANCE(GEOLOCATION(0, 0), GEOLOCATION(0, 1), "km"), 3)

Result

111.195

Quotes in the result indicate text; \n indicates a newline. Date results use ISO notation. The application may display dates and numbers differently according to the selected field type and interface language.

Behaviour and limits

The coordinate pair is an internal value, not a new storable field type. Use it inside DISTANCE. Blank coordinates return null; out-of-range coordinates cause an error. This function does not look up an address or contact a map service.

Use it with your fields

Replace example values with the relevant field API names when needed. A record formula uses names such as amount; a flow expression uses its context, such as $Datensatz.amount. Use your actual API names and a compatible return type. See expression basics and flows.