[GRASS5] [bug #4323] (grass) gis.m: intelligent defaults for d.rast.arrow

Michael Barton michael.barton at asu.edu
Sat Apr 22 21:16:30 EDT 2006

I'll see if there is a way to set these as defaults.

Why can't grid color = none be the default on the underlying C module?

It might or might not be complicated for the arrow spacing. D.rast.arrows is
not designed to make dynamic arrow spacing (a flag to add???), so I suppose
that you would have to reset it all manually if you zoomed in or out.

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

> From: Request Tracker <grass-bugs at intevation.de>
> Reply-To: Request Tracker <grass-bugs at intevation.de>
> Date: Sat, 22 Apr 2006 16:04:02 +0200 (CEST)
> To: <grass5 at grass.itc.it>
> Subject: [GRASS5] [bug #4323] (grass) gis.m: intelligent defaults for
> d.rast.arrow
> this bug's URL: http://intevation.de/rt/webrt?serial_num=4323
> -------------------------------------------------------------------------
> Subject: gis.m: intelligent defaults for d.rast.arrow
> Hi,
> The new gis.m makes it easy to use d.rast.arrow, but the defaults are all
> wrong for the typical gis.m experience.
> suggestion:
> calculate the canvas size in pixels as well as the region size, then calculate
> what gives you an arrow every 8-12 pixels.
> set the arrow scaling to about 2 times the grid spacing.
> set the grid color to "none".
> It will be nice for these things right out of the box whenever possible.
> Is it possible? (then what happens on resizing monitor or zoom?)
> thanks,
> Hamish
> -------------------------------------------- Managed by Request Tracker

More information about the grass-dev mailing list