<div dir="ltr"><div>Hi Michael,<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 15 Mar 2024 at 20:00, Michael Barton via grass-dev <<a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>
Any suggestions about what is wrong with either of the versions of this dissolve command?
<div><br>
</div>
<div>
<div>v.dissolve --overwrite input=alcala_subsectors@SAA2024 column=ID output=alcala_subsectors_dissolved@SAA2024 aggregate_columns=group_concat(REGION),max(STRATUM),max(SECTOR),avg(SUBSECTOR),group_concat(SECTOR_ID),sum(AREA),group_concat(SURVEYED),avg(IDNUM)
 result_columns="region TEXT,stratum INTEGER,sector INTEGER,subsector REAL,sector_ID TEXT,area REAL,surveyed TEXT,IDnum REAL"</div></div></div></blockquote><div><br></div><div>What I can say based on this command is that the equivalent command from the manual page for NC SPM sample dataset works both in terminal and GUI (and a similar one runs through Python in CI). So, a minimal reproducible example would be needed.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>
<div>
</div><div>In both cases, I get the error: </div>
<div>Option <result_columns> requires all of <aggregate_columns> <br></div></div></div></blockquote><div><br></div><div>However, perhaps this will help: This message comes from the command line parser. This means that the parameter validation fails even before this hits any of the code specific for v.dissolve. This is the parser simply reading and enforcing the line "requires_all: result_columns,aggregate_columns" which says if result_columns is provided, aggregate_columns must be provided too. Given that the parser does not go beyond checking the presence of parameters here, it is highly unlikely that specific data would trigger an issue. So, maybe double check your inputs before creating a minimal reproducible example.</div><div><br></div><div>Best,</div><div>Vaclav<br></div></div></div>