<div dir="ltr">I've ntoiced that the utility method "values(layer,*fields)" returns only numeric values, while in case a string is found it returns None. It happens because a float cast is used [1]<div>Is it a requriements for other parts of the Processing pframework? In case it should be documented, because the docs [2] don't tell about this restriction.</div>
<div><br></div><div>giovanni</div><div><br></div><div>[1] <a href="https://github.com/qgis/QGIS/blob/master/python/plugins/processing/tools/vector.py#L137">https://github.com/qgis/QGIS/blob/master/python/plugins/processing/tools/vector.py#L137</a></div>
<div>[2] <a href="http://www.qgis.org/en/docs/user_manual/processing/console.html#additional-functions-for-handling-data">http://www.qgis.org/en/docs/user_manual/processing/console.html#additional-functions-for-handling-data</a><br>
<div><div><div><br></div>-- <br>Giovanni Allegri<br><a href="http://about.me/giovanniallegri" target="_blank">http://about.me/giovanniallegri</a><br>blog: <a href="http://blog.spaziogis.it" target="_blank">http://blog.spaziogis.it</a><br>
GEO+ geomatica in Italia <a href="http://bit.ly/GEOplus" target="_blank">http://bit.ly/GEOplus</a>
</div></div></div></div>