2

In QGIS 2 graphical modeller I had an input parameter 'Table' for spreadsheets, CSV etc. with no geometry. By now, I'm re-creating all my existing QGIS 2 models from scratch (cp. Using QGIS 2.x processing model in QGIS 3.0?) and miss this input parameter 'Table' in QGIS 3.

What should I use instead?

4
  • What kind of algorithms do you use? The Vector Layer parameter lets you select loaded layers with no geometry (e.g. csv files). You could then couple this with the Vector Field to select columns from your table which could then be used for some algorithm such as Create points layer from table.
    – Joseph
    Commented Sep 19, 2018 at 10:05
  • @Joseph perhaps you remember gis.stackexchange.com/questions/277373/… (formula is still secret...) Table was the input to a custom script, which returned the value of a certain attribute of the only record in my table. It would be no big deal to rewrite this script for vector layer input, but according to some posts here processing scripts in QGIS 3 seem to have lost their straightforwardness somehow compared to QGIS 2 (cp. gis.stackexchange.com/questions/282773/…) Commented Sep 19, 2018 at 10:27
  • I just saw that there is a well documented processing script template, I'm going to try it this way... Commented Sep 19, 2018 at 10:34
  • what about the 'File/Folder' input type? This actually has a filter to specify CSV, so perhaps this is the way to go? (QGIS 3.18 mind you).
    – nr_aus
    Commented Mar 1, 2022 at 2:44

1 Answer 1

1

Use Vector Layer with geometry type "Geometry not required"

enter image description here

1
  • Yes it's working, but it's not ideal. It's not showing only tables in the dropdown menu. There is still other vector layers.
    – etrimaille
    Commented Sep 27, 2021 at 19:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.