[mapserver-dev] CONNECTIONTYPE UNION with STYLEITEM AUTO still not working in 6.0.0-rc2 (and possible solution)

Tamas Szekeres szekerest at gmail.com
Mon May 9 09:33:43 EDT 2011


Hi Jana,

Thanks for the fix, applied in SVN-trunk (
http://trac.osgeo.org/mapserver/changeset/11664)
It's strange that it did not crash on Windows for me and Jeff.

Best regards,

Tamas




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

> Hi,
>
> in our current application we want to use the new union layer. In MapServer
> 6.0.0-rc2 the problem with STYLEITEM AUTO is still not fixed. So I did some
> debugging and found a possible solution.
>
> In mapunion.c (method msUnionLayerNextShape) at line 423 (rc2 and trunk
> (rev 11639)) strcasecmp causes a segmentation fault. Checking the existence
> of srclayer->styleitem before passing it to strcasecmp should solve this
> problem (for me it does). In msUnionLayerGetAutoStyle it does done
> correctly.
>
> After making that change the example attached to ticket #3859
> http://trac.osgeo.org/mapserver/ticket/3859 is working without errors.
>
> 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/20110509/307e3e87/attachment.html


More information about the mapserver-dev mailing list