[Qgis-user] Qgis-user Digest, Vol 179, Issue 58

Thayer Young thayeray at yahoo.com
Wed Jan 27 06:15:27 PST 2021


 Hi Krishna,
In the Aggregate tool in the Vector Geometry folder in the Processing Toolbox.Set the 'Group by expression' to "PolygonName" and "Field1" to 'concatenate'.It will not do exactly what you are asking for, but it will combine the contents of "Field1" into a single field separated by the 'delimiter'.You can adjust the details for how the data are grouped. For example if your "Field1" has commas in it, you may want to use something else like a semicolon.The advantage of using this tool is that it is more flexible, for example what if some polygons only have 1 or what if a polygon has 3 or more occurrences? 
-Thayer 
    On Tuesday, January 26, 2021, 11:03:31 AM EST, qgis-user-request at lists.osgeo.org <qgis-user-request at lists.osgeo.org> wrote:------------------------------

Message: 7
Date: Tue, 26 Jan 2021 09:02:36 -0700
From: krishna Ayyala <ayyalakrishna at gmail.com>
To: qgis-user <qgis-user at lists.osgeo.org>
Subject: [Qgis-user] Polygons Dissolve
Message-ID:
    <CADUrCAipsqbuTgoGxJgRxeBkmmN+TnDEnKwBHiuW4dt_LK=Qtw at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

I have a polygons shapefile as shown below.

[image: image.png]

Is it possible to dissolve these polygons and get a resultant shapefile
with an attribute table such as below?i.e. it should have only one
polygonName and all of its associated fields.

PolygonName Field1 Field2
A 1 2
B 3 4
C 5 6
D 7 8
E 9 10
F 11 12
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210126/1d122863/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 26223 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210126/1d122863/attachment.png>

------------------------------  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210127/6c0c4c1b/attachment.html>


More information about the Qgis-user mailing list