[GRASS-dev] G_make_aspect*_colors() broken
Brad Douglas
rez at touchofmadness.com
Thu Jul 6 00:31:56 EDT 2006
On Thu, 2006-07-06 at 04:21 +0100, Glynn Clements wrote:
> Brad Douglas wrote:
>
> > G_make_aspect*_colors() in lib/gis/color_asp.c is broken. It chooses
> > (defaults to?) a greyscale ramp, rather than what is expected for aspect
> > maps.
> >
> > Verified with r.slope.aspect and r.colors.
>
> It creates a black->white->black double ramp, with the half-way point
> being black. This will do the right thing, provided that your aspect
> map covers the full range of possible values (e.g. -180 to 180 or 0 to
> 360), but won't work if a the extrema are absent.
That's not how it used to work and is down right confusing to examine
visually. Each "direction" used to have a distinctive color assigned to
it.
--
Brad Douglas <rez touchofmadness com> KB8UYR
Address: 37.493,-121.924 / WGS84 National Map Corps #TNMC-3785
More information about the grass-dev
mailing list