Re: [Qgis-user] field calculator and query: asking help for faster solution!!!

2016-11-15 Thread Azzurra Lentini
Dear Claas yes thanks a lot.. it is working. and thanks to all for the answers. Azzu 2016-11-15 22:12 GMT+01:00 Claas Leiner : > > You can do ist with: > > -- > case > when “DESCRIPTION” = 'sample1' then 1 > when “DESCRIPTION” = 'sample2' then 2 > ... > w

Re: [Qgis-user] field calculator and query: asking help for faster solution!!!

2016-11-15 Thread Claas Leiner
You can do ist with: -- case when “DESCRIPTION” = 'sample1' then 1 when “DESCRIPTION” = 'sample2' then 2 ... when “DESCRIPTION” = 'sample25' then 25 end -- Claas Am 15.11.2016 um 21:51 schrieb Azzurra Lentini: Dear

Re: [Qgis-user] field calculator and query: asking help for faster solution!!!

2016-11-15 Thread Bernd Vogelgesang
Sorry, I still have no idea what your data looks like and what you like to achieve. Cheers Bernd Am 15.11.2016, 21:51 Uhr, schrieb Azzurra Lentini : Dear all, I have an attribute table (associated to a shape file). One of the field is a string type field and his name is “DESCRIPTION” ,