[GRASS-dev] area measurements

Vincent Bain bain at toraval.fr
Sun Jan 5 07:14:30 PST 2014


Le dimanche 05 janvier 2014 à 08:42 -0500, Anna Petrášová a écrit :
> 
> Vincent,
> 
> On Sun, Jan 5, 2014 at 5:19 AM, Vincent Bain <bain at toraval.fr> wrote:
>         Hi Anna,
>         
>         I just tested on r58611. Unfortunately it fails :
> 
> 
> could you try m.measure separately? Launch it from gui command line or
> menu so that you have the interactive adding coordinates from map
> display. Could you post the result of m.measure with and without -g
> flag?

Yes, here it is with four points describing a 1 km side square :

m.measure
coordinates=922000,2106000,923000,2106000,923000,2107000,922000,2107000
units=meters
Length:  3000.000000 meters
Area:    1000000.000000 square meters

m.measure -g
coordinates=922000,2106000,923000,2106000,923000,2107000,922000,2107000
units=meters
units=meters,square meters
length=3000.000000
area=1000000.000000

Having a closer look at my PROJ_UNITS file, I noticed unit was set to
"metre" and units was set to "metres". I tried to change these values to
"meter" and "meters". And now it works just fine.

I can't say when and how one can tweak this variable.
Do you think this enhancement could be easily backported to 6.4 ?

Yours,
V.




More information about the grass-dev mailing list