[GRASS5] d.barscale enhancement, d.scale retirement

Hamish hamish_nospam at yahoo.com
Tue Jan 27 06:37:17 EST 2004

> > > Do you see a chance to extend d.barscale to work with Lat/Long?
> > 
> > d.scale lets you draw something to the screen in Lat/Long, but it's
> > totally wrong. d.barscale is an improvement as it won't let you try.
> > 
> > So I don't think there's anything worth keeping d.scale around for
> > now.
> > 
> > If one were to make d.scale/barscale work in lat/lon, how would you
> > do it? Use 1852*60*cos(lat) to favour the x-axis as the scale bar
> > will be horizontal? Regardless of what you do a one-dimensional
> > scale will be incorrect in the other dimension, and I'd rather not
> > get into maximum latitude/scale rules.
> How about marking the scale in degrees?

Good idea. Would anyone use it though? I don't think I would in the form
of a bar scale. Maybe as an all around border in the style of the
d.barscale bar, but probably as part of ps.map for hard copies, not on
the display or for web/presentation graphics.

For Lat/Lon I've always preferred something like d.grid with text labels
at the map edge. Maybe that is worth focusing on first for the display.
I'm trying to remember if I ever got the degree symbol working outside
of d.text.freetype. No matter, easy enough to draw or make a small 'o'.

I can put together a nice compass rose for L/L as a consolation prize..
Too bad it stretches the wrong way or else I could stretch the E/W arms
to show map distortion.


More information about the grass-dev mailing list