Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

scrollbar

Table of Contents

What

Required

Description

schema location

Filters.xml

yes

Definition of filters in the main map display

http://fews.wldelft.nl/schemas/version1.0/filters.xsd

...

<attributeFile> <csvFile>parameterAttributes.csv</csvFile> <parameterId>%ID%</parameterId> <attribute id="ATTRIBUTE_1"> <text>%ATTRIBUTE_1%</text> </attribute> <attribute id="ATTRIBUTE_2"> <text>%ATTRIBUTE_2%</text> </attribute> </attributeFile> </parametersCsvFile>
No Format
		<attributeFile>
			<csvFile>parameterAttributes.csv</csvFile>
			<parameterId>%ID%</parameterId>
			<attribute id="ATTRIBUTE_1">
				<text>%ATTRIBUTE_1%</text>
			</attribute>
			<attribute id="ATTRIBUTE_2">
				<text>%ATTRIBUTE_2%</text>
			</attribute>
		</attributeFile>
	</parametersCsvFile>
No Format

In parameterAttributes.csv below multivalued attributes are defined for some parameters like "BESDWG_%" which has values "E1a" & "E1b" for "ATTRIBUTE_1".

For parameter "BEMSRTJT_m" the attribute "ATTRIBUTE_1" has values "D1" & "E1b".

IDATTRIBUTE_1ATTRIBUTE_2
BEMSDOVZDEA1A2
BEMSRBTE_mB1bB2
BEMSROPVK_m2 C2
Bemonsteringstraject_mD1 
Beschaduwing_%E1aE2a
BREEDTE_m  
CHLFa_ug/l  
BEMSRBTE_mB1a 
Beschaduwing_%E1bE2b
Bemonsteringstraject_mE1b 

When  "ATTRIBUTE_1" is used to generate filters based on its values the next filters are generated: A1, B1a, B1b, E1a, E1b, D1.

When selecting filter "E1a" only parameter "Beschaduwing" will appear because that is the only one with "E1a" as value for "ATTRIBUTE_1"

 Image Added

When selecting filter "E1b" both parameters "Beschaduwing_%" & "Bemonsteringstraject_m" will appear because they both have "E1b" in their multivalued "ATTRIBUTE_1":

Image Added