isFieldInGWGBGebied
@svenvw/fdm-source / fdm-calculator/src / isFieldInGWGBGebied
Function: isFieldInGWGBGebied()
isFieldInGWGBGebied(
b_centroid
):Promise
<boolean
>
Defined in: fdm-calculator/src/norms/nl/2025/dierlijke-mest-gebruiksnorm.ts:21
Determines if a field is located within a grondwaterbeschermingsgebied (GWBG) in the Netherlands. This is achieved by performing a spatial query against a vector file containing the boundaries of all GWBG-gebieden.
Parameters
b_centroid
Field
An array containing the longitude
and latitude
of the field's centroid.
This point is used to query the geographical data.
Returns
Promise
<boolean
>
A promise that resolves to true
if the field's centroid is found within an GWBG-gebied,
false
otherwise.
Throws
If there are issues fetching the file or processing its stream.