[Qgis-user] results Measure Tool vs. length()

Springfield Harrison stellargps at gmail.com
Thu May 17 17:51:31 PDT 2018


Interesting and alarming observation.

And how do those results compare with output from the $length variable?

Cheers . . . . .   Springfield
Samsung Tab 4
On May 17, 2018 5:26 AM, "Michel Stuyts" <michel.stuyts at edegem.be> wrote:

> In the length() function QGIS uses the CRS unit of the layer to calculate
> the result. When I use for example a layer in a local CRS like EPSG:31370
> or EPSG:5439 and a layer in EPSG:3857 (that all use meters as unit) the
> results are very different (+40% difference). Changing the project CRS
> makes no difference. When I check the length using the Measure Tool the
> results are very similar to the local CRS.
>
>
>
> How can I measure the length of a line and use it as a label independent
> from the layer CRS and get results similar to the results of the Measure
> Tool?
>
>
>
> Michel
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20180517/9fd62a89/attachment.html>


More information about the Qgis-user mailing list