Git with a cup of tea, painless self-hosted git service Mirror for internal git.with.parts use https://git.with.parts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
gitea/vendor/github.com/blevesearch/bleve/geo
Mura Li 9591185c8f Upgrade blevesearch to v0.8.1 (#9177) 5 years ago
..
README.md Use Go1.11 module (#5743) 6 years ago
geo.go Upgrade blevesearch to v0.8.1 (#9177) 5 years ago
geo_dist.go Improve issue search (#2387) 7 years ago
geohash.go Upgrade blevesearch to v0.8.1 (#9177) 5 years ago
parse.go Upgrade blevesearch to v0.8.1 (#9177) 5 years ago
sloppy.go Improve issue search (#2387) 7 years ago

README.md

geo support in bleve

First, all of this geo code is a Go adaptation of the Lucene 5.3.2 sandbox geo support.

Notes

  • All of the APIs will use float64 for lon/lat values.
  • When describing a point in function arguments or return values, we always use the order lon, lat.
  • High level APIs will use TopLeft and BottomRight to describe bounding boxes. This may not map cleanly to min/max lon/lat when crossing the dateline. The lower level APIs will use min/max lon/lat and require the higher-level code to split boxes accordingly.