GIScience / GIScience/oshdb

Improve ContributionType checking

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

Description

### Problem Description

Disclaimer: This issue may be based superseded or incomplete knowledge.

AFIK the computation of the `ContributionType.GEOMTRY_CHANGE` is computation intensive. That's why, if you are not interested in that type, you should use the `OSMContribution.is(ContributionType contributionType)` method instead of `getContributionTypes()`.

Yet, this method cannot check for empty `ContributionType` and as https://github.com/GIScience/oshdb/issues/113 was unfortunately closed, I will still have to check for `GEOMTRY_CHANGE` to filter empty contribs.

### Expected Solution

Add a method to check for empty `ContributionType`.

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.