[GRASSLIST:5626] Re: d.zoom with vector map
Daniel Victoria
daniel_victoria at yahoo.com
Fri Feb 21 06:21:40 EST 2003
Also I noticed that d.zoom does not work when I have a
rgb composite (using d.rgb) on the monitor. Is this an
old version problem (I still have pre5 installed)
Daniel
--- "Eric G. Miller" <egm2 at jps.net> wrote:
> On Fri, Feb 21, 2003 at 04:39:33AM +0000, Glynn
> Clements wrote:
> >
> > Eric G. Miller wrote:
> >
> > > > d.zoom will not work unless a raster file name
> is provided. Why won't it
> > > > work with vector files only? This a is an
> inconvenience when importing
> > > > vector formats into a new location before
> converting them to raster.
> > >
> > > Which version of GRASS? AFAIK, there was such a
> problem and it was
> > > fixed. The problem was actually with d.vect (or
> whatever).
> >
> > No, it's a problem with d.zoom, still present in
> CVS HEAD:
> >
> > if(!rast && !vect && !site)
> > {
> > rmap->required = YES;
> > just->answer = 1;
> > }
> >
> > The rast, vect and site variables correspond to
> whether any raster,
> > vector or site maps are currently displayed in the
> monitor (IOW, the
> > results of D_get_{cell,dig,site}_list()).
>
> I don't see that as such a problem. Maybe it should
> just exit an do
> nothing in that case. With OP's mention of vectors,
> I assumed an older
> version of d.vect was being used where there once
> were bugs regarding
> setting the drawing command list so d.zoom wouldn't
> know about previous
> d.vect commands...
>
> --
> echo ">gra.fcw at 2ztr< eryyvZ .T pveR" | rot13 |
> reverse
>
__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
More information about the grass-user
mailing list