serving WMS true color maps

Frederic Claudel fclaudel at CSIR.CO.ZA
Fri Aug 26 08:44:35 EDT 2005


I'm using Mapserver to serve RBG satellite images as WMS. They are stored as RGB GeoTIFFs. This proves to be a very efficient solution.
Unfortunately, most of the client applications accessing the data don't allow the user to choose the format, and I end up with 8-bit data beeing displayed.

It looks like you cannot restrict formats available in the WMS GetCapabilities document. You always have image/png, image/gif (I tried with Mapserver 4.4 and 4.7 from FWTools.)
Is there a way around that issue?
I'd like to serve only image/jpeg and maybe image/png;mode=24bits.

I tried to set my layers to opaque (since jpeg doesn't support transparency), but it doesn't help with the clients.
The clients I'd like to use are:
 - Udig 1.0.0 (not beta)
 - ESRI ArcMap 8.3 + OGC plugin

If you can help, it will be most welcome.
thanks,
Frederic Claudel

PS: I actually think the WMS spec needs a way for a client to explicitly ask for an indexed / or truecolor map.




-- 
This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
 
CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html 
 
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html 
 
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
HelpDesk at csir.co.za.


This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for their support.



More information about the mapserver-users mailing list