[GRASS-user] batch import/sql shapefiles

maning sambale emmanuel.sambale at gmail.com
Tue May 13 03:52:17 EDT 2008


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;

I'm trying to extract elevation contour lines from a couple of shapefiles
I know it worked before on my linux.


| __.-._ |"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

More information about the grass-user mailing list