source: cowsclient/trunk/displayOptions.ini @ 6013

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/cowsclient/trunk/displayOptions.ini@6013
Revision 6013, 685 bytes checked in by pnorton, 11 years ago (diff)

Moved all the server side config file parsing into a single config_file_parser module.

Also modified how the Endpoint selection works on the UI. The endpoint dropdown is now it's own control allowing its complexity to be hidden form the layerControl.

Line 
1[wmsviz]
2default_rules=modis_interval,psc_interval
3hide_rules=wms
4
5[HideOption:wms]
6endpoint=http://ice.badc.rl.ac.uk:5000/[^/]*/wms?
7options=show_grid_lines,intervals,intervalNames,cbar_style,disable_subset
8
9[DefaultOption:modis_interval]
10endpoint=http://ice.badc.rl.ac.uk:5000/modis/wms
11layers=igbp_class
12values=intervalColourbar|true
13
14[DefaultOption:psc_interval]
15endpoint=http://ice.badc.rl.ac.uk:5000/psc[^/]*/wms
16layers=.*
17values=intervals|-0.5%%2C0.5%%2C1.5%%2C2.5%%2C3.5%%2C4.5,intervalNames|Land%%2CNo%%2520Data%%2CPicoplankton%%2CNanoplankton%%2CMicroplankton,cbar_style|legend
18
19# not need to double quote spaces as well as double up % marks,
20# so ' ' -> '%%20' -> '%%2520'
Note: See TracBrowser for help on using the repository browser.