oshdb icon indicating copy to clipboard operation
oshdb copied to clipboard

Ratio functionality

Open SlowMo24 opened this issue 5 years ago • 3 comments

opened by @nb152

In our last osm data quality meeting, we realized that it would be useful to able to calculate the ratio between two groups of objects e.g. the ratio between residential roads ("highway"="residential") and all roads ("highway"). Right now one would have to make two separte queries to the oshdb and subsequently calculate the ratio.

Please see multiple comments at https://gitlab.gistools.geog.uni-heidelberg.de/giscience/big-data/ohsome/oshdb/issues/147

SlowMo24 avatar Mar 07 '19 16:03 SlowMo24

Maybe you should not only copy-paste the same text without any additional information to it (apart from the link). I was just starting to write (again), that it is already implemented within the ohsome API through a single request to the OSHDB 😄

FabiKo117 avatar Mar 08 '19 08:03 FabiKo117

It is not possible to move issues between GitLab and GitHub ergo: "Please see multiple comments..." If this is already implemented please merge the feature or close the issue.

SlowMo24 avatar Mar 08 '19 09:03 SlowMo24

The direct moving of issues was not what I mean. I was mistaking the message of @nb152 as your message. Maybe making it more clear through adding something like "opened by @nb152 who stated: In our last osm..." would make it more clear to avoid such confusions ;-)
As I said it is implemented in the ohsome API and not in the OSHDB. I am happy to provide any feedback and help on the transformation of the code.

FabiKo117 avatar Mar 08 '19 09:03 FabiKo117

This is handled in the ohsome API.

Hagellach37 avatar Oct 20 '22 12:10 Hagellach37