Appearance
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
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?
GeoJSON properties passed to ALL isobands
breaksProperties?
GeoJSON properties passed, in order, to the correspondent isoband (order defined by breaks)
返回
FeatureCollection<MultiPolygon>
a FeatureCollection of MultiPolygon features representing isobands
