Browse Source

CategoryOverpass: special filter operator 'has_key_value'

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

7
src/CategoryOverpass.js

@ -164,8 +164,15 @@ function CategoryOverpass (options, data) {
}
if ('op' in d) {
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