[Qgis-user] update string attributes in shapefile with field calculator

maning sambale emmanuel.sambale at gmail.com
Sun Jun 27 23:20:00 PDT 2010


Thanks micha!

On Mon, Jun 28, 2010 at 1:10 PM, Micha Silver <micha at arava.co.il> wrote:
> On 28/06/2010 07:15, maning sambale wrote:
>>
>> I know this is easy in GRASS and postgis data.  The thing is, I want
>> to do this in a shapefile using the fielad calculator.
>>
>>  Basically,
>> if columnA = "Some string" , assign "another string" to columnB.
>>
>>
>> Any ideas?
>>
>
> In two steps: First select the rows with ColumnA="Some String". Then using
> the field calculation, tick the ckeckbox "Only update selected " then enter
> 'another string' (single quotes) in the calculator expression window.
>
> --
> Micha
>



-- 
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
------------------------------------------------------



More information about the Qgis-user mailing list