[Qgis-developer] Wrong $length

Werner Macho werner.macho at gmail.com
Wed Dec 24 09:26:19 PST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Paolo!
I confirm the behavior with negative and positive value.
But I also expired some kind of infinite loop when updating existing
or creating new (not virtual) field.
Seem to be some kind of error when _not_ using virtual field.
Which is the correct length? Do you know? Probably both results are
wrong (which would be ok if the line has an error inside anyway, but
in that case it should also throw an error to a popup window).

kind regards
Werner



On 12/24/2014 02:37 PM, Paolo Cavallini wrote:
> Hi all. The calculation of $length on the attached file returns
> weird results: when calculated as virtual field is ok, whereas when
> updating an existing field a negative result is given. I assume
> this is related to topological errors in the line, but nevertheless
> the diff between the two methods is unexpected. Furthermore,
> "Update all" does not seem to work on a column where sorting is
> applied (by clicking on column head). Anyone confirms? Should I
> open two tickets? Thanks.
> 
> 
> 
> _______________________________________________ Qgis-developer
> mailing list Qgis-developer at lists.osgeo.org 
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)

iEYEARECAAYFAlSa9zsACgkQDAH1YiCxBglfFACeIW3Ry5oEiNfNVSb7mtSV4mQc
GCEAn3NcpDOF0Ou+Sk1A68dvP15e5fSW
=CTF5
-----END PGP SIGNATURE-----


More information about the Qgis-developer mailing list