Skip to main content

convertShapefileFeatureIntoRvoField

@nmi-agro/fdm-source


@nmi-agro/fdm-source / fdm-rvo/src / convertShapefileFeatureIntoRvoField

Function: convertShapefileFeatureIntoRvoField()

convertShapefileFeatureIntoRvoField(feature): infer

Defined in: fdm-rvo/src/shapefile.ts:106

Converts a feature found in a Shapefile to a RvoField object to be used with the RVO import system

mestData is not available in Shapefiles and will not be available in the result, thus no buffer strip information

Parameters

feature

Feature<Polygon, Partial<RvoProperties>>

Returns

infer

a RvoField object

Throws

if any of the required properties are missing