overpass-turbo
overpass-turbo copied to clipboard
Nodes simply get the last style, even if it doesn't match the text
Here we see nodes simply get the last style (blue), even if it doesn't match the text.

[out:json][timeout:25];
(
node["addr:hamlet"="福興里"]["addr:place"~"民化|福民"](24.16229928036421,120.89020729064941,24.16808437679304,120.89774966239928);
);
// print results
out body;
>;
out skel qt;
{{style:
node[addr:neighbourhood=1鄰],
{ color:red; fill-color:red; }
node[addr:neighbourhood=2鄰],
{ color:blue; fill-color:blue; }
node {
text: addr:housenumber;
}
}}
~~Apparently only stuff that has already been pulled out of the database during the query really is matched on~~. All I know is doing
node[addr:place=民化]
{ color:blue; fill-color:blue; }
node[addr:place=福民]
{ color:red; fill-color:red; }
worked.
Wait, this works just fine... https://overpass-turbo.eu/s/177P Maybe a Unicode issue... No, no variant.