On Tue, May 1, 2012 at 5:22 PM, Rich Shepard <[email protected]> wrote: > On Tue, 1 May 2012, Tyler Smith wrote: > >> I think the quotes around "/home/rshepard/projects/data/*.kml" are >> preventing the asterisk from being expanded as a wildcard. Try removing >> them. > > Tyler, > > Good catch! That's part of the problem. Now GRASS cannot replace the > variable name, $file, with the actual file name: > > WARNING: Illegal vector map name <$file>. Must start with a letter. > ERROR: Vector map name is not SQL compliant > > It's probably referring to the output file name variable. Since there's no > reason to have the GRASS map name different from the DSN, I need to re-learn > BASH syntax for variable references.
Yes, you've wrapped the output file name in single quotes. That prevents all expansions, wildcards and variables. I don't think you need quotes at all. Cheers, Tyler _______________________________________________ grass-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-user
