Registry / networking / geokdtree

geokdtree

JSON →
library0.2.0rbrubygemsunverified

Ruby & JRuby gem with a fast k-d tree C implementation using FFI bindings with support for latitude/longitude and geo distance range search

gem install geokdtree
INSTALL
IMPORT
SIG · GEOKDTREE
G
geokdtree
networkingrubyv0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

GeoKDTree
✓ require 'geokdtree'

Create a k-d tree and perform a nearest neighbor search.

require 'geokdtree' tree = GeoKDTree::Tree.new(2) tree.insert([40.7128, -74.0060], "New York") results = tree.nearest([40.7128, -74.0060], 1)
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
OpenAI (training)
1
Resources
geokdtree — gem install geokdtree · libregistry