[GRASS-dev] Zooming issue in gis manager

Joel Pitt joel.pitt at gmail.com
Wed Nov 1 16:08:48 EST 2006


On 11/2/06, Glynn Clements <glynn at gclements.plus.com> wrote:
> I think that the core problem is that d.rast cannot render an
> arbitrary portion of a map; the rendered image has to be aligned to
> the cell boundaries.
>
> The region always has an integer number of rows and columns. d.rast
> always ensures that the entire region just fits inside the frame; one
> pair of edges will always exactly touch the corresponding edges of the
> region.
>
> Thus, the rendered image will only ever show whole cells. You will
> never get a situation where part of a cell is shown and the other part
> cropped.

How much difficulty would it be to alter the behaviour of d.rast to
allow partial
cells to be rendered?

If someone were to make the change, can anyone think of what flow on
effects this would have for other components of GRASS? (Not too much
of an issue since a flag could be added to d.rast to have this as
optional behaviour).

-- 
-Joel

"Wish not to seem, but to be, the best."
                -- Aeschylus




More information about the grass-dev mailing list