TransWikia.com

Calculating frequency of polygon types overlapping coordinate point

Geographic Information Systems Asked by Eric Jorda Molina on December 22, 2020

I have shapefiles of sea ice coverage for multiple days of the year. At each time-point (day) the sea ice is split into different polygons which corresponds to different ice types (i.e. fast ice, consolidated ice, etc). I have four coordinate points and I would like to obtain the frequency or the counts of the different polygon types occurring at those specific coordinates along the whole year.

Is there a way to do this in QGIS?

One Answer

This approach is probably tedious -- not recommended if there is another way.

(1) "Split Vector Layer" tool to split the original layer to 6 layers as per the type of ice.

(2) Run Union tool (in the Processing Toolbox > Vector geometry) to divide polygons at overlaps.

enter image description here

(3) This returns a new layer 'Union'. As the attribute table of 'Union' shows only the original polygon id, we need to calculate counts by an expression count("id", group_by:= geom_to_wkt($geometry)).

enter image description here

(4) Lastly, activate Identify Features tool and click on your observation point to find the counts.

enter image description here

(5) Problem is, you have to repeat above process 6 times (for whole ice classes)... ...

Answered by Kazuhito on December 22, 2020

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