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] 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.
giovanni [1] https://github.com/qgis/QGIS/blob/master/python/plugins/processing/tools/vector.py#L137 [2] http://www.qgis.org/en/docs/user_manual/processing/console.html#additional-functions-for-handling-data -- Giovanni Allegri http://about.me/giovanniallegri blog: http://blog.spaziogis.it GEO+ geomatica in Italia http://bit.ly/GEOplus
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
