An intermediate polygon and a location relation is used to find the locations in the input variable. An output location is first mapped to an intermediate polygon. A location relation is used to map the intermediate polygon to one or more locations in the input variable. An inverse distance is applied to all related locations
<?xml version="1.0" encoding="UTF-8"?> <transformationModule version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.wldelft.nl/fews" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/transformationModule.xsd"> <transformation id="polygonRelatedLocations"> <interpolationSpatial> <polygonRelatedLocations> <inputVariable> <timeSeriesSet> <moduleInstanceId>SpatialInterpolationPolygonRelatedLocationsTest</moduleInstanceId> <valueType>scalar</valueType> <parameterId>T.historical</parameterId> <locationId>H-2001</locationId> <locationId>H-2002</locationId> <timeSeriesType>external historical</timeSeriesType> <timeStep unit="day"/> <relativeViewPeriod unit="day" start="0" end="0"/> <readWriteMode>add originals</readWriteMode> </timeSeriesSet> </inputVariable> <polygonLocationSetId>polygonLocationSet2</polygonLocationSetId> <polygonLocationRelationId>inverseDistanceLocations</polygonLocationRelationId> <outputVariable> <timeSeriesSet> <moduleInstanceId>SpatialInterpolationPolygonRelatedLocationsTest</moduleInstanceId> <valueType>grid</valueType> <parameterId>T.historical</parameterId> <locationId>ECMWF</locationId> <timeSeriesType>external historical</timeSeriesType> <timeStep unit="day"/> <relativeViewPeriod unit="day" start="0" end="0"/> <readWriteMode>add originals</readWriteMode> </timeSeriesSet> </outputVariable> </polygonRelatedLocations> </interpolationSpatial> </transformation> </transformationModule>