<div dir="ltr"><div><div><div>Hi,<br><br>I need to write QGIS script, which removes features with same value of specific attribute - in output will be only features with first occurrence of value. I know, how to check duplicity, but I don't know, how properly create output from my script, when I need it to use in graphical modeler.<br><br></div>Also, what is the best way to get inputs into the script? I am beginer in QGIS scripting, but I noticed that the basic scripts deal with inputs differently than any downloaded user scripts (which follow this documentation: <a href="https://docs.qgis.org/2.6/en/docs/user_manual/processing/scripts.html">https://docs.qgis.org/2.6/en/docs/user_manual/processing/scripts.html</a>).<br><br></div>Thanks for any advice.<br></div>Dominik<br></div>