Description
Return intersection/cell area.
Raster cells may describe intensive quantities per area or extensive totals assigned to a cell. Allocating an intersected fraction of a total differs from integrating an intensive value over intersection area. The intersection and compatible area units must be established before combining cell and field data.
Return intersection/cell area.
When to use this tool
Use Agricultural Raster Cell To Field Fraction when checking a supplied raster-to-field area contribution.
How to use the tool and how it works
- Enter cellArea, intersectedArea, cellValue, intensive. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read fraction, contribution. Use the output convention below.
Require positive cellArea and 0<=intersectedArea<=cellArea. Return intersection/cell area. For an intensive cellValue, contribution=cellValue*intersectedArea; for an extensive cell total, contribution=cellValue*fraction.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| cellArea | Cell Area | Required. Finite number; strictly above 0. |
| intersectedArea | Intersected Area | Required. Finite number; minimum 0. |
| cellValue | Cell Value | Required. Finite number. |
| intensive | True treats cellValue as quantity per area; false treats it as a full cell total. | Required. Boolean. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| fraction | Dimensionless fraction on the stated basis, rather than a percentage number. | Required. Finite number. |
| contribution | Integrated amount cellValue*intersection for intensive data, or proportional cell total for extensive data. | Required. Finite number. |
{
"input": {
"cellArea": 100,
"intersectedArea": 25,
"cellValue": 8,
"intensive": false
},
"output": {
"fraction": 0.25,
"contribution": 2
}
} Limitations and assumptions
- Intersection area is supplied, not geometrically computed; intensive units must be quantity per matching area unit.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Use a complete geospatial intersection/resampling workflow with verified coordinate reference systems and cell-value units for actual field aggregation.
References
Similar or alternative tools
- Alley Crop Netarea Tree Buffer Factor
Return rows*length*2*buffer as excluded area and subtract it from field area.
- Field Edge Habitat Share
Return usableEdge=edge-excluded and usableEdge/total.