-
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
ohsome filters #253
ohsome filters #253
Conversation
2ba1c9f
to
64dc7a7
Compare
a8d1441
to
0ff1942
Compare
this should be ready to be tested now. only open question from my side would be if we should update the documentation and examples now, or during the release of v0.6? |
39893d8
to
ba6d9c4
Compare
(fixes a bug in implementation of ohsome filter)
ba6d9c4
to
b82dadd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good apart from some smaller issues. I suppose the tests cover all important units and cases, that are not yet already tested in the ohsome filter library.
What's with the example/benchmark checkpoint? Is this still an open TODO?
oshdb-api/src/main/java/org/heigit/bigspatialdata/oshdb/api/mapreducer/MapReducer.java
Outdated
Show resolved
Hide resolved
oshdb-api/src/main/java/org/heigit/bigspatialdata/oshdb/api/mapreducer/MapReducer.java
Outdated
Show resolved
Hide resolved
oshdb-api/src/main/java/org/heigit/bigspatialdata/oshdb/api/mapreducer/MapReducer.java
Outdated
Show resolved
Hide resolved
oshdb-api/src/main/java/org/heigit/bigspatialdata/oshdb/api/mapreducer/MapReducer.java
Show resolved
Hide resolved
Would you redo the documentation and examples totally for the next release? If yes, I think we can do that until then. If you only want to add something about ohsome filters, why not add this within this PR? |
Co-authored-by: Johannes Visintini <johannes.visintini@heigit.org>
that was mean more like a question to you guys. I guess we can leave it as is and rework the examples & benchmark at a later time: they do still work with the "old" syntax ( |
That's also a somewhat open question. IMHO we can leave it as is (the new filter is documented as a variant/option in this PR), and maybe redo the whole documentation for the release after the next (and maybe also deprecate the "old" filters in that process as well) |
a7de165
to
5a404cc
Compare
I would say we redo the documentation separately at least for the 1.0 version. @tyrasd do you want to create an issue for that? |
Allows to use an ohsome filter directly in an oshdb query:
mapReducer.filter("amenity=bench and type:node or leisure=park and geometry:polygon");
. This includes the optimizations implemented in the ohsome-api.todo:
Changes proposed in this pull request:
Type of change
New or changed dependencies:
Checklist
🚧 wip 🚧