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

Frank Warmerdam warmerdam at pobox.com
Sun Feb 27 14:12:21 EST 2011


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



More information about the mapserver-dev mailing list