UNPKG

well-known-parser

Version:

A WKT/WKB/EWKT/EWKB/TWKB/GeoJSON parser and serializer

17 lines (16 loc) 740 B
import { Geometry } from './geometry'; import { GeometryOptions } from './types'; import { GeometryCollection as GeoJSONGeometryCollection } from 'geojson'; export declare class GeometryCollection extends Geometry { geometries: Geometry[]; constructor(geometries?: Geometry[], srid?: number); static Z(geometries?: Geometry[], srid?: number): GeometryCollection; static M(geometries?: Geometry[], srid?: number): GeometryCollection; static ZM(geometries?: Geometry[], srid?: number): GeometryCollection; toWkt(): string; toWkb(parentOptions?: GeometryOptions): Buffer; toTwkb(): Buffer; getWkbSize(): number; toGeoJSON(): GeoJSONGeometryCollection; } //# sourceMappingURL=geometrycollection.d.ts.map