geo spatial query for linked document

28 views
Skip to first unread message

Zlatko Fedor

unread,
Apr 23, 2015, 12:40:00 AM4/23/15
to orient-...@googlegroups.com
Hi

How can I get document which contains linked document with geo spatial index?
I tried:
SELECT * FROM User WHERE [place.latitude, place.longitude] WITHIN [[48,21],[49,22]]
but without success (it will always return 0 records)

Each user contains linked document "place" with fields latitude and longitude
This query will return 1 record(which is correct)
SELECT * FROM Place WHERE [latitude, longitude] WITHIN [[48,21],[49,22]]



Reply all
Reply to author
Forward
Message has been deleted
0 new messages