ohsome-filter merge requestshttps://gitlab.gistools.geog.uni-heidelberg.de/giscience/big-data/ohsome/libs/ohsome-filter/-/merge_requests2020-08-21T13:03:22Zhttps://gitlab.gistools.geog.uni-heidelberg.de/giscience/big-data/ohsome/libs/ohsome-filter/-/merge_requests/10implement id filter2020-08-21T13:03:22ZMartin Raifermartin.raifer@heigit.orgimplement id filtercurrently implemented:
* [x] `id:123`
* [x] ~~`id in (1,2,3)`~~ `id:(1,2,3)`
* [x] ~~`id in (1..3)`, `id in (..3)`, `id in (1..)`~~ `id:(1..3)`, `id:(..3)`, `id:(1..)`
eventually closes #2currently implemented:
* [x] `id:123`
* [x] ~~`id in (1,2,3)`~~ `id:(1,2,3)`
* [x] ~~`id in (1..3)`, `id in (..3)`, `id in (1..)`~~ `id:(1..3)`, `id:(..3)`, `id:(1..)`
eventually closes #2version 1.2Martin Raifermartin.raifer@heigit.orgMartin Raifermartin.raifer@heigit.orghttps://gitlab.gistools.geog.uni-heidelberg.de/giscience/big-data/ohsome/libs/ohsome-filter/-/merge_requests/14handle empty strings as empty "NOP" filters2020-08-21T12:36:54ZMartin Raifermartin.raifer@heigit.orghandle empty strings as empty "NOP" filtersfixes #4fixes #4version 1.2https://gitlab.gistools.geog.uni-heidelberg.de/giscience/big-data/ohsome/libs/ohsome-filter/-/merge_requests/1implement key in (list of values) filters2020-08-19T11:18:00ZMartin Raifermartin.raifer@heigit.orgimplement key in (list of values) filtersimplements `key in (list, of, values)` selector. For example: `highway in (primary, secondary, tertiary) and type:way`.
todo / open points:
* [ ] implement parsing of its negation? `key not in (list, of, values)`
* [ ] implement negated...implements `key in (list, of, values)` selector. For example: `highway in (primary, secondary, tertiary) and type:way`.
todo / open points:
* [ ] implement parsing of its negation? `key not in (list, of, values)`
* [ ] implement negated list variant(??) `key not (list, of, excluded, values)` (would be equivalent to `key=* and not key in (list, of, excluded, values)`), could be useful for queries like `building not ("no")` //edit: maybe an alternative, more clear, syntax would be `key = * excluding (list, of, excluded, values)`
* [ ] unify with `=` selector, so one could just write `key=(list,of,tags)`?version 1.2