<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 17, 2014 at 9:40 PM, Anna Petrášová <span dir="ltr"><<a href="mailto:kratochanna@gmail.com" target="_blank">kratochanna@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Wed, Sep 17, 2014 at 6:56 PM, Glynn Clements <span dir="ltr"><<a href="mailto:glynn@gclements.plus.com" target="_blank">glynn@gclements.plus.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span><br>
Anna Petrášová wrote:<br>
<br>
> > > I still don't understand if the current behavior in 7 is intended and if<br>
> > > so, why no vector clipping is better?<br>
> ><br>
> > It isn't intended, it's an oversight.<br>
><br>
> I see. So, are you (or anyone else who understands this part of code) going<br>
> to do something about it?<br>
<br>
</span>Try r62026.<br></blockquote><div><br></div></span><div>thanks a lot! </div><span class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
This sets the clip region to the destination rectangle by default.<br>
<br>
However, there may be situations where this clips things which<br>
shouldn't be clipped. E.g. if you're plotting points with<br>
"d.vect ... icon=...", points near the edge of the map will probably<br>
have their icons clipped to the bounds of the map.<br></blockquote><div><br></div></span><div>yes, but that's fine (at least for me)</div><div><br></div><div>but, d.rast freezes when I try to zoom to a map with png driver. With cairo driver, everything works fine.</div></div></div></div></blockquote><div><br></div><div>Steps to reproduce (nc_spm_08):</div><div><br></div><div>export GRASS_RENDER_IMMEDIATE=png</div><div>g.region rast=elevation</div><div>export GRASS_WIDTH=100</div><div>export GRASS_HEIGHT=501</div><div>d.rast elevation</div><div><br></div><div>99%</div><div><br></div><div>The problem is here:</div><div><a href="http://trac.osgeo.org/grass/browser/grass/trunk/lib/display/raster.c#L169">http://trac.osgeo.org/grass/browser/grass/trunk/lib/display/raster.c#L169</a><br></div><div><br></div> return (A_row < src[1][1]) ? A_row : -1;</div><div class="gmail_quote"><br></div><div class="gmail_quote">-1 is never selected because src is always greater than A_row<br><br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class=""><div><br></div><div><br></div><div>Anna</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span><font color="#888888"><br>
--<br>
Glynn Clements <<a href="mailto:glynn@gclements.plus.com" target="_blank">glynn@gclements.plus.com</a>><br>
</font></span></blockquote></span></div><br></div></div>
</blockquote></div><br></div></div>