[mapserver-users] offset and symbolscaledenom

Travis Kirstine traviskirstine at gmail.com
Wed Sep 1 13:15:22 PDT 2021


Thanks Steve,

I was able to find a workaround.

On Wed, 1 Sept 2021 at 09:54, Steve Lime <sdlime at gmail.com> wrote:

> 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/869e67d1/attachment.htm>


More information about the MapServer-users mailing list