[GRASS-user] Python + GRASS 6.4.3 + r.viewshed

Helmut Kudrnovsky hellik at web.de
Mon Jul 21 03:06:42 PDT 2014


>    # the next line works only when the script es started from within the
terminal window from the started GRASS session
>   #grass.run_command('r.viewshed', input = input_map, output = output_map, 
> coordinate=[2560807,5823616], obs_elev=100, max_dist=3000, overwrite=True)

is GRASS_ADDON in the PATH?

r.viewshed is an addon saved in the GRASS_ADDON folder and not in GISBASE;
so if GRASS_ADDON isn't in PATH, r.viewshed may be not found.

HTH



-----
best regards
Helmut
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Python-GRASS-6-4-3-r-viewshed-tp5152070p5152077.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list