Geocoder's label classification works counter intuitively

Expected Behavior

Descriptors are added to labels consistently

Actual Behavior

Descriptors are not consistent

Steps to Reproduce

None

Environment

None

Description

Geocoding api adds separating terms into labels in an unpredictable way:

Search 1:
https://api.digitransit.fi/geocoding/v1/search?text=jokela,%20tuusula&layers=venue

Search 2:
https://api.digitransit.fi/geocoding/v1/search?text=jokela,%20tuusula

Search 1 has lots of additional descriptors in the label '(asutuskohde)' etc, whereas search 2 does not. One would expect the opposite, as unlimited search produces more duplicates.

Assignee

Unassigned

Reporter

Vesa Meskanen

More details from

None

Priority

Medium

Recurrence

At will

User Agent

None

URL

None

Components

Story Points

None

Labels

None
Configure