GIScience / GIScience/oshdb

Working regular expression filters

Open
#285 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
131
Forks
19
PR merge metrics
No merged PRs in 30d

Description

There's already [_some_ functionality](https://docs.ohsome.org/java/oshdb/0.5.10/aggregated/org/heigit/bigspatialdata/oshdb/api/mapreducer/MapReducer.html#osmTag(java.lang.String,java.util.regex.Pattern)) in the OSHDB to filter by OSM tags using regular expressions. But the current implementation does not work on distributed backends (Ignite) because of the non-serializable nature of connections to the _keytables_ database.

I see two possible ways to go forward:

1. implement a regex -> OSHDBTag matching on the client
2. if #225 is implemented (i.e. the string tables are distributed as well), regexes can be directly matched with the actualy OSM tags on the server

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.