UNPKG

isoxml-angular

Version:

JavaScript library to parse and generate ISOXML (ISO11783-10) files

14 lines (13 loc) 722 B
import { MultiPolygon as TurfMultiPolygon, Polygon as TurfPolygon } from "@turf/turf"; import { Partfield, PartfieldAttributes } from "../baseEntities"; import { TAGS } from "../baseEntities/constants"; import { ISOXMLManager } from "../ISOXMLManager"; import { Entity, XMLElement } from "../types"; export declare class ExtendedPartfield extends Partfield { tag: TAGS; constructor(attributes: PartfieldAttributes, isoxmlManager: ISOXMLManager); static fromXML(xml: XMLElement, isoxmlManager: ISOXMLManager, internalId: string): Promise<Entity>; toXML(): XMLElement; boundaryFromGeoJSON(geoJSON: TurfMultiPolygon | TurfPolygon, isoxmlManager: ISOXMLManager): void; toGeoJSON(): TurfMultiPolygon; }