<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body bgcolor="#ffffff" text="#000000">
<p style="margin-bottom: 0cm;"><a
href="http://www.dict.cc/englisch-deutsch/Hi+everybody.html"><font
color="#000000"><span style="text-decoration: none;"><font
face="Arial, sans-serif">Hi
everybody!</font></span></font></a></p>
<p style="margin-bottom: 0cm;"> </p>
<p style="margin-bottom: 0cm;"><font face="Arial, sans-serif">Some
time ago I installed a new version of GRASS (GRASS 6.4.1 (2011)
for
Windows. And now I can’t start some modules that I created by
myself. I get the following error:</font></p>
<p> </p>
<p><font color="#424242"><font face="Verdana, sans-serif"><font
style="font-size: 8pt;" size="1"><i>Ungültiger
Name der Vektorkarte <>. Darf nicht '.' oder 'NULL'
enthalten.</i></font></font></font></p>
<p><font color="#424242"><font face="Verdana, sans-serif"><font
style="font-size: 8pt;" size="1"><i>ERROR:
Name der Ausgabe-Vektorkarte <> ist keine gültiger
Kartenname.</i></font></font></font></p>
<p style="line-height: 115%;"><font color="#424242"> </font></p>
<p style="margin-bottom: 0cm;"><font face="Arial, sans-serif"><font
size="3">I
guess, this version of GRASS doesn't understand the definition
of
temporary files (for example, <span lang="de-DE">$TMPVECT</span>)</font></font></p>
<p style="margin-bottom: 0cm; line-height: 115%;"><br>
</p>
<p style="margin-bottom: 0cm; line-height: 115%;"><font
color="#424242"><font face="Courier New, monospace"><font
size="2"><span lang="de-DE">#
Begin of the script</span></font></font></font></p>
<p style="margin-bottom: 0cm;" lang="de-DE"><font face="Courier New,
monospace"><font size="2">#g.message
"Remove temporary files"</font></font></p>
<p style="margin-bottom: 0cm;" lang="de-DE"><font face="Courier New,
monospace"><font size="2">#
g.remove vect=tmp_points</font></font></p>
<p style="margin-bottom: 0cm;" lang="de-DE"><font face="Courier New,
monospace"><font size="2">#
g.remove vect=tmp</font></font></p>
<p style="margin-bottom: 0cm;" lang="de-DE"><font face="Courier New,
monospace"><font size="2">points_txt="C:/Work_directory/Algorithm/China/points.txt"</font></font></p>
<p style="margin-bottom: 0cm;" lang="de-DE"><font face="Courier New,
monospace"><font size="2">echo
$GIS_OPT_INPUT1</font></font></p>
<p style="margin-bottom: 0cm;" lang="de-DE"><font face="Courier New,
monospace"><font size="2">echo
$GIS_OPT_OUTPUT1</font></font></p>
<p style="margin-bottom: 0cm;" lang="de-DE"><font face="Courier New,
monospace"><font size="2">cats=`v.db.select
map=$GIS_OPT_INPUT1 columns=cat | sed "s/cat//g"`</font></font></p>
<p style="margin-bottom: 0cm;" lang="de-DE"><font face="Courier New,
monospace"><font size="2">echo
"cats =" $cats</font></font></p>
<p style="margin-bottom: 0cm;" lang="de-DE"><font face="Courier New,
monospace"><font size="2">echo
"# Object Number DPC value" > $GIS_OPT_OUTPUT1</font></font></p>
<p style="margin-bottom: 0cm;" lang="de-DE"><font face="Courier New,
monospace"><font size="2">for
i in $cats</font></font></p>
<p style="margin-bottom: 0cm;" lang="de-DE"><font face="Courier New,
monospace"><font size="2">do</font></font></p>
<p style="margin-bottom: 0cm;" lang="de-DE"> <font face="Courier
New, monospace"><font size="2">echo
"i =" $i</font></font></p>
<p style="margin-bottom: 0cm;" lang="de-DE"><font face="Courier New,
monospace"><font size="2">#
if [ $i -lt 14 ] ;</font></font></p>
<p style="margin-bottom: 0cm;" lang="de-DE"><font face="Courier New,
monospace"><font size="2">#
then</font></font></p>
<p style="margin-bottom: 0cm;" lang="de-DE"><font face="Courier New,
monospace"><font size="2"># continue</font></font></p>
<p style="margin-bottom: 0cm;" lang="de-DE"><font face="Courier New,
monospace"><font size="2">#
fi</font></font></p>
<p style="margin-bottom: 0cm;" lang="de-DE"> <font face="Courier
New, monospace"><font size="2">v.extract
input=$GIS_OPT_INPUT1 output=$TMPVECT list=$i</font></font></p>
<p style="margin-bottom: 0cm;" lang="de-DE"> <font face="Courier
New, monospace"><font size="2">v.to.points
-v -i input=$TMPVECT output=$POINTS type=boundary,area dmax=5</font></font></p>
<p style="margin-bottom: 0cm;" lang="de-DE"> <font face="Courier
New, monospace"><font size="2">v.out.ascii
input=$POINTS output=$points_txt</font></font></p>
<p style="line-height: 115%;"><font color="#424242"><font
face="Verdana, sans-serif"><font style="font-size: 8pt;"
size="1">-------------------------------------------------------------------------------------------------------------------------</font></font></font></p>
<p style="margin-bottom: 0cm;"><font face="Arial, sans-serif">I like
the new GRASS version and try to adjust it to my needs.</font></p>
<p style="margin-bottom: 0cm;"><font face="Arial, sans-serif">Perhaps
</font><font face="Arial, sans-serif">anybody </font><font
face="Arial, sans-serif">has </font>had to face<font
face="Arial, sans-serif"> the same problem or knows a solution?
</font>
</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;"><font face="Arial, sans-serif">Thanks.</font></p>
<p style="margin-bottom: 0cm;"><br>
</p>
</body>
</html>