[mapserver-users] offset and symbolscaledenom

Steve Lime sdlime at gmail.com
Wed Sep 1 06:54:30 PDT 2021


Not that I know of - unless you did so yourself via MapScript. This seems
like a limitation of the current implementation rather than a bug. We'd
need to add additional parameters to limit the offsets (e.g. MINOFFSET,
MAXOFFSET). --Steve

On Fri, Aug 27, 2021 at 2:18 PM Travis Kirstine <traviskirstine at gmail.com>
wrote:

> Is there a method to scale the offset value between min / max sizes when
> using symbolscaledenom.  I'm trying to scale and offset a label but it
> appears the offset is static based on the symbolscaledenon.
>
> Thanks
>
> mapfile
>
> LAYER
> ....
>     SYMBOLSCALEDENOM 1000
>     CLASS
>       NAME "label"
>       EXPRESSION "POINT"
>       LABEL
>         OFFSET 0 12
>         FONT arial
>         SIZE 12
>         MINSIZE 8
>         MAXSIZE 12
>         TYPE truetype
>         COLOR 0 0 0
>         STYLE
>           GEOMTRANSFORM 'labelpoly'
>           COLOR "#ffffff4f"
>         END
>       END
>     END
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20210901/68c2a23e/attachment.html>


More information about the MapServer-users mailing list