[GRASS5] Monitor map scale program finished

Markus Neteler neteler at geog.uni-hannover.de
Wed Feb 14 10:24:35 EST 2001

Hi Eric,

after spending more time on this I have finished the
small "scale" program. Example run:

Xserver screen resolution: x:90.060942 dpi y:95.976384 dpi
Map parameters: 

 True map size:  we_meters: 5277.500000 ns_meters: 4032.500000 
 Pixel numbers used in screen: ns: 961.228802  we:1258.000000 
 Map rows: 1613  map cols: 2111

 Map height in meter: 0.271097
 Map width in meter:  0.332928

 Current map scale (note: Xserver x_res != y_res):
   y-scale: 1:14874.773747
   x-scale: 1:15851.788407

Hey, my first Xserver-related software :-)

Find attached:

BTW: The Xserver x_res != y_res is really odd! I hope all the GRASS
display/measure modules take care of this. In fact the maps will be
displayed stretched always. I wasn't aware of that.

It would be great to have the map scale displayed in top line of
GRASS monitor (of course get the sockets fully working is highest


-------------- next part --------------
A non-text attachment was scrubbed...
Name: scale2.tar,gz
Type: application/octet-stream
Size: 44089 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20010214/374320af/scale2.obj

More information about the grass-dev mailing list