summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/blevesearch/bleve/geo/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/blevesearch/bleve/geo/README.md')
-rw-r--r--vendor/github.com/blevesearch/bleve/geo/README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/github.com/blevesearch/bleve/geo/README.md b/vendor/github.com/blevesearch/bleve/geo/README.md
new file mode 100644
index 0000000000..43bcd98fed
--- /dev/null
+++ b/vendor/github.com/blevesearch/bleve/geo/README.md
@@ -0,0 +1,9 @@
+# geo support in bleve
+
+First, all of this geo code is a Go adaptation of the [Lucene 5.3.2 sandbox geo support](https://lucene.apache.org/core/5_3_2/sandbox/org/apache/lucene/util/package-summary.html).
+
+## 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.