[GRASS-user] Import .kml with v.in.ogr; GRASS-6.5.svn
Rich Shepard
rshepard at appl-ecosys.com
Tue May 1 17:50:26 EDT 2012
On Tue, 1 May 2012, Tyler Smith wrote:
> Ah, I get it now. It's not really an illegal 'filename', in terms of the
> operating system, it's an illegal mapname in terms of Grass. So your Bash
> is now correct, it's your Grass that is broken. For the output=$file part,
> try something like this: output=$(basename $file)
Tyler,
I saw 'basename ' in the original thread but have not before seen it.
Thought it was a Windows reference. Now I know. 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.
Thanks,
Rich
More information about the grass-user
mailing list