kartoza / GEEST2

Next generation of the GEEST plugin for QGIS
GNU General Public License v3.0
0 stars 1 forks source link

Option to upload data layer #375

Open ClaraIV opened 1 week ago

ClaraIV commented 1 week ago

For each factor we need to provide the option for layer selection/upload in the “show the properties” box. Data Layers might have different names for different users and so it's important to allow the user to choose which data layer should be used for which analytic.

Image

timlinux commented 1 week ago

Just to confirm terminology here, by upload you mean 'Select an existing layer on my hard disk'.

After the user selects a layer, if it is a raster layer we would resample and grid align it so it matches the analysis area and bbox. This resampled product would be stored in our working folder so that we can have neatly organised all of the inputs for aggregation etc.

I think in the case of vector layers we have already various mechanisms planned for them to introduce their data e.g. point/line/polygon rasteriser, point buffers, travel distances. etc.

ClaraIV commented 1 week ago

yes, sorry if I was not clear; the user should be able to navigate to any folder and load the data layer they want to use for that specific factor; right now it's not clear how the layer selection (loading) happens

timlinux commented 1 week ago

This is how I am proposing to approach it @ClaraIV

https://github.com/kartoza/GEEST2/pull/393

image

For each widget that needs a layer we can let the user choose either a layer loaded in QGIS or a shapefile / tiff as appropriate.

I prefer the approach of loading layers from QGIS as the 'best way' to encourage users to work because it: