Link Polygon shapes to Delft-FEWS Locations
The Polygons.xml file can be used to link polygons from shape files to Delft-FEWS locations. As a result, the polygon area is highlighted in the Map Display when the location is selected. In addition the polygon area information is used in spatial transformation for instances the areal averaging.
Note, the Polygons.xml is obsolete when locations are read from shape files, see 22 Locations and attributes defined in CSV files, Shape-DBF files, because in that case the shapes are automatically linked to the locations read from this file.
See XSD schema below for configuration options.
An example of a Polygons.xml file is provided below.
The configuration within the esriShapeFile element are:
reference to ESRI shape file, usually stored in MapLayerConfigFiles
geographical datum of the ESRI shape file
Attribute name of the shapeId's, similar to the name of the column header in the corresponding dbf file
Optional attribute name of the polygon area, similar to the name of the column header in the corresponding dbf file
The multiplier that should be applied to the value in the dbf, as read by the areaAttributeName
used to map the attributes locationId (Delft-FEWS locationId) and shapeId