Friday 2 August 2019

QGIS calculates main soil type of polygons from another polygon layer


I've been working with qgis for a while but somehow I never fiured this out, so I thought it's time to ask.


I have 2 shapefiles.




  1. a polygon layer from nearby fields (SHAPE1 (the red outlines))

  2. a polygon layer, with different polygons than SHAPE1, that has soiltypes as an attribute (sand, clay etc.) (SOIL (the funky disco colors, each color represents a different soil type)


What I want to find out is what the main soiltype for each polygon in SHAPE1 is. (preferably by adding a field to SHAPE1 with the attribute from SOIL)


Is this possible?


enter image description here




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...