[GRASS-user] r.shaded.relief-spgrass6 problems

brian zenlines at gmail.com
Mon Nov 15 19:43:53 EST 2010


Hello List,
I am having trouble parsing the r.shaded.relief module from R using the
spgrass6 package.
When doing it directly in GRASS, it works but an error is first returned. It
goes as follows:

r.shaded.relief map=alt shadedmap=elev.shad_relief altitude=80 --overwrite      
basename: extra operand
`(x86)/GRASS-65-SVN/scripts/r.shaded.relief'
Try `basename --help' for more information.
basename: extra operand
`(x86)/GRASS-65-SVN/scripts/r.shaded.relief'
Try `basename --help' for more information.
Calculating shading, please stand by.
Color table for raster map <elev.shad_relief> set to 'grey'
Shaded relief map created and named <elev.shad_relief>.

This looks the same in R but this causes R to cease computation. The above
command sent with R yields:

> execGRASS("r.shaded.relief",flags="overwrite", parameters=list(map="alt",
> altitude=80, shadedmap="elev.shad_relief"))
Error : basename: extra operand `(x86)/GRASS-65-SVN/scripts/r.shaded.relief'
Try `basename --help' for more information.
<?xml version="1.0" encoding="CP1252"?>
<!DOCTYPE task SYSTEM "grass-interface.dtd">
...
</task>  does not seem to be XML, nor to identify a file name
Error in parseGRASS(cmd) : r.shaded.relief not parsed

Is this a bug or my mistake?

Thanks,
Brian




-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/r-shaded-relief-spgrass6-problems-tp5742202p5742202.html
Sent from the Grass - Users mailing list archive at Nabble.com.


More information about the grass-user mailing list