-
Notifications
You must be signed in to change notification settings - Fork 7
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
area filter computes object area clipped to bpolys #245
Comments
Since the |
good catch, @SlowMo24! I would indeed consider this as a bug (in the OSHDB), and have created GIScience/oshdb#433 for this. |
I think this also affects aggregation endpoints, when you – for example – count features with given length/area properties. These requests would be affected since the filter would not respect the "complete" size of features which intersect the boundary.
IMHO we want filters to be based on the full/unclipped size of the features, regardless of the state of |
sounds good. I suggest to mention this explicitly like: Note that all filter parameters are applied to the original elements while |
FYI: this is already fixed in the oshdb master branch (see GIScience/oshdb#434). We'll wait for a release of the OSHDB to update the documentation here and close this issue. |
regarding the documentation, we might even be more specific and mark ALL post-processing steps as such. E.g. I think the
In addition the order of the post-processing steps needs to be documented. I.e. is the Proposal: The API follows a certain processing workflow:
Would it be possible to explicitely add the |
I'll take a look at it. Could you please open for that a new issue? This issue will be closed when the documentation will be updated. |
Bug Description
The area filter (and possibly the length filter) will compute the area of geometries only within the given area of interest. This is the case even if
clipGeometry=false
. This is not mentioned in the documentation.General Information
1.6.1
https://api.ohsome.org/v1
Please find a Repex here.
Expected Behaviour
All three requests should return the same geometry.
Error Messages
None.
Additional Information
Do we want this behaviour if
clipGeometry=true
?Do we fix this or update the documentation?
The text was updated successfully, but these errors were encountered: