-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSHEntity Filter #274
Comments
I think #253 would solve this, actually, at least to some extent: It provides a more flexible method to inject more complex filters than what is currently possible (and IMHO a more elegant interface than to just provide more use-case specific filter methods): ….filter(new Filter() {
@Override
public boolean applyOSM(OSMEntity entity) {
return true;
}
@Override
public boolean applyOSH(OSHEntity entity) {
return setOfAllowedIds.contains(entity.getId());
}
@Override
public FilterExpression negate() {
return null;
}
})… //edit: with something like https://gitlab.gistools.geog.uni-heidelberg.de/giscience/big-data/ohsome/libs/ohsome-filter/-/issues/14 this would be even more elegant: ….filter(Filter.byOSHEntity(entity -> setOfAllowedIds.contains(entity.getId())))… |
This sounds great 🎉 and #253 seems nearly finished (judging by the checkboxes). When will it get merged? |
when ohsome-filter v1.4 is ready and published. could be soon |
this is great! |
Currently to get non-region-related contribution information (user specific (#170 ), changeset specific, object specific etc.) creates a large overhead of contribution objects, that are then only later filtered in the MapReduce-pipeline. Implementing
GridOSHEntity
andOSHEntity
filters would reduce computation and memory cost for e.g. user or object based analyses, especially when the area of interest is large.Would partly address #254 .
The text was updated successfully, but these errors were encountered: