Hello,
I try to create a new shapefile AreaShape, from an existing shapefile, grouping the AreaShapes depending on Feature.ColumnValues.
Like this:
ORIGINAL SHAPEFILE 
------------------
ID DEP    SECTION     NO
1   99        AB                  1
2   99        AB                  2
3   99        AB                  3
4   99        AC                  1
5   99        AC                  2
OUTPUT SHAPEFILE
----------------
ID DEP    SECTION
1   99        AB
2   99        AC
 I plan on creating an InMemoryLayer with:
 - New AreaShapes created using AreaBaseShape.Union
 - The ColumnValues copied from the base shapefile.
 Then how to save the InMemoryLayer in a shapefile?
 or may be, there is a simpler way ...
Thank you for your help.