Opened 18 years ago

Closed 18 years ago

#1723 closed defect (fixed)

[Context] problems when wms_formatlist is missing

Reported by: bartvde@… Owned by: mapserverbugs
Priority: high Milestone:
Component: MapScript-PHP Version: 4.8
Severity: normal Keywords:
Cc:

Description

If the wms_formatlist is missing, a WMC layer is generated without a FormatList
which cannot be loaded anymore. No warnings are written into the WMC about this.

Would it not be possible to only use wms_format in that case (which is mandatory
for any WMS client layer), and set that format to current, i.e.:

wms_format "image/png"

would result in:

      <FormatList>
        <Format current="1">image/png</Format>
      </FormatList>

instead of needing even more metadata to define a layer for Context export .....

Change History (1)

comment:1 by jlacroix, 18 years ago

Resolution: fixed
Status: newclosed
Ok when formatlist is not available, format is now used instead. 
FIXED in CVS head.
Note: See TracTickets for help on using tickets.