Wiki Markup |
---|
{scrollbar} |
Transformation - InterpolationSpatial Closest Distance
schema: | |
keywords: | transformation, spatial interpolation, closest distance |
Description and usage
This transformation function finds the closest location/grid cell in the input time series and uses the value of that location/grid cell for the output.
...
Optional element defining the maximum radius in which the transformation searches the closest location/grid cell.
overrulingXAttribute
Optional element available since 2017.02. If defined, the x-coordinates for both the input and the output locations will be overruled by the attribute value if it is present for that location. If no attribute value is found, the regular x-coordinate is used. The attribute values are expected to use the same geoDatum as the location's coordinates.
overrulingYAttribute
Optional element available since 2017.02. If defined, the y-coordinates for both the input and the output locations will be overruled by the attribute value if it is present for that location. If no attribute value is found, the regular y-coordinate is used. The attribute values are expected to use the same geoDatum as the location's coordinates.
distanceGeoDatum
Geo datum used to calculate the distances in meters between the points. To calculate distances efficiently and to pre-sort the input points in a grid the earth's curved surface should be transformed to a flat two-dimensional surface. When the input geometry is not in meters calculation of distances will be very slow and a search all is required when there is no exact match. When there is no region/country specific coordinate system available choose a utm zone that best fits with your output region. http://en.wikipedia.org/wiki/File:Utm-zones.jpg. eg. UTM55S for Victoria state in Australia. Only use zone number and N for northern hemisphere and S for southern hemisphere
Example
Code Block | ||||
---|---|---|---|---|
| ||||
<interpolationSpatial> <closestDistance> <inputVariable> <variableId>input</variableId> </inputVariable> <minimumValue>0</minimumValue> <maximumValue>1000</maximumValue> <searchRadius>10000</searchRadius> <outputVariable> <variableId>output</variableId> </outputVariable> </closestDistance> </interpolationSpatial> |
Common issues
...