Im' trying to do this in my label expression:

length($geometry)

but it always returns 0. Is there a way I can do that? I tried getlength() and getLength() as well, without luck.

I know there is the $length which works on the geometry right away, but i am performing a transformation first:

length( transform($geometry, 'EPSG:3857', 'EPSG:3006') )

Hoping anyone can help!

Raymond

_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to