2010/6/20 Martin Landa <[email protected]> > Hi, > > 2010/6/20 stn <[email protected]>: > > Except for something strange. As said before the idea was to > import+create > > location by a script. So I made a linux shell-script that does this: > > > > echo "v.in.ogr dsn=mydata.shp location=import output='mydata' > > min_area=0.0001 snap=-1" | grass -text "$GISDATEN/tmplocation/PERMANENT" > > try to set up script as batch job, see [1]. >
Hi Martin, thanks you for the info. Unfortunately that changed nothing. The script was executed as expected but afterwards only part of the data has been imported. Script looks like this now: 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" export GRASS_BATCH_JOB="$HOME/x.grass" grass -text "$GISDATEN/tmplocation/PERMANENT" THX stn > > Martin > > [1] http://grass.osgeo.org/wiki/GRASS_and_Shell#GRASS_Batch_jobs > > -- > Martin Landa <landa.martin gmail.com> * > http://gama.fsv.cvut.cz/~landa<http://gama.fsv.cvut.cz/%7Elanda> >
_______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
