[GRASS-user] check vector geometry
dylan.beaudette at gmail.com
Sun Sep 24 16:33:09 EDT 2006
Thanks for the great patch Jachym. Looking forward to giving it a try.
Macieck:: i think that some flags are more condusive to being used
together than others, i.e. : g.region res=1 -ap both the 'a' and 'p'
flags are respected.
for something like the example you gave with g.region -eg -- I would
imagine that there is a case statement that computes these values, but
only one at a time (for efficiency in the old days?) . perhaps work
needs to be done to standardize flag parsing...
On 9/24/06, Maciej Sieczka <tutey at o2.pl> wrote:
> Jachym Cepicky wrote:
> > at your service
> And vice-versa.
> Works like a charm! Anybody minds it applied?
> What a nice working Sunday. Thanks Jachym!
> I'm wondering if flags should be exclusive or not in Grass modules, in
> For example, I asked Jachym to make it possible to his new '-t' flag
> not to be excluded if used together with '-g', and it works. No matter
> what flag seqeunce, if both are used, first goes the '-g' output, then
> '-t'. But maybe I asked him for a wrong thing, maybe flags should be
> exclusive? Or if they should be not exclusive, should the order they
> are called metter? Eg. should '-tg' and '-gt' output in the same sequence?
> Other modules (eg. g.region and r.info) don't allow for using many
> flags at the same time, and they have some hierachy in excluding them,
> but I can't find a pattern for that (is there one?).
> Moreover, I found a strange thing about g.region. Try this:
> $ g.region -e
> region north-south extent: 270.000000
> region east-west extent: 300.000000
> $ g.region -g
> BUT A COMBINATION OF BOTH GIVES NEITHER OF THE ABOVE:
> $ g.region -eg
> The region extent is printed, like if -e alone was used, but instead of
> "region north-south extent" we get "ns_extent". Same thing, but
> different wording.
> grassuser mailing list
> grassuser at grass.itc.it
More information about the grass-user