[Qgis-user] Working with field calculator on QGIS 1.8.0

Manuel Spínola mspinola10 at gmail.com
Thu Jul 5 08:26:41 PDT 2012


Dear list members,

I am using the field calculator in 1.8.0 (Mac OS)

I am creating a new field (column) called NEW_COVER and I want to assign a
value of 1 to the value A of the existing field (column) Cover and 0 to the
value B.

Field: Cover
Values: A, B


In the Expression window I have:

'A' = 1

But when I click OK, I don't get the result that I was expecting, to have a
value 1 on the new field NEW_COVER.

What I am doing wrong?

Best,

Manuel

-- 
*Manuel Spínola, Ph.D.*
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspinola at una.ac.cr
mspinola10 at gmail.com
Teléfono: (506) 2277-3598
Fax: (506) 2237-7036
Personal website: Lobito de río <https://sites.google.com/site/lobitoderio/>
Institutional website: ICOMVIS <http://www.icomvis.una.ac.cr/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20120705/f6454360/attachment.html>


More information about the Qgis-user mailing list