[mapserver-users] Issue with label offset

thomas bonfort thomas.bonfort at gmail.com
Wed Mar 1 00:37:28 PST 2017


So it seems the offsetter is failing on some line coordinates, and may
happen only in A rather than B because they differing due to the different
projections used. Try getting a backtrace of the crash, and/or create a
self-contained testcase that consistently reproduces the issue.

--
thomas

On Tue, Feb 28, 2017 at 4:21 PM Björn Danielsson <bjorn.danielsson at falubo.se>
wrote:

> We are using different mapfiles for different users and sometimes over the
> same geographical area.
>
> Funny thing is that in one of the cases where two mapfiles cover the same
> area a label for a line works ok in  mapfile A but not in mapfile B despite
> the fact that the label code for one particular line feature is identical
> in the two mapfiles.
>
> I have traced this to OFFSET. OFFSET 3 99 works in mapfile A but gives
> Error 500 Internal Server Error in mapfile B. On the other hand OFFSET 1 99
> and -2 99 works fine in mapfile B.
>
> The two mapfiles use different epsg and have different scale levels and as
> far as I can see that is the only thing that differs.
>
> I can contribute with more data if anyone will dig into this.
>
>        LABEL
>         TEXT       "[text]"
>         COLOR      0 0 255
>         OUTLINECOLOR 255 255 255
>         TYPE       TRUETYPE
>         FONT       arial
>         SIZE       8
>         ANTIALIAS  FALSE
>         POSITION   CC
>         PARTIALS   FALSE
>         FORCE      TRUE
>         MINDISTANCE 0
>         BUFFER      0
>         ANGLE      FOLLOW
>         MAXOVERLAPANGLE 180
>         OFFSET     3 99
>       END
>
> Björn Danielsson
> _______________________________________________
> 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/20170301/91301e26/attachment.html>


More information about the mapserver-users mailing list