---
title: "is nearby · RUAL Documentation"
description: "Checks whether a road or railway is within a given distance of a geo point, and returns the nearest point on it. Offline lookup against the road/rail ne…"
canonical: https://docs.rual.nl/block-types/geopoint/geo_point_nearby
language: en
---

# is nearby

This block is part of the [`geopoint`](https://docs.rual.nl/block-types/geopoint) group and was last modified in core [`v15.0.0`](https://docs.rual.nl/core-versions/150000).

Checks whether a road or railway is within a given distance of a geo point, and returns the nearest point on it. Offline lookup against the road/rail network (Benelux, OpenStreetMap).

- geo point required `geo_point` point to test

- type `value` feature to look for: road or rail

Default `road`

- max distance `number` maximum distance in metres to count as nearby

Default `100`

- is nearby `condition` true when a feature is within max distance

- distance `number` distance in metres to the nearest feature

- nearest point `geo_point` nearest point on the feature

- success `condition`

- error `value`

A typical wiring for [is nearby](https://docs.rual.nl/block-types/geopoint/geo_point_nearby): [from city](https://docs.rual.nl/block-types/geopoint/geo_point_from_city) feeds the `geo_point` pin; the `is_nearby` out pin feeds [branch](https://docs.rual.nl/block-types/flow/branch).

![Studio canvas example for the is nearby block: typical wiring for is nearby.](https://docs.rual.nl/canvas-examples/geo_point_nearby.png)

### Used in these guides

These documentation pages use or explain this block:

- [Location Blocks](https://docs.rual.nl/reference/location-blocks)

### Version history

Introduced in [`v15.0.0`](https://docs.rual.nl/core-versions/150000).
