Changeset 3574 for TI05-delivery


Ignore:
Timestamp:
10/03/08 16:52:40 (11 years ago)
Author:
spascoe
Message:

LegendURL only supports one format.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI05-delivery/ows_framework/branches/ows_framework-refactor/ows_common/ows_common/pylons/wms_controller.py

    r3573 r3574  
    7878        ows_controller.addOperation('GetContext') 
    7979        ows_controller.addOperation('GetLegend', 
    80                                     formats=self._pilImageFormats.keys()) 
     80                                    formats='image/png') 
    8181        ows_controller.addOperation('GetInfo') 
    8282        log.debug('Loading capabilities contents') 
     
    107107            # Stuff that should go in the capabilities tree eventually 
    108108            ds.legendSize = layer.legendSize 
    109             ds.legendFormats = self._pilImageFormats.keys() 
     109            ds.legendFormats = 'image/png' 
    110110 
    111111            c.capabilities.contents.datasetSummaries.append(ds) 
Note: See TracChangeset for help on using the changeset viewer.