[GRASS5] some bugs

Hi Huidae,

thanks a lot for your answer.

GRASS wrote:

> - with d.pan and d.zoom the color of vectors is always restored white.
> If you draw a map with a e. g. green vector and zoom/pan, the vector is
> re-drawn, but always white instead of the initial green.
> There must be something wrong with the R_pad contents, as d.save puts
> out the correct color with the vector before calling d.zoom/d.pan, but
> afterwards the color is white even in the pad structure, so that d.save
> puts out "d.vect vect=vect@PERMANENT color=white".
>

That's not bug. It is intended behaviour.
If you want to recreate current window using d.zoom, use -r flag.

OK, the -r flag is not shown in the tcltkgrass module and in the
html-manpage. So i overlooked that.
But i still think that it is a bug (or at least an inconsitency) that
the window is redrawn with d.zoom/d.pan, but the color of the vector is
changed to white. I think that d.zoom/d.pan should either always redraw
the correct screen or don't redraw anything at all without the -r flag.
In that case the user can first use d.save, then d.zoom/d.pan and then
redraw the screen without waiting for the "wrong" redraw of
d.zoom/d.pan.

Just how i would like it.

d.pan is not implemented to recreate window, -r flag.

It would be nice if d.zoom and d.pan behave identically, otherwise it is
confusing.

cu,

Andreas

--
Andreas Lange, 65187 Wiesbaden, Germany, Tel. +49 611 807850
Andreas.Lange@Rhein-Main.de - A.C.Lange@GMX.net

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

From neteler@geog.uni-hannover.de Mon Nov 27 02:38:49 2000
Date: Sun, 26 Nov 2000 18:00:45 +0100
From: Andreas Lange <Andreas.Lange@Rhein-Main.de>
To: GRASS <grass@geni.knu.ac.kr>
CC: grass5@geog.uni-hannover.de
Subject: Re: [GRASS5] some bugs

Hi Huidae,

thanks a lot for your answer.

GRASS wrote:
> > - with d.pan and d.zoom the color of vectors is always restored white.
> > If you draw a map with a e. g. green vector and zoom/pan, the vector is
> > re-drawn, but always white instead of the initial green.
> > There must be something wrong with the R_pad contents, as d.save puts
> > out the correct color with the vector before calling d.zoom/d.pan, but
> > afterwards the color is white even in the pad structure, so that d.save
> > puts out "d.vect vect=vect@PERMANENT color=white".
> >
>
> That's not bug. It is intended behaviour.
> If you want to recreate current window using d.zoom, use -r flag.

OK, the -r flag is not shown in the tcltkgrass module and in the
html-manpage. So i overlooked that.
But i still think that it is a bug (or at least an inconsitency) that
the window is redrawn with d.zoom/d.pan, but the color of the vector is
changed to white. I think that d.zoom/d.pan should either always redraw
the correct screen or don't redraw anything at all without the -r flag.
In that case the user can first use d.save, then d.zoom/d.pan and then
redraw the screen without waiting for the "wrong" redraw of
d.zoom/d.pan.

Just how i would like it.

Now implemented what you want.

>
> d.pan is not implemented to recreate window, -r flag.

It would be nice if d.zoom and d.pan behave identically, otherwise it is
confusing.

Absolutely you're right.
d.pan has some old code to be updated as soon as possible.

Huidae Cho

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

Hi Huidae Cho,

thank you very much for fixing this that quickly!
It is now all working very well.

cu,

Andreas

--
Andreas Lange, 65187 Wiesbaden, Germany, Tel. +49 611 807850
Andreas.Lange@Rhein-Main.de - A.C.Lange@GMX.net

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'

Hi all.

Despite the pessimism I managed to build Grass under Win 98 today.

First port of call was ps.map, as there is no graphical output under
Windows.

The following ps.map script doesn't produce the results I expected ie there
were no numbers on the grid lines and no copper values next to the sample
points, just small rectangles:

sites copper
  color red
  size 0.100000
  desc y
  end
scale 1:3000
grid 10
numbers 1
end
end

The red markers came out OK though.

I can send the ps file and the zipped location if you like.

Cheers

Mike Thomas.

----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'