New --script flag was: Re: [GRASS-dev] how to display a vector map for d.path in gis.m?

Michael Barton michael.barton at asu.edu
Thu Feb 1 00:52:32 EST 2007


Glynn,

Could you explain how this works a bit more? It sounds cool, but I don't
quite understand how it might be used.

Michael


On 1/31/07 6:10 AM, "Markus Neteler" <neteler at itc.it> wrote:

> Glynn Clements wrote on 01/30/2007 11:04 PM:
>> Glynn Clements wrote:
>> 
>>   
>>> Hmm; it might be useful to have some means of automatically generating
>>> the corresponding g.parser description for a given command. There are
>>> probably quite a few scripts whose options are (almost) identical to
>>> an existing command. I'll look into it.
>>>     
>> 
>> I've extended G_parser() with a --script flag, which writes out a
>> script with g.parser syntax to mimic the behaviour of the module. This
>> shoud make it easier to write scripts which mimic an existing command.
>>   
> Really cool! Thanks, Glynn.
> 
> Markus
> 
> 

__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton





More information about the grass-dev mailing list