[GRASS-user] batch import/sql shapefiles

Hamish hamish_b at yahoo.com
Tue May 13 04:09:05 EDT 2008

maning sambale wrote:
> This simple script doesn't seem to work on my cygwin
> bash
> for i in *.shp; do
> 	ogr2ogr -f "ESRI Shapefile" -where "ELEVATION>10" $i_elev $i;
> done
> I'm trying to extract elevation contour lines from a
> couple of shapefiles

$i_elev  -->  ${i}_elev



More information about the grass-user mailing list