Geospatial polygon request

27 views
Skip to first unread message

John

unread,
May 15, 2017, 10:44:34 AM5/15/17
to OrientDB
Hello 
I créat some property, coordinate (OPoint)

create property Tag.coor EMBEDDED Opoint

I want to make a polygon request return all my Opoint on the polygon  
someone know to do that ? 

user.w...@gmail.com

unread,
May 17, 2017, 4:40:21 PM5/17/17
to OrientDB
Hi,

which version are you using? Could you explain better what do you wanna do?

Thanks in advance.

Regards,
Michela

John

unread,
May 18, 2017, 4:38:50 AM5/18/17
to OrientDB
I use 2.2.18

i find the request (ST_WITHIN)

select coor from Tag where ST_WITHIN(coor,'POLYGON ((0 0, 20 0, 20 20,0 20, 0 0))') = true

TY
Reply all
Reply to author
Forward
0 new messages