add "cai_scale" to tags with upper case values

fixes #8706
This commit is contained in:
Martin Raifer
2021-12-14 15:53:34 +01:00
committed by GitHub
parent 4363bac574
commit fe4f5c9548
+1 -1
View File
@@ -313,7 +313,7 @@ export default {
// A few OSM keys expect values to contain uppercase values (see #3377).
// This is not an exhaustive list (e.g. `name` also has uppercase values)
// but these are the fields where taginfo value lookup is most useful.
var re = /network|taxon|genus|species|brand|grape_variety|royal_cypher|listed_status|booth|rating|stars|:output|_hours|_times|_ref|manufacturer|country|target|brewery/;
var re = /network|taxon|genus|species|brand|grape_variety|royal_cypher|listed_status|booth|rating|stars|:output|_hours|_times|_ref|manufacturer|country|target|brewery|cai_scale/;
var allowUpperCase = re.test(params.key);
var f = filterValues(allowUpperCase);