TransWikia.com

Joining attributes by location for more than one located feature using QGIS

Geographic Information Systems Asked on January 6, 2021

In the standard join attributes by locationfeature in QGIS 2.0/2.18, there are two options:

  • Take attributes first located feature
  • Take summary of intersecting features

Is there a function in QGIS that allows to take attributes of more than located feature?

That is, to get ALL qualitative values the polygons that intersect/overlap. With an attribute column for the value of the first located feature, another for the second located feature, etc. This should work in cases where located features can overlap (e.g. species habitat polygons where more than one species can occupy the same location) but the original polygon onto which we want attributes of the second layer has spatially separate polygons (e.g. watersheds from which we want to know which species are present).

In my case here: I am working with one polygon shapefile from which I want to obtain the attributes for another polygon shapefile. According to the output from the summary of intersecting features, there are a total of up to seven intersecting features for a given polygon in the file I want to join to.

It seems that it is not possible in QGIS given the comments but it would be good to confirm. I may make a feature request.

2 Answers

It is now part of the standard options in QGIS 3.0 to join to more more than located feature. Many thanks to the developers that added this feature in the new release.

In the French version, the options under Joindre les attributs par localisation:

-Type de jointure

-Créez une entité distincte pour chaque entité située

enter image description here

Correct answer by user3386170 on January 6, 2021

I would suggest a clip operation, with the ID/some unique number of source polygon.

Answered by sudheesh on January 6, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP