Off the top of my head the '.' in your map name is causing problems. Technically, I think you can use any character (with a few exceptions) in map names, but it's better to avoid most of them and stick to alphanumeric and '_' to separate portions of the name.
Chris On 15 November 2010 19:43, brian <[email protected]> wrote: > > 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. > _______________________________________________ > grass-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/grass-user > >
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
