Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

github.com/p/go-geo-grid-search

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/p/go-geo-grid-search


Version published
Created
Source

GoDoc

ggsearch is a package for performing fast K-closest lookups of places on Earth.

The distinguishing feature of ggsearch is that it does not require a bounding box for querying. ggsearch builds a sparse grid index of the places and performs queries by iterating the grid tiles in a spiral fashion.

Documentation

Documentation is available on godoc.org.

Here is an example showing how to use ggsearch.

Performance

ggsearch was built for speed. On a t2.micro AWS instance a Web service running ggsearch queried a data set of 40,000 places in 5 ms/request.

Caveats

ggsearch is built for querying populated areas and as such querying near the poles is not going to produce the right results.

License

Released under the MIT license.

FAQs

Package last updated on 24 Feb 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc