is nearby

This block is part of the geopoint group and was last modified in core v15.0.0.

is nearby v15.0.0

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).

In pins 3
  • 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

Out pins 5
  • 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: from city feeds the geo_point pin; the is_nearby out pin feeds branch.

Studio canvas example for the is nearby block: typical wiring for is nearby.

Used in these guides

These documentation pages use or explain this block:

Version history

Introduced in v15.0.0.


Back to geopoint Return to the main group to view all sub-groups Back to Geopoint Return to the group to view all blocks within this group