Thanks for the suggestion, Giovanni Not sure now about that, i should change the Processing modules that use that function, but I guess it can probably be changed.
My plans (once i have a bit more of spare time) are to document all those utilities in detail, add new ones and move them to core (like the current qgis.utils module), so they can be used by other plugins without refering to Processing. Also, I would like to move the documentation from the processing manual to the cookbook, having a chapter dedicated to all those common methods that can be useful for plugin developers. As I said, I do not have much time now, but I hope to have some more spare time soon Thanks! 2013/10/31 G. Allegri <[email protected]>: > 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 _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
