I have polygon boundaries stored in a collection.
Can DocumentDB perform spatial queries against polygon data such as: Is my point within a polygon?
e.g. SELECT * FROM root r WHERE
ST_WITHIN({'type':'Point','coordinates':[1, 1]}, r.geometry)
This is my document:
{
"id": "747941cfb829_1453640096710",
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
0,
0
],
[
10,
10
],
[
10,
0
],
[
0,
0
]
]
]
}
}
Thanks