Skip to content

KBE3D / KBCore / turf / isobands

函数: isobands()

isobands(pointGrid: FeatureCollection<Point>, breaks: number[], options?: { zProperty?: string; commonProperties?: GeoJsonProperties; breaksProperties?: GeoJsonProperties[]; }): FeatureCollection<MultiPolygon>

Function

Takes a square or rectangular grid FeatureCollection of Point features with z-values and an array of value breaks and generates filled contour isobands.

参数

pointGrid

FeatureCollection<Point>

input points - must be square or rectangular and already gridded. That is, to have consistent x and y dimensions and be at least 2x2 in size.

breaks

number[]

where to draw contours

options?

options on output

zProperty?

string

the property name in points from which z-values will be pulled

commonProperties?

GeoJsonProperties

GeoJSON properties passed to ALL isobands

breaksProperties?

GeoJsonProperties[]

GeoJSON properties passed, in order, to the correspondent isoband (order defined by breaks)

返回

FeatureCollection<MultiPolygon>

a FeatureCollection of MultiPolygon features representing isobands

KBE3D @3.0.0 Copyright © 2024-present KBE3D