Details
-
Bug
-
Status: Open
-
Test Blocker
-
Resolution: Unresolved
-
None
-
*Location*: https://docs.couchbase.com/server/current/fts/fts-geospatial-queries.html
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36
*Screen Resolution*: 1920 x 1080
Description
Missing SDK sample geoSpatial code samples here or into the SDK pages.
Reporter: Jose Molina
E-mail: jose.molina@couchbase.com
Attachments
Issue Links
- relates to
-
DOC-7429 SDK Search Options
-
- Open
-
What I was missing is having more practical information on the SDK pages. Something similar to https://blog.couchbase.com/how-to-geospatial-polygon-search/ & https://blog.couchbase.com/taming-the-gerrymander-with-geospatial-search/ .
Additionally, we should remark that polygon search was introduced into SDK +3.1 versions.
Here is a sample code, where you can see the input is a list of Coordinate and the class is GeoPolygonQuery for example.
{
GeoPolygonQuery query = SearchQuery.geoPolygon(polygon);
}