Versions Compared

Key

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

...

Code Block
xml
xml
<?xml version="1.0" encoding="UTF-8"?>
<polygons xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/polygons.xsd">
	<esriShapeFile>
		<file>Lac_Reservoir_2017_07_21_P.shp</file>
		<geoDatum>WGS 1984</geoDatum>
		<shapeIdAttributeName>DESCRIPTIO</shapeIdAttributeName>
		<shape locationId="022501_000" shapeId="Morin"/>
		<shape locationId="023409_000" shapeId="Megantic"/>
		<shape locationId="030201_000" shapeId="Saint-Francois"/>
		<shape locationId="030202_000" shapeId="Aylmer"/>
		<shape locationId="030326_000" shapeId="Choiniere"/>
		<shape locationId="030332_000" shapeId="Waterloo"/>
		<shape locationId="040602_000" shapeId="PoissonBlanc"/>
		<shape locationId="040608_000" shapeId="Kiamika"/>
		<shape locationId="042611_000" shapeId="Kipawa"/>
		<shape locationId="040609_000" shapeId="Mitchinamecus"/>
		<shape locationId="043031_000" shapeId="DesQuinze"/>
		<shape locationId="052603_000" shapeId="Maskinonge"/>
		<shape locationId="061002_000" shapeId="Kenogami"/>
		<shape locationId="061601_000" shapeId="DesCommissaires"/>
		<shape locationId="050904_020" shapeId="Saint-Charles"/>
		<shape locationId="030289_000" shapeId="Louise"/>
	</esriShapeFile>
</polygons>



     
polygons>  

 

The configuration within the esriShapeFile element are:

file

reference to ESRI shape file, usually stored in MapLayerConfigFiles

geoDatum

geographical datum of the ESRI shape file

shapeIdAttributeName

Attribute name of the shapeId's, similar to the name of the column header in the corresponding dbf file

areaAttributeName

Optional attribute name of the polygon area, similar to the name of the column header in the corresponding dbf file

areaMultiplier

The multiplier that should be applied to the value in the dbf, as read by the areaAttributeName

shape: used to map the attributes locationId (Delft-FEWS locationId) and shapeId

 

 

 In t