[GRASS-dev] [GRASS GIS] #2417: r.profile should report distance in location units

GRASS GIS trac at osgeo.org
Mon Sep 15 01:05:41 PDT 2014


#2417: r.profile should report distance in location units
--------------------------------+-------------------------------------------
 Reporter:  annakrat            |       Owner:  grass-dev@…              
     Type:  enhancement         |      Status:  new                      
 Priority:  normal              |   Milestone:  7.1.0                    
Component:  Projections/Datums  |     Version:  svn-trunk                
 Keywords:  r.profile, units    |    Platform:  All                      
      Cpu:  Unspecified         |  
--------------------------------+-------------------------------------------

Comment(by mlennert):

 Replying to [ticket:2417 annakrat]:
 > r.profile reports the length in meters no matter which units the current
 location uses. It would be better if it could report it in the current
 units.

 The attached patch is a very simple attempt to use location units. I don't
 have time right now to revert the GUI profile tool changes to check
 whether this solves the problem, but at least with this patch distances
 are in location units.

 The question is whether this should be the default behaviour of r.profile,
 or whether this should be only activated when a flag is set.

 Moritz

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2417#comment:1>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list