hi,

If your field is recognized by QGIS as a string one, trying to overwrite
its values type will fail as they are intended to be string in THIS field.
This is why when you create a new numeric field and make conversion, it's
ok (this new field expect numeric values, so it'll recognize your
conversion).

2015-03-10 18:08 GMT+01:00 Matteo Ghetta <matteo.ghe...@gmail.com>:

> Hi all,
> I have a filed made up by numeric values but recognized as text (should be
> a WFS issue and not a QGIS problem).
> I've used the 'toreal' function of the field calculator in order to update
> the field but nothing changed (numbers are still read as text).
> Strange is that if I create a new field using the 'toreal' function,
> values are correctly read as numbers and not as text.
>
> Am I missing something or can be a bug?
>
> BTW: debian testing and QGIS 2.8.1
>
> Cheers
>
> Matteo
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to