resolve place category

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

resolve place category v15.0.0

Resolves free text such as kroeg, basisschool or supermarkt to a category group id. Regular plurals are handled, so kroegen and bars work without being listed. When a word spans several groups : school is the obvious case : the alternatives are returned rather than one being picked silently, because only you know which was meant.

In pins 2
  • text value required v15.0.0

    The category name to resolve.

  • language value v15.0.0

    nl (default) or en. Both are recognised either way.

Out pins 6
  • group value v15.0.0

    The resolved group id. Empty when nothing matched.

  • label value v15.0.0

    The Dutch label for that group.

  • confidence number v15.0.0

    1.0 for an exact synonym match, lower when only part of the text matched, 0 when nothing did.

  • alternatives array v15.0.0

    Other groups the text could mean. Show these when the word is ambiguous instead of guessing.

  • success condition v15.0.0

    True when the query ran. An empty result is still a success.

  • error value v15.0.0

    Error code when the query could not run: PLACES_NOT_AVAILABLE, TEXT_REQUIRED.

A typical wiring for resolve place category: value feeds the text pin; the group out pin feeds convert to uppercase.

Studio canvas example for the resolve place category block: typical wiring for resolve place category.

Used in these guides

These documentation pages use or explain this block:

Version history

Introduced in v15.0.0.


Back to places Return to the main group to view all sub-groups Back to Places Return to the group to view all blocks within this group