[Qgis-user] Group Statistics Tool

Nicolas Cadieux njacadieux.gitlab at gmail.com
Sun Jul 18 08:58:08 PDT 2021


Hi,

I do you have multipolygons in your input files?  If not, perhaps the multipolygon is being created because both polygon have the same ID, A.  Try creating a unique id field to see what is going on.  A multipolygon or multipart object will contain multiple polygons but only one data line in the data table. You can split multipolygon with a «multiple to single »tool found in the vector menu.

Nicolas Cadieux
https://gitlab.com/njacadieux

> Le 17 juill. 2021 à 20:56, krishna Ayyala <ayyalakrishna at gmail.com> a écrit :
> 
> 
> Hello,
> I have a polygon shape file with an attribute table as shown below.
> 
> <image.png>
> 
> 
> I am using the Group stats tool to derive only those rows that have max area for each polygon. After clicking calculate, I got the results below. In the below window. I have selected the first row which A 60. I clicked "Features" and then "Show selected on map" . Technically, it is supposed to highlight only one polygon which is A with an area 60 on the map. But is highlighting both the polygons i.e..A with an area 60 and also A with an area 30. Is there a way to select only the polygon A with an area 60?
> 
> <image.png>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210718/d45fff75/attachment.html>


More information about the Qgis-user mailing list