Re: [GRASS-dev] modules have problems with @mapset

2008-02-15 Thread Glynn Clements
Hamish wrote: It is trying to append _{$TMP} after [EMAIL PROTECTED] instead of just 'map'. Try this: http://trac.osgeo.org/grass/changeset/30118 (really please try that, I haven't tested it) +++ /grass/trunk/scripts/v.db.addtable/v.db.addtable (revision 30118)

Re: [GRASS-dev] modules have problems with @mapset

2008-02-15 Thread Glynn Clements
Hamish wrote: Yet again: an unqualified input map name does *not* refer to a map in the current mapset. It refers to the first map with that name in the search path. They aren't the same thing. I was not aware that it was possible for the current mapset NOT to be the first entry in the

Re: [GRASS-dev] modules have problems with @mapset

2008-02-14 Thread Glynn Clements
Hamish wrote: It's complaining that the map you are using isn't in the current mapset when it actually is in the mapset. ... ERROR: [EMAIL PROTECTED] is not in the current mapset (spatialtech2008) It is trying to append _{$TMP} after [EMAIL PROTECTED] instead of just

Re: [GRASS-dev] modules have problems with @mapset

2008-02-14 Thread Glynn Clements
Hamish wrote: It's complaining that the map you are using isn't in the current mapset when it actually is in the mapset. ... ERROR: [EMAIL PROTECTED] is not in the current mapset (spatialtech2008) It is trying to append _{$TMP} after [EMAIL PROTECTED] instead of just

Re: [GRASS-dev] modules have problems with @mapset

2008-02-14 Thread Hamish
Hamish wrote: It is trying to append _{$TMP} after [EMAIL PROTECTED] instead of just 'map'. Try this: http://trac.osgeo.org/grass/changeset/30118 (really please try that, I haven't tested it) +++ /grass/trunk/scripts/v.db.addtable/v.db.addtable (revision 30118) @@ -88,18

Re: [GRASS-dev] modules have problems with @mapset

2008-02-14 Thread Hamish
Glynn Clements wrote: I note that g.findfile doesn't include the unqualified name in its output, e.g.: name='[EMAIL PROTECTED]' mapset='glynn' fullname='[EMAIL PROTECTED]' file='/opt/grass-data/global/glynn/vector/newmap' There should probably be a (e.g.)

Re: [GRASS-dev] modules have problems with @mapset

2008-02-13 Thread Michael Barton
On Feb 13, 2008, at 12:08 PM, Glynn Clements wrote: Michael Barton wrote: To make this work better with the GUI parser and not generate an error, the script should just strip off the @mapset portion of the name. Please answer the following question: Or are you asking about the

Re: [GRASS-dev] modules have problems with @mapset

2008-02-13 Thread Glynn Clements
Michael Barton wrote: To make this work better with the GUI parser and not generate an error, the script should just strip off the @mapset portion of the name. Please answer the following question: Or are you asking about the particular case of referencing maps which happen to be in

Re: [GRASS-dev] modules have problems with @mapset

2008-02-13 Thread Hamish
It's complaining that the map you are using isn't in the current mapset when it actually is in the mapset. ... ERROR: [EMAIL PROTECTED] is not in the current mapset (spatialtech2008) It is trying to append _{$TMP} after [EMAIL PROTECTED] instead of just 'map'. Try this:

Re: [GRASS-dev] modules have problems with @mapset

2008-02-12 Thread Michael Barton
To make this work better with the GUI parser and not generate an error, the script should just strip off the @mapset portion of the name. Michael __ Michael Barton, Professor Professor of Anthropology Director of Graduate Studies School of Human Diversity Social