[mapserver-dev] Closing a layer removes class expressions and texts (bug or feature?)

Tamas Szekeres szekerest at gmail.com
Sun Feb 27 14:27:42 EST 2011


Frank,

Further problem is that if I comment out the related code in msLayerClose,
the second attempt of parsing the same expression will fail
(msEvalExpression). I have no clues to get this stuff working at all :-(

Best regards,

Tamas


2011/2/27 Frank Warmerdam <warmerdam at pobox.com>

> On 11-02-27 02:03 PM, Tamas Szekeres wrote:
>
>> Hi All,
>>
>> The current implementation in msLayerClose (maplayer.c line 215-216 in
>> trunk)
>> removes the expression and text for each class of the corresponding layer.
>> I
>> doubt if it was a good practice since the second draw of the same map
>> object
>> yieds different rendering result. Could someone explain how does this
>> addition
>> make sense?
>> IMHO the drawing process itself should not alter the map configuration
>> specified by the user.
>>
>
> Tamas,
>
> There is a ticket on this and I believe Steve will address it shortly once
> he better understands why he did it this way in the first place.
>
>  http://trac.osgeo.org/mapserver/ticket/3692
>
> It is also breaking some stuff for me.
>
> Best regards,
> --
>
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam,
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial Programmer for Rent
>
> _______________________________________________
> 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/20110227/3ef9d5d1/attachment.html


More information about the mapserver-dev mailing list