Someone corrects me If I'm wrong. On Mon, Mar 30, 2015 at 1:07 PM, Junior Delaz <del...@gmail.com> wrote: > > By the way, can someone explain me why for some functions (attribute, > getFeature), you need to use simple quote for the fields and double > quotes when using other functions ? >
Because in the expression calculator, whenever you use the double quotes, it will be evaluated before and it will return the value stored inside the feature's attribute. But for some functions, like attribute(), one of the arguments is a string with the name of the attribute itself, and not his value. Best regards, Alexandre Neto
_______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user