1) are you sure you have the ogr2ogr gdal utility? 2) you might try Python instead of bash
Michael On 5/13/08 1:20 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Message: 4 > Date: Tue, 13 May 2008 15:52:17 +0800 > From: "maning sambale" <[EMAIL PROTECTED]> > Subject: [GRASS-user] batch import/sql shapefiles > To: grass-user <grass-user@lists.osgeo.org> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=UTF-8 > > Hi, > > 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 know it worked before on my linux. > > cheers, > maning > __________________________________________ Michael Barton, Professor of Anthropology Director of Graduate Studies School of Human Evolution & Social Change Center for Social Dynamics & Complexity Arizona State University phone: 480-965-6213 fax: 480-965-7671 www: http://www.public.asu.edu/~cmbarton _______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user