2

I'm working with QGIS 3.16 Hannover and I've got a polygon layer that contains a UTM 10x10 km grid. I've created two relations (many to many) with two csv tables, that contain data on species presence (one for breeding and the other for wintering records) in each UTM cell. When using the info tool in QGIS, I retrieve both lists of species present in that particular cell.

enter image description here

Is it possible to get a, say, text file containing that information (the lists of species)? The more automatically, the better.

2
  • Are you looking for "Layer" -> "Save As..." -> "MS Office Open XML spreadsheet [XLSX]" (or other CSV, ODS format)? Feb 20, 2022 at 10:56
  • 1
    No. Correct me if I'm mistaken, but when selecting a feature and saving it as..., as far as I know, it saves only the attributes of that feature, not including data from relations.
    – jpinilla
    Feb 20, 2022 at 11:16

1 Answer 1

2

A very similar case: square grid (Polish ATPOL) for vegetation analysis with only one field Name:

Let's add a CSV layer of observations which looks like:

And join it to atpol_male layer:

Finally, let's export atpol_male layer:

And check it's content:

2
  • 1
    But, doing what you propose, you'll get the whole set of information: all grid cells and their associate species information, don't you? What I need is only the information referring to the selected cell or cells.
    – jpinilla
    Feb 20, 2022 at 19:18
  • Yes, you are right, @JesúsPinilla. Don't know other way. But you can always filter out required data outside qgis. And to be honest with you, for such spatial analysis I'm a big fan of R :) Feb 20, 2022 at 19:25

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.