Skip to content

Feature wish: Semi-colon value separator support #6

@Nudin

Description

@Nudin

According to API 0.6 nodes with several functions – for example pub and cafe – should be tagged as key=tag1;tag2 in this example it's amenity=pub;cafe.¹

If I search the XAPI for amenity=pub I won't find the points tagged as mentioned. To get them I've to search for amenity=pub;cafe – but because I can't search for all combination it is impossible to get all objects taged as for example pub.

I propose having the following syntax added for this:
…/api/0.6/[key~tag1] => bringing all objects with tag1 mentioned in the key
whereas
…/api/0.6/
[key=tag] => still behaves as in the past.

Alternatively you could also allow wildcards in an search: …/api/0.6/_[key=_tag1*]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions