[GRASS-user] batch import/sql shapefiles
Moritz Lennert
mlennert at club.worldonline.be
Tue May 13 04:13:11 EDT 2008
On 13/05/08 09:57, maning sambale wrote:
> 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
> <nikos.alexandris at felis.uni-freiburg.de> 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;
Try with $i\_elev instead of $i_elev.
Moritz
More information about the grass-user
mailing list