Skip to main content

isFieldInNatura2000Gebied

@svenvw/fdm-source


@svenvw/fdm-source / fdm-calculator/src / isFieldInNatura2000Gebied

Function: isFieldInNatura2000Gebied()

isFieldInNatura2000Gebied(b_centroid): Promise<boolean>

Defined in: fdm-calculator/src/norms/nl/2025/dierlijke-mest-gebruiksnorm.ts:72

Determines if a field is located within a Natura 2000 in the Netherlands. This is achieved by performing a spatial query against a vector file containing the boundaries of all natura200-gebieden, including the 100m buffer.

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 natura2000-gebied or within 100m buffer, false otherwise.

Throws

If there are issues fetching the file or processing its stream.