GIScience / ohsome-qgis-plugin

ohsome Qgis plugin
MIT License
6 stars 1 forks source link

Processing algorithm ToDos #59

Closed koebi closed 8 months ago

koebi commented 11 months ago

List of ToDos for the processing algorithms. Not sorted by priority at all.

koebi commented 10 months ago

New ToDos from yesterday's meeting - again not ordered by Priority, but sligthly sorted ;)

Naming/Documentation

Parameter sorting:

Others:

Optional other stuff:

merydian commented 9 months ago

Regarding Elements Aggregation: In the Ohsome docs this is also called "Elements Aggregation". If we should rename it, I would suggest "Feature Aggregation" to follow the QGis nomenclature.

koebi commented 9 months ago

Tagging @mcauer for input here :)

merydian commented 9 months ago

Regarding: Filter/Filter2, in the docs this is also called Filter/Filter2. Maybe add an explanation in the description instead of renaming?

koebi commented 9 months ago

Regarding: Filter/Filter2, in the docs this is also called Filter/Filter2. Maybe add an explanation in the description instead of renaming?

An explanation is a good idea either way. Do you think there are good names that we could replace them by, and then maybe note in the explanation that they're called differently in the docs?

merydian commented 9 months ago

Alright. Maybe "Filter/Filter for ratio" would be an idea. I'd copy the docs explanation and add the comment for the difference in naming?

mcauer commented 9 months ago

In the results you will get

 "ratioResult": [
    {
      "timestamp": "2014-01-01T00:00:00Z",
      "value": 4708,
      "value2": 1022,
      "ratio": 0.217077
    },
    ...

So if we only write "filter/filter for ratio" its not clear from which filter value2 is resulting from. And the ratio is actually the result of devising filter2 by filter.

mcauer commented 9 months ago

Regarding Elements Aggregation: In the Ohsome docs this is also called "Elements Aggregation". If we should rename it, I would suggest "Feature Aggregation" to follow the QGis nomenclature.

So to explain why ohsomeAPI uses Elements and not Features: Features is what "normal" GIS people use when they work with QGIS or PostGIS or GeoJSON. This is related to the "SimpleFeature Access" Specification. Now the OSM Data Model is different and OSM calls those (nodes, ways, relations) Elements --> https://wiki.openstreetmap.org/wiki/Elements

At some point in the pipeline from OSHDB to QGIS the Elements are transformed into Features. So when we do Feature extraction we get Features, but when we do Aggregations we might aggregate things that are not features like turn restriction relations (e.g. dashboard example )

I think people must learn that OSM is different from SimpleFeatures and stick to Elements with reference to the docs

koebi commented 8 months ago

fixed in #58