getRvoFieldsFromShapefile
@nmi-agro/fdm-source / fdm-rvo/src / getRvoFieldsFromShapefile
Function: getRvoFieldsFromShapefile()
getRvoFieldsFromShapefile(
shp_file,shx_file,dbf_file,prj_file):Promise<infer<any>[]>
Defined in: fdm-rvo/src/shapefile.ts:191
Parses the files found in a MijnPercelen Shapefile export and compiles a GeoJSON feature collection where each feature's properties represent the field properties registered by RVO.
mestData is not available in Shapefiles and will not be available in the result, thus no buffer strip information
Parameters
shp_file
FileInterface
Shapefile or ArrayBuffer to parse
shx_file
FileInterface | undefined
Shapefile index or ArrayBuffer file to parse, the library might be able to optimize lookups in the shp file using this
dbf_file
FileInterface
DBase file or ArrayBuffer to parse containing field properties registered by RVO
prj_file
string | Blob | undefined
Projection definition file or ArrayBuffer for coordinates found in the shp file, if not provided EPSG:4326 is assumed
Returns
Promise<infer<any>[]>
List of RvoField objects