See MongoDB
https://docs.mongodb.com/manual/reference/operator/query-geospatial/
for details of spatial queries. This functions generates only:
geoIntersects, geoWithin, near or nearSphere.
gc_query(query, type, coords, ...)
| query | MongoDB query type which must be
one of |
|---|---|
| type | geom type which must be a valid GeoJSON type |
| coords | list of coordinates which matches |
| ... | different params. |
JSON valid MongoDB query