﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
18085	[PATCH] Add method to get unique values in mapcss	taylor.smock	team	"Lets say you want to compare ref tags from a way to ref tags in the parent relations.

If the way has `ref=A9`, `int_ref=A9`, and the parent relation has `ref=A9`, then a simple comparison will not work.

Example code:
{{{
#!mapcss
  relation[type=route][route=road][ref] > way[ref][!regexp_test(concat(""^("", join_list(""|"", uniq_list(split("";"", join("";"", tag_regex(""ref"")))), ""|;?)+$""), join_list("";"", uniq_list(sort_list(parent_tags(""ref"")))), ""i"")] {
    throwError: tr(""Parent ref not in child ref"");
  }
}}}

Notes on the sample mapcss code: It does not check to make certain that all parent refs are relevant to standard ref tagging schemes on ways (e.g., if the way is part of a tram route with a ref, it will trigger, even though most of the time tram route refs are not on the highway)."	enhancement	closed	normal	19.09	Core mappaint		fixed	mapcss	
