MapScript: Altering classes

Norman Vine nhv at cape.com
Fri Jul 28 11:07:30 EDT 2000


Michael Anderson writes:

>I am trying to change the classification of a layer using MapScript. I 
>change the colors in an existing classes with no problems, but 
>if I try to 
>set a new classitem and create new classes I get a 
>segmentation error. Here 
>is my code.
>
>map = mapObj("soils.map")


Hi Mike

If you send me your "soil.map" file
I will take a look at this.

It could be we have to add some more 'python magic' 
to the SWIG wrapper

Norman



More information about the mapserver-users mailing list