[Mapserver-dev] Color Allocations and Control

woodbri at swoodbridge.com woodbri at swoodbridge.com
Wed Feb 18 22:18:30 EST 2004


Hi all,

I have run into the changing colors on the map that seems to be 
caused by running out of color slots. I think this is happening 
because of antialiasing of truetype fonts.

I have been working around the problem by defining layers and 
inserting a dummy feature at the top of the mapfile to reserve the 
colors, but his is a pain and stupid. So we're now going to create an 
image in insert it via a dummy layer as it uses less layers, but I 
have to manage the image file if I make change to my symbology.

So this got me to thinking that it would make a lot of sense if the 
mapfile parser made a list of colors explicitly used in the mapfile 
and pre-allocated them them for me.

Would this work?
Can I get someone to do this? I would be happy to test it on some of 
our mapfiles that have colors getting wacked.

Thanks,
  -Steve W.



More information about the mapserver-dev mailing list