Browse Source

CategoryOverpass: special filter operator 'has_key_value'

master
parent
commit
c17724927e
  1. 9
      src/CategoryOverpass.js

9
src/CategoryOverpass.js

@ -164,7 +164,14 @@ function CategoryOverpass (options, data) {
}
if ('op' in d) {
v.op = d.op
if (d.op === 'has_key_value') {
v = {
key: data[k],
op: 'has_key'
}
} else {
v.op = d.op
}
}
this.additionalFilter.push(v)

Loading…
Cancel
Save