<br><br><div class="gmail_quote">2010/6/21 Martin Landa <span dir="ltr">&lt;<a href="mailto:landa.martin@gmail.com">landa.martin@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<br>
2010/6/21 stn &lt;<a href="mailto:stneumann@web.de">stneumann@web.de</a>&gt;:<br>
<br>
[...]<br>
<div class="im"><br>
&gt; Script looks like this now:<br>
&gt;<br>
&gt; echo &quot;v.in.ogr dsn=/home/user/grassdata/BRD_Kreise.shp location=import<br>
&gt; output=&#39;BRD_Kreise_shp&#39; min_area=0.0001 snap=-1&quot; &gt; &quot;$HOME/x.grass&quot;<br>
<br>
</div>$ cat &quot;$HOME/x.grass&quot;<br>
#!/bin/sh<br>
<div class="im">v.in.ogr dsn=/home/user/grassdata/BRD_Kreise.shp location=import<br>
output=&#39;BRD_Kreise_shp&#39; min_area=0.0001 snap=-1<br>
<br>
</div>$ chmod +x $HOME/x.grass<br>
<br>
Helps?<br>
<div class="im"><br>
&gt; export GRASS_BATCH_JOB=&quot;$HOME/x.grass&quot;<br>
&gt; grass -text &quot;$GISDATEN/tmplocation/PERMANENT&quot;<br></div></blockquote><div><br><br>Hi Martin,<br><br>sorry, still same as before. Only part of the polygons are imported.<br><br>This is the newest complete shell-script:<br>
<br><br>#!/bin/bash<br>GISDATEN=&quot;$HOME/grassdata&quot;<br>OUTPUT=&quot;mydata&quot;<br>rm -r &quot;$GISDATEN/import&quot;<br>echo &quot;#!/bin/sh<br>v.in.ogr dsn=$1 location=import output=&#39;$OUTPUT&#39; min_area=0.0001 snap=-1<br>
&quot; &gt; &quot;$HOME/x.grass&quot;<br>export GRASS_BATCH_JOB=&quot;$HOME/x.grass&quot;<br>chmod +x &quot;$HOME/x.grass&quot;<br>grass -text &quot;$GISDATEN/tmplocation/PERMANENT&quot;<br><br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">
<br>
</div>Martin<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">Martin Landa &lt;landa.martin <a href="http://gmail.com" target="_blank">gmail.com</a>&gt; * <a href="http://gama.fsv.cvut.cz/%7Elanda" target="_blank">http://gama.fsv.cvut.cz/~landa</a><br>

</div></div></blockquote></div><br><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup {  position:absolute;  z-index:9999;  padding: 0px 0px;  margin-left: 0px;  margin-top: 0px;  width: 240px;  overflow: hidden;  word-wrap: break-word;  color: black;  font-size: 10px;  text-align: left;  line-height: 13px;}</style>