SWIG mapscript removeLayer() comment
Adam Ryan
aryan at CO.LINN.OR.US
Mon Apr 11 16:44:20 PDT 2005
Woe is the SWIG mapscript user who really wants to help in the development
of mapserver but works in a Windows shop and could never figure out how to
compile Mapserver and even if he (or she) could they don't know c so
combing through the mapserver c files for their particular solution is
pointless, though nonetheless attempted. I defer:
Doing mapObj.removeLayer() on a layer with a resultCache fouls up other
resultCache objects of layers with higher index values. If layer to be
removed is turned off instead, no errors ensue.
So I found a work around for myself and thought I'd share it.
Cheers,
Adam
More information about the MapServer-users
mailing list