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

Tyler Smith tyler.smith at mail.mcgill.ca
Tue May 1 17:04:24 EDT 2012


On Tue, May 1, 2012 at 4:54 PM, Rich Shepard <rshepard at appl-ecosys.com> wrote:
>
> GRASS 6.5.svn :~/grassdata > for file in "/home/rshepard/projects/data/*.kml"; do
>> v.in.ogr dsn="$file" out='$file'; done
> ERROR: Unable to open data source
>        </home/rshepard/projects/washington/buckhorn/data/*.kml>
>

I think the quotes around "/home/rshepard/projects/data/*.kml" are
preventing the asterisk from being expanded as a wildcard. Try
removing them.

Cheers,

Tyler


More information about the grass-user mailing list