2010/6/21 Martin Landa <[email protected]> > Hi, > > 2010/6/21 stn <[email protected]>: > > [...] > > > 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" >
Hi Martin, sorry, still same as before. Only part of the polygons are imported. This is the newest complete shell-script: #!/bin/bash GISDATEN="$HOME/grassdata" OUTPUT="mydata" rm -r "$GISDATEN/import" echo "#!/bin/sh v.in.ogr dsn=$1 location=import output='$OUTPUT' min_area=0.0001 snap=-1 " > "$HOME/x.grass" export GRASS_BATCH_JOB="$HOME/x.grass" chmod +x "$HOME/x.grass" grass -text "$GISDATEN/tmplocation/PERMANENT" > > Martin > > -- > 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
