I tried this one:
v.in.ogr 'dsn=C:\QGIS\species_shapefiles'
but it didn't work, it said something like "required output parameter 
missing"...

then I tried the "one-line-instead-of-a-script":
for i in C:\QGIS\species_shapefiles\*.shp; do v.in.ogr dsn=$i out=`basename $i 
.shp`; done

but it still gave an error, apparently because the shapefiles didn't have 
georeferencing information and I was trying to import them to my georreferenced 
location, hence projection didn't match (although the maps do overlay 
perfectly). But it said I could add "-o" to the v.in.ogr commmand to override 
this projection check, so I did:

for i in C:\QGIS\species_shapefiles\*.shp; do v.in.ogr dsn=$i out=`basename $i 
.shp` -o; done

And it worked! Thanks guys
Márcia 
_______________________________________________
grass-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to