[Mapserver-users] Rosa applet, map colours changing as I zoom in

Stephen Woodbridge woodbri at swoodbridge.com
Wed Jun 30 08:53:39 PDT 2004


Yup!, this is the problem of using up all the color lookup table entries 
in the browser and the brower then does substitution or over-writing of 
entries so it gets displayed wrong.

I have had to create a dummy LAYER with CLASS's to define colors I want 
to protect and using a feature to place dots on the image as the first 
layer.  This then gets over written by other layers, bit forces 
mapserver to create the colors that I want early in the image as it 
seems the later ones are the ones that get changes.

This is very annoying and very hard to maintain over a bunch of mapfiles 
that are changing. There is a bug about it (don't remember the number), 
but I don't know when it might be tackled.

-Steve

Pagurek, Debbie wrote:

> Hi all,
> 
> Weird problem today. I just upgraded my production server to MapServer 4.2.
> 
> I have an application that uses the Rosa applet.  The png image of the map is appearing correctly at first (a map with the WMS demis server map with a layer of red points displayed on top), but as I zoom in, the colour of the points is changing!  It changes to black and then to grey and I can't see the points very well.  However, if I do a view source on one of these zoomed in images and then view just the image itself, the image with points appears as it should - RED points on the background wms image!
> 
>  
> 
> Does anyone have any ideas as to what is going on?  
> 
>  
> 
> Thanks,
> 
> Debbie
> 
>  
> 
>  
> 
> Debbie Pagurek, M.Sc.
> 
> Agriculture and Agri-Food Canada/Agriculture et Agroalimentaire Canada
> Telephone/Téléphone: 613-759-1543
> Facsimile/Télécopieur: 613-759-1937
> 
> 960 Carling Ave. Rm 1135 K.W. Neatby Bldg.
> 
> Ottawa, Ontario
> K1A 0C6
> pagurekd at agr.gc.ca <mailto:pagurekd at pagurekd@agr.gc.ca> 
> 
>  
> 
>  
> 
>  
> 
> 




More information about the MapServer-users mailing list