geoflatbush
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/geoflatbush package

1.0.0 • Public • Published

geoflatbush

A geographic extension for flatbush, a very fast static 2D spatial index. Performs nearest neighbors queries for geographic bounding boxes, taking Earth curvature and date line wrapping into account. Similar to geokdbush, but for boxes instead of points.

import {around} from 'geoflatbush';

around(index, 30.5, 50.5, 10); // return 10 nearest boxes to Kyiv

Readme

Keywords

none

Package Sidebar

Install

npm i geoflatbush

Weekly Downloads

28

Version

1.0.0

License

ISC

Unpacked Size

13.1 kB

Total Files

5

Last publish

Collaborators

  • mourner