[ka-Map-users] color rasters

jerome.teisseire at free.fr jerome.teisseire at free.fr
Mon Oct 2 02:18:19 EDT 2006


Hi,

i having the same problem with ie my vector tiles was black, 
i find a solution, i've added to function kaMap.prototype.createImage in
kamap.js
after the line 949 -> this.gImageID = this.gImageID + 1; 
this code
  img.className = "png24";
now it's work.

my mapfile :

OUTPUTFORMAT
   NAME PNG24
   DRIVER "GD/PNG"
   EXTENSION "png"
   MIMETYPE "image/png"
   IMAGEMODE RGBA
   TRANSPARENT ON
   FORMATOPTION "INTERLACE=OFF"
END

My english isn't very good, excuse me.

Jerome TEISSEIRE

> We are having trouble getting color doqq’s to show up in color in
> Kamap. We are using  mapserver 4.6x. The mapfile is a WMS client to a
> WMS service.  Our other WMS client layers work fine but are not color.
> We use png24 as Imagetype but this causes our vector tiles to be
> black.  Our output format is:
> 
>  
> 
> OUTPUTFORMAT
> 
>                         NAME png24
> 
>                         DRIVER "GD/PNG"
> 
>                         MIMETYPE "image/png"
> 
>                         IMAGEMODE RGBA
> 
>                         EXTENSION "png"
> 
>                         FORMATOPTION "INTERLACE=OFF"
> 
>             END
> 
>  
> 
> Any ideas?
> 
>  
> 
>  
> 
>  
> 
> Thanks
> 
> Jeff Cavner
> 
> GIS Analyst
> 
> Earth Data Analysis Center
> 
> University of New Mexico
> 
> 
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users



More information about the ka-Map-users mailing list