<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Thanks Chris,<br>
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.<br>
Brian<br>
<br>
On 11/16/2010 2:04 AM, Chris Carleton wrote:
<blockquote
cite="mid:AANLkTintmKBKTsLh7ezvs6skWfGpRdc+BtaSUkPOtjD3@mail.gmail.com"
type="cite">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.<br>
<br>
Chris <br>
<br>
<div class="gmail_quote">On 15 November 2010 19:43, brian <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:zenlines@gmail.com">zenlines@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<br>
Hello List,<br>
I am having trouble parsing the r.shaded.relief module from R
using the<br>
spgrass6 package.<br>
When doing it directly in GRASS, it works but an error is
first returned. It<br>
goes as follows:<br>
<br>
r.shaded.relief map=alt shadedmap=elev.shad_relief altitude=80
--overwrite<br>
basename: extra operand<br>
`(x86)/GRASS-65-SVN/scripts/r.shaded.relief'<br>
Try `basename --help' for more information.<br>
basename: extra operand<br>
`(x86)/GRASS-65-SVN/scripts/r.shaded.relief'<br>
Try `basename --help' for more information.<br>
Calculating shading, please stand by.<br>
Color table for raster map <elev.shad_relief> set to
'grey'<br>
Shaded relief map created and named <elev.shad_relief>.<br>
<br>
This looks the same in R but this causes R to cease
computation. The above<br>
command sent with R yields:<br>
<br>
> execGRASS("r.shaded.relief",flags="overwrite",
parameters=list(map="alt",<br>
> altitude=80, shadedmap="elev.shad_relief"))<br>
Error : basename: extra operand
`(x86)/GRASS-65-SVN/scripts/r.shaded.relief'<br>
Try `basename --help' for more information.<br>
<?xml version="1.0" encoding="CP1252"?><br>
<!DOCTYPE task SYSTEM "grass-interface.dtd"><br>
...<br>
</task> does not seem to be XML, nor to identify a file
name<br>
Error in parseGRASS(cmd) : r.shaded.relief not parsed<br>
<br>
Is this a bug or my mistake?<br>
<br>
Thanks,<br>
Brian<br>
<font color="#888888"><br>
<br>
<br>
<br>
--<br>
View this message in context: <a moz-do-not-send="true"
href="http://osgeo-org.1803224.n2.nabble.com/r-shaded-relief-spgrass6-problems-tp5742202p5742202.html"
target="_blank">http://osgeo-org.1803224.n2.nabble.com/r-shaded-relief-spgrass6-problems-tp5742202p5742202.html</a><br>
Sent from the Grass - Users mailing list archive at
Nabble.com.<br>
_______________________________________________<br>
grass-user mailing list<br>
<a moz-do-not-send="true"
href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/grass-user"
target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
<br>
</font></blockquote>
</div>
<br>
</blockquote>
</body>
</html>