[GRASS-user] Import .kml with v.in.ogr; GRASS-6.5.svn

Rich Shepard rshepard at appl-ecosys.com
Tue May 1 17:55:05 EDT 2012


On Tue, 1 May 2012, Rich Shepard wrote:

> I also need to strip off the kml extension since A) it's not part of a
> .legal SQL table name and 2) it's not needed.

   For the record, and to close this thread, the working script is:

for file in $(ls -1 /home/rshepard/projects/data/*.kml); do v.in.ogr
dsn="$file" out=asename $file .kml; done

   (All on one command line.)

Thanks, all!

Rich




More information about the grass-user mailing list