Skip to content
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

Option to upload data layer #375

Open
ClaraIV opened this issue Oct 4, 2024 · 3 comments
Open

Option to upload data layer #375

ClaraIV opened this issue Oct 4, 2024 · 3 comments
Assignees

Comments

@ClaraIV
Copy link

ClaraIV commented Oct 4, 2024

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
Copy link
Contributor

timlinux commented Oct 6, 2024

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
Copy link
Author

ClaraIV commented Oct 7, 2024

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 timlinux self-assigned this Oct 7, 2024
@timlinux
Copy link
Contributor

timlinux commented Oct 9, 2024

This is how I am proposing to approach it @ClaraIV

#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:

  • will let us work with all data formats (web services, databases, gpkg etc.)
  • will let us filter just the valid layer types (e.g. point layers only)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants