[Qgis-user] How to change number in all features with field calculator

Philip Pierdomenico ppierdo at gmail.com
Wed Feb 10 06:08:14 PST 2016


Select all the records that have -99999997.  Then open field calculator,
check the box for "Only update selected features" and "Update existing
field" and enter the expression toint(0).


Phil


On Wed, Feb 10, 2016 at 8:13 AM, Willem Korevaar <wereldvak at gmail.com>
wrote:

> I have a attribution table with multiple rows . I want to replace a number
> --99999997 to '0'  (=zero) for the whole of the attribute table. I have
> used the expression - case when   "P_ANT_ARU"  is  -99999997  then '0' else
>    "P_ANT_ARU"  end -  for every feature but I wonder if there a faster way
> to use in the field calculator to get rid of -99999997.
>
> Willem Korevaar
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20160210/f6126568/attachment.html>


More information about the Qgis-user mailing list