Skip to content

KBE3D / KBCore / turf / geojsonRbush

函数: geojsonRbush()

geojsonRbush<G, P>(maxEntries?: number): RBush<G, P>

Function

GeoJSON implementation of RBush

spatial index.

rbush

类型参数

G

G extends Geometry

P

P extends GeoJsonProperties = GeoJsonProperties

参数

maxEntries?

number

defines the maximum number of entries in a tree node. 9 (used by default) is a reasonable choice for most applications. Higher value means faster insertion and slower search, and vice versa.

返回

RBush<G, P>

GeoJSON RBush

示例

ts
var geojsonRbush = require('geojson-rbush').default;
var tree = geojsonRbush();

KBE3D @3.0.0 Copyright © 2024-present KBE3D