[GRASS-user] batch import/sql shapefiles

Nikos Alexandris nikos.alexandris at felis.uni-freiburg.de
Tue May 13 03:54:28 EDT 2008


On Tue, 2008-05-13 at 15:52 +0800, maning sambale wrote:
> 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

Maybe a problem with the "quotes" in the expression(s)?



More information about the grass-user mailing list