Steve,

I think the key part in the question is here:

" and the center point of the symbol is no longer inside the map window".

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).

To solve that I created the mentioned pull request.

Or do I miss something?

MArco


On 13-02-16 00:17, Lime, Steve D (MNIT) wrote:
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.

------------------------------------------------------------------------
*From:* mapserver-users [mapserver-users-boun...@lists.osgeo.org] on behalf of mdprive [deduikert...@xs4all.nl]
*Sent:* Friday, February 12, 2016 4:15 PM
*To:* Patrick Meis
*Cc:* mapserver-users@lists.osgeo.org
*Subject:* Re: [mapserver-users] Rendering of Symbols outside map window

Hi Patrick,

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).

maybe you can build from sources and use this patch to solve your problem.

marco

--


Op 11 feb. 2016 om 21:54 heeft Ambrogio Foletti <afole...@gmail.com <mailto:afole...@gmail.com>> het volgende geschreven:

Hello Patrick,

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. If not, you can try to use tile mode, and add some metabuffer (see mapserver doc <http://mapserver.org/output/tile_mode.html>)

Cheers!
A. Foletti

2016-02-05 10:58 GMT+01:00 Patrick Meis <m...@stadt-muenster.de <mailto:m...@stadt-muenster.de>>:

    Hallo,

    i have stumbled on a problem.

    I am simulating a buffering of point-data with the help of
    symbols, which I have set to

    sizeunit = meters

    size = 760

    These rather big symbols disappear from my map when I zoom in and

    the center point of the symbol is no longer inside the map window.

    But a significant part of the symbol should still be displayed.

    Is there any possibility of extending the rendered map, so that
    the symbols of my points

    are still rendered even when they are outside my map window?

    Greetz

    Patrick


    _______________________________________________
    mapserver-users mailing list
    mapserver-users@lists.osgeo.org
    <mailto:mapserver-users@lists.osgeo.org>
    http://lists.osgeo.org/mailman/listinfo/mapserver-users



_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to