<br><br><div class="gmail_quote">2010/6/20 Martin Landa <span dir="ltr"><<a href="mailto:landa.martin@gmail.com">landa.martin@gmail.com</a>></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/20 stn <<a href="mailto:stneumann@web.de">stneumann@web.de</a>>:<br>
<div class="im">> Except for something strange. As said before the idea was to import+create<br>
> location by a script. So I made a linux shell-script that does this:<br>
><br>
> echo "v.in.ogr dsn=mydata.shp location=import output='mydata'<br>
> min_area=0.0001 snap=-1" | grass -text "$GISDATEN/tmplocation/PERMANENT"<br>
<br>
</div>try to set up script as batch job, see [1].<br></blockquote><div><br>Hi Martin,<br><br>thanks you for the info.<br>Unfortunately that changed nothing.<br>The script was executed as expected but afterwards only part of the data has been imported.<br>
<br><br>Script looks like this now:<br><br>echo "v.in.ogr dsn=/home/user/grassdata/BRD_Kreise.shp location=import output='BRD_Kreise_shp' min_area=0.0001 snap=-1" > "$HOME/x.grass"<br>export GRASS_BATCH_JOB="$HOME/x.grass"<br>
grass -text "$GISDATEN/tmplocation/PERMANENT"<br><br><br>THX<br>stn<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;">
<br>
Martin<br>
<br>
[1] <a href="http://grass.osgeo.org/wiki/GRASS_and_Shell#GRASS_Batch_jobs" target="_blank">http://grass.osgeo.org/wiki/GRASS_and_Shell#GRASS_Batch_jobs</a><br>
<div><div></div><div class="h5"><br>
--<br>
Martin Landa <landa.martin <a href="http://gmail.com" target="_blank">gmail.com</a>> * <a href="http://gama.fsv.cvut.cz/%7Elanda" target="_blank">http://gama.fsv.cvut.cz/~landa</a><br>
</div></div></blockquote></div><br>