I don't think so, this one worked: ogr2ogr -f "ESRI Shapefile" -where "ELEVATION>10" new13744-4.shp 3744-4.shp
On Tue, May 13, 2008 at 3:54 PM, Nikos Alexandris <[EMAIL PROTECTED]> wrote: > 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)? > > -- |---------|----------------------------------------------------------| | __.-._ |"Ohhh. Great warrior. Wars not make one great." -Yoda | | '-._"7' |"Freedom is still the most radical idea of all" -N.Branden| | /'.-c |Linux registered user #402901, http://counter.li.org/ | | | /T |http://esambale.wikispaces.com| | _)_/LI |---------|----------------------------------------------------------| _______________________________________________ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user