<div dir="ltr">The best of two (but there would be a bit of overhead for the algorithm): set them to null as soon as two different values are found, keep the first encountered value otherwise (all the features with same value).<div><br></div><div>giovanni<br><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-06-28 10:16 GMT+02:00 Anita Graser <span dir="ltr"><<a href="mailto:anitagraser@gmx.at" target="_blank">anitagraser@gmx.at</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Wed, Jun 28, 2017 at 9:53 AM, Nyall Dawson <span dir="ltr"><<a href="mailto:nyall.dawson@gmail.com" target="_blank">nyall.dawson@gmail.com</a>></span> wrote: <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Incidentally - how should we handle attributes here (and other similar<br>
algorithms)? Take the first feature's attributes? Drop all attributes?<br><br></blockquote><div><br></div></span><div class="gmail_default" style="font-size:small">​I would take the first feature's attributes because I've seen multiple times that input datasets for aggregation algorithms (such as hulls, dissolve, ...) are prepared in a way that the result represents a certain class, e.g. all points where column "type" value is 'tree'. Why should we delete the 'tree' value then ... ​</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Best wishes,</div><div class="gmail_default" style="font-size:small">Anita</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div><br></div></div>
<br>______________________________<wbr>_________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br></blockquote></div><br></div>