MapServer / MapServer-import

3 stars 2 forks source link

[Context] problems when wms_formatlist is missing #1723

Open tbonfort opened 12 years ago

tbonfort commented 12 years ago

Reporter: bartvde@osgis.nl Date: 2006/03/22 - 11:10

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 .....
tbonfort commented 12 years ago

Author: jlacroix Date: 2006/09/05 - 16:04

Ok when formatlist is not available, format is now used instead. 
FIXED in CVS head.