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

2015-10-24 Thread magerlin
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? Or rather shouldn't there be a $length(unit) function? (for meters, feet, nautic miles etc.) I

Re: [Qgis-user] [SPAM] Unit of length determined by layer or project CRS? (OTFon)

2015-10-24 Thread Piotr Kania
Hi! Try Quick map Services plugin- I use it in my project with local Polish crs (epsg 2180) and everything works-units are meters, measure tools and calculations made with field calculator are correct, in project settings I had to set: crs on the fly, than I could choose epsg 2180. 24 paź

Re: [Qgis-user] [SPAM] Unit of length determined by layer or project CRS? (OTFon)

2015-10-24 Thread magerlin
Hi Piotr Thanks for your answer - It seems like the Quick map Services plugin is a little better then OpenLayers plugin at showing maps in other projections than the default and using a "local" metric projection I can get lengths in meters using field calculator. But since I am going to work

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

2015-10-24 Thread Nyall Dawson
On 25 Oct 2015 07:44, "magerlin" 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

[Qgis-user] Unit of length determined by layer or project CRS? (OTF on)

2015-10-24 Thread magerlin
I am a bit confused about what the unit of length is determined by: CRS for layer or CRS for project (when OTF is on). This post claims: "Calculations are in the project CRS unit if