[Qgis-user] How to use fieldpycalculator plugin?

simbamangu simbamangu+osgeo at gmail.com
Sat Sep 29 02:12:43 PDT 2012


Thank you* - seem to have figured out how to get it working:Tick the 'Global
expression' box and enter the 'import' lines needed - this runs the lines of
code once before the field calculator expression runs. Thus:In the 'Global
expression' box:    import timeAnd in the 'Field expression' box:    value =
time.strftime("%Y-%m-%d")Gives "2012-09-29" in the selected column.* and
thanks also to GTranslate - awesome to be able to access resources in other
languages.



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-use-fieldpycalculator-plugin-tp5005298p5005301.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20120929/7c96536d/attachment.html>


More information about the Qgis-user mailing list