[Qgis-user] When Measure Tool can return meters nomatter CRS why can't Field Calculator?

Nyall Dawson nyall.dawson at gmail.com
Sat Oct 24 14:54:33 PDT 2015


On 25 Oct 2015 07:44, "magerlin" <MAP at ramboll.dk> wrote:
>
> To get meters from $length in field calculator the layer or project CRS
(if
> OTF is on) has to use the unit meters.
>
> But the Measure Tool can return meters nomatter CRS, so why can't Field
> Calculator?

No reason, except that no one's implemented/fixed this yet.

Nyall

>
> Or rather shouldn't there be a $length(unit) function? (for meters, feet,
> nautic miles etc.)
>
> I can't think of any situation, where a length expressed in degrees is
> usable?
>
> I have searched Grass, OGR and SAGA in Processing but have not been able
to
> find any algorithms returning meters there either?
>
> The might be an issue on accuracy, but if that is just stated I think we
can
> live with that?
>
>
>
> -----
> Regards Morten
>
> Currently using Qgis 2.10.1 (OSGeo4),
> Windows 7, 64bit
> --
> View this message in context:
http://osgeo-org.1560.x6.nabble.com/When-Measure-Tool-can-return-meters-nomatter-CRS-why-can-t-Field-Calculator-tp5232383.html
> Sent from the Quantum GIS - User mailing list archive at Nabble.com.
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20151025/e1566643/attachment.html>


More information about the Qgis-user mailing list