The PrefeferenceInitializer in the WMS plugin has the list of acceptable formats. You can add your types to that and test it out.

Jesse



On Sep 10, 2007, at 4:18 PM, Richard Gould wrote:

I believe there is a preference in uDig that allows you to select
which MIME type to use in the GetMap requests, but I think it is just
a hard-coded list to choose from. This could be a datastore-based
preference that reads the list from the capabilities - that would
work, but would require a bit of implementation.

Richard

On 9/10/07, Tore Halset <[EMAIL PROTECTED]> wrote:
Hello.

"image/png" is the mime-type for png, but I want to offer both 8-bit
and 24 bit png from our wms. I wonder if this is possible by tweaking
the mime-type and if uDig would understand this.

After googling this issue, I have found different ways to encode
this. "FORMAT=image/png8" and "FORMAT=image/png24" is one format.
Another is "FORMAT=image/png; mode=24bit". Does uDig handle any one
of those formats?

If I implement this hack in our WMS we would of course still offer/
accept the standard "image/png" as probably most clients would prefer
that variant.

  - Tore.
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to