[GRASS5] questions about recent d.grid changes

Before I make changes to the d.grid panel in the GIS Manager, I wanted to run by you a couple of thoughts I mentioned to Hamish below.

What do you think?

(I tried to send this to Bob Covill, but it was bounced)

Michael


Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
Arizona State University
Tempe, AZ 85287-2402
USA

voice: 480-965-6262; fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

------ Forwarded Message

From: Hamish hamish_nospam@yahoo.com
Date: Thu, 20 Oct 2005 23:25:33 +1300
To: Michael Barton michael.barton@asu.edu
Subject: Re: [GRASS5] d.grid with numbers

I’ve added the -t flag to the gridline.tcl panel and will update it to
the cvs soon.

ok, thanks. I worry a bit that all the custom menus leave you (or
someone) with a constant battle to keep up with the changing features.
ie exactly the same situation as with the old tcltkgrass menus always
being out of date. ? Not a problem as long as you are willing to keep
up with it, but none the less something else to steal your valuable
time & energy. I offer no solution… maybe it is just a compromise we
live with for a nice GUI.

I just noticed that d.grid has changed in other ways since I did the
panel. It used to have a -g flag if you wanted to turn the grid off,
but this seems to have gone away. And now there is gsize and gcolor
for geodesic grids.

ah yes, not my work so I didn’t think to mention it.

It would be nice to have the -g flag back. Also, wouldn’t it be
simpler to have a flag to make d.grid switch to geodesic rather than
have separate entries for gsize and gcolor?

You would have to take that up with Bob (probably cc grass5); I’m not
sure of his reasons for doing it that way. Personally, I only ever use
the grid so didn’t notice it was gone.

Currently you can theoretically set both size and gsize. So which will
d.grid try to do?

Yes, if you define both size= and gsize= it will draw both. If only one,
then only that one.

Or better yet, if d.grid can tell whether it’s in a latlon region, it
could simply automatically switch to geodesic mode without the need
for a switch.

If it is in a lat/lon region it will only draw a regular rectangular
grid. But in that case a geogrid is the same thing, so it doesn’t
matter. In fact it will give you an error if you try to do a geogrid in
lat/lon (or XY).

Hamish

------ End of Forwarded Message