[GRASS-user] Automatic import ?
Martin Landa
landa.martin at gmail.com
Mon Jun 21 04:50:49 EDT 2010
Hi,
2010/6/21 stn <stneumann at web.de>:
[...]
> 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"
$ cat "$HOME/x.grass"
#!/bin/sh
v.in.ogr dsn=/home/user/grassdata/BRD_Kreise.shp location=import
output='BRD_Kreise_shp' min_area=0.0001 snap=-1
$ chmod +x $HOME/x.grass
Helps?
> export GRASS_BATCH_JOB="$HOME/x.grass"
> grass -text "$GISDATEN/tmplocation/PERMANENT"
Martin
--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa
More information about the grass-user
mailing list