Versions Compared

Key

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

...

Transformation - InterpolationSpatialContainingPolygon

schema:

transformationModule.xsd

keywords:

transformation, spatial interpolation, containing, polygon

Description and usage

For each input polygon this transformation copies the value of the input polygon to all output points that are inside the input polygon. If an output point is not contained in any input polygon, then the output is a missing value.”

If the output has point geometry the transformation will assign to each point the value for the polygon in which each point lies. If the output has raster geometry, the transformation will calculate the area-weighted average per copy the value of the polygon which has the largest overlapping area with the grid cell in case the grid cell intersects multiple polygons.

...

Code Block
titleExample configuration
<transformation id="Polygon2Grid">  
  
<interpolationSpatial>
              
	<containingPolygon>

		<inputVariable>
			<variableId>input_polygon</variableId>
    	</inputVariable>
		<outputVariable>
       	 	<variableId>output_grid</variableId>
		</outputVariable>
                                  
	</containingPolygon>
                       
</interpolationSpatial>
           
</transformation>

 

Common issues

None reported.

...