[GRASS-dev] [GRASS GIS] #3336: r.viewshed max_distance always in meters

GRASS GIS trac at osgeo.org
Wed Apr 19 06:47:34 PDT 2017


#3336: r.viewshed max_distance always in meters
-----------------------------+-------------------------
 Reporter:  annakrat         |      Owner:  grass-dev@…
     Type:  defect           |     Status:  new
 Priority:  normal           |  Milestone:  7.2.2
Component:  Raster           |    Version:  svn-trunk
 Keywords:  viewshed, units  |        CPU:  All
 Platform:  All              |
-----------------------------+-------------------------
 r.viewshed manual says that max_distance option is entered in map units,
 but in fact, the value is compared to the return value of
 [https://grass.osgeo.org/programming7/gis_2distance_8c.html#afcaf2970186c47956fa768bf0fac404e
 G_distance], which is always in meters.

 So either we change the manual (simple, no change for the user), or we
 change the code (simple, but changes behavior).

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3336>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list