<div dir="ltr">Steve,<br><div>IIRC, we account for the size of symbols when adjusting our clipping rectangle once we have obtained a feature, but we do not adjust the query extent when doing whichshapes(). That's something we may want to fix.</div><div>Another use-case would also be when the DATA statement does something like "ST_Buffer(the_geom,...) as the geom"</div><div><br></div><div>--</div><div>thomas</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 15 February 2016 at 17:44, Lime, Steve D (MNIT) <span dir="ltr"><<a href="mailto:Steve.Lime@state.mn.us" target="_blank">Steve.Lime@state.mn.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div bgcolor="#FFFFFF">
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">
<div>I know. We use to account for that explicitly.</div>
<br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font face="Tahoma" size="2" color="#000000"><b>From:</b> deduikertjes [<a href="mailto:deduikertjes@xs4all.nl" target="_blank">deduikertjes@xs4all.nl</a>]<br>
<b>Sent:</b> Monday, February 15, 2016 2:44 AM<br>
<b>To:</b> Lime, Steve D (MNIT); Patrick Meis<div><div class="h5"><br>
<b>Cc:</b> <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<b>Subject:</b> Re: [mapserver-users] Rendering of Symbols outside map window<br>
</div></div></font><br>
</div><div><div class="h5">
<div></div>
<div>
<div>Steve,<br>
<br>
I think the key part in the question is here:<br>
<p class="MsoNormal"><span lang="EN-US">" and the center point of the symbol is no longer inside the map window".</span></p>
To my experience a symbol doesn't get drawn at all when the point which is symbolized is outside the requested extent (WMS mode at least).<br>
<br>
To solve that I created the mentioned pull request.<br>
<br>
Or do I miss something?<br>
<br>
MArco<br>
<br>
<br>
On 13-02-16 00:17, Lime, Steve D (MNIT) wrote:<br>
</div>
<blockquote type="cite">
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt">This should already be happening. The drawing code traverses a layer's class/styles to commute a selection and clipping rectangle that is larger than the map extent.
<div><br>
<div style="font-family:Times New Roman;color:#000000;font-size:16px">
<hr>
<div style="direction:ltr"><font face="Tahoma" size="2" color="#000000"><b>From:</b> mapserver-users [<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>]
 on behalf of mdprive [<a href="mailto:deduikertjes@xs4all.nl" target="_blank">deduikertjes@xs4all.nl</a>]<br>
<b>Sent:</b> Friday, February 12, 2016 4:15 PM<br>
<b>To:</b> Patrick Meis<br>
<b>Cc:</b> <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">
mapserver-users@lists.osgeo.org</a><br>
<b>Subject:</b> Re: [mapserver-users] Rendering of Symbols outside map window<br>
</font><br>
</div>
<div>
<div>Hi Patrick,</div>
<div><br>
</div>
<div>i've submitted a pull request for extending the map by a buffer and then clipping it, so that partial symbols on the edge get rendered as well (wms non tiled mode).</div>
<div><br>
</div>
<div>maybe you can build from sources and use this patch to solve your problem.</div>
<div><br>
</div>
<div>marco<br>
<br>
--
<div><br>
</div>
</div>
<div><br>
Op 11 feb. 2016 om 21:54 heeft Ambrogio Foletti <<a href="mailto:afoletti@gmail.com" target="_blank"></a><a href="mailto:afoletti@gmail.com" target="_blank">afoletti@gmail.com</a>> het volgende geschreven:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div dir="ltr">Hello Patrick,
<div><br>
</div>
<div>if you are using PostGIS as datasource, I would solve the problem by integrating a st_buffer in the DATA element itself ;) The added bonus is that you will get the attribute values from a GetFeatureInfo (if implemented) in the whole buffer zone.</div>
<div>If not, you can try to use tile mode, and add some metabuffer (<a href="http://mapserver.org/output/tile_mode.html" target="_blank">see mapserver doc</a>)</div>
<div><br>
</div>
<div>Cheers!</div>
<div>A. Foletti</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2016-02-05 10:58 GMT+01:00 Patrick Meis <span dir="ltr">
<<a href="mailto:Meis@stadt-muenster.de" target="_blank">Meis@stadt-muenster.de</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="DE">
<div>
<p class="MsoNormal">Hallo, </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span lang="EN-US">i have stumbled on a problem.</span></p>
<p class="MsoNormal"><span lang="EN-US">I am simulating a buffering of point-data with the help of symbols, which I have set to
</span></p>
<p class="MsoNormal"><span lang="EN-US">sizeunit = meters</span></p>
<p class="MsoNormal"><span lang="EN-US">size = 760</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">These rather big symbols disappear from my map when I zoom in and
</span></p>
<p class="MsoNormal"><span lang="EN-US">the center point of the symbol is no longer inside the map window.</span></p>
<p class="MsoNormal"><span lang="EN-US">But a significant part of the symbol should still be displayed.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Is there any possibility of extending the rendered map, so that the symbols of my points</span></p>
<p class="MsoNormal"><span lang="EN-US">are still rendered even when they are outside my map window?</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Greetz<span></span></span></p>
<span><font color="#888888">
<p class="MsoNormal"><span lang="EN-US">Patrick</span></p>
</font></span></div>
</div>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</div></div></div>
</div>
</div>

<br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br></blockquote></div><br></div>