[GRASS-dev] [GRASS GIS] #1827: Measure Distance - Bearing

GRASS GIS trac at osgeo.org
Sun Apr 14 20:17:50 PDT 2013


#1827: Measure Distance - Bearing
-----------------------+----------------------------------------------------
  Reporter:  voncasec  |       Owner:  grass-dev@…                         
      Type:  defect    |      Status:  closed                              
  Priority:  normal    |   Milestone:  6.4.3                               
 Component:  wxGUI     |     Version:  svn-releasebranch64                 
Resolution:  fixed     |    Keywords:  Bearing tool, MapFrame.MeasureDist()
  Platform:  Linux     |         Cpu:  x86-64                              
-----------------------+----------------------------------------------------

Comment(by hamish):

 Replying to [comment:2 hamish]:
 > I wonder for LL if we should have frame.py check for meters as the unit,
 > and report km instead if the distance is > 2500.0?

 ah, I see that MapFrame.FormatDist() already tries to do that, but it
 fails for LL as the fn is testing against the map units from projinfo
 (which says degrees) while the fn is being used with results from
 G_distance() which always returns meters.


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1827#comment:3>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list