---
title: "include geo distance · RUAL Documentation"
description: "Adds a field \"distance\" which returns the distance in meters based on the given geo_point"
canonical: https://docs.rual.nl/block-types/query/query_include_geo_distance
language: en
---

# include geo distance

This block is part of the [`query`](https://docs.rual.nl/block-types/query) group and was last modified in core [`v12.0.4`](https://docs.rual.nl/core-versions/120004).

### Field Selection Required

This block relies on a field that you select to perform its data actions. You must manually select the field you want to use in your flow using the field selector modal. To access the modal, click the white button on the block.

### Connection Type

This block connects from a `query` type block. Make sure to connect this block to the appropriate left-hand side connection.

Adds a field "distance" which returns the distance in meters based on the given geo_point

- Location required `geo_point` The location (geo_point) used to define the distance

- query `query`

A typical wiring for [Include geo distance](https://docs.rual.nl/block-types/query/query_include_geo_distance): [from city](https://docs.rual.nl/block-types/geopoint/geo_point_from_city) feeds the `location` pin; the `query` out pin feeds [cast to object](https://docs.rual.nl/block-types/query/query_convert_to_object).

![Studio canvas example for the Include geo distance block: typical wiring for Include geo distance.](https://docs.rual.nl/canvas-examples/query_include_geo_distance.png)

### Version history

Introduced in [`v12.0.4`](https://docs.rual.nl/core-versions/120004).
