[mapserver-dev] Union layer: labeling problem

Tamas Szekeres szekerest at gmail.com
Thu May 12 04:47:06 EDT 2011


Hi Jana,

Could you submit a ticket including the test sample? Since we have a
workaround now, I'd rather fix this issue right after the 6.0 release is
out.

Best regards,

Tamas



2011/5/12 Jana Golinowski <jgolinowski at codematix.de>

> Hi,
>
> I've got problems adding labels to a union layer. The source layers use
> attribute from database for styling (e.g. COLOR or ANGLE). Without labels
> everything is fine. But when adding labels using LABELITEM in the union
> layer (TEXT inside CLASS doesn't have any effect) I get segmentation faults
> in maputil.c (method bindStyle). It seems that shape->values isn't filled
> correctly in this case. (Cause of the segfault is "Address [...] out of
> bounds".)
>
> A temporary workaround for me is adding an EXPRESSION to the union layer
> containing all attributes I use in the source layers. That causes
> shape->values being filled correctly but it's quite dirty though.
>
> Greetings, Jana.
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20110512/a12bfe95/attachment.html


More information about the mapserver-dev mailing list