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

Brian Oney zenlines at gmail.com
Mon Nov 15 20:07:48 EST 2010


Thanks Chris,
but it returned the same error. I will note that for the future though. 
I stuck to that because it was an example in the ps.map part of the wiki.
Brian

On 11/16/2010 2:04 AM, Chris Carleton wrote:
> 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 <zenlines at gmail.com 
> <mailto:zenlines at gmail.com>> 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
>     grass-user at lists.osgeo.org <mailto:grass-user at lists.osgeo.org>
>     http://lists.osgeo.org/mailman/listinfo/grass-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20101116/c7ad635e/attachment-0001.html


More information about the grass-user mailing list