Friends,
I'm new in geo. We have a table contains item information with a position (latitude and longtitude).
The user requests to get item's name in polygon of ABCD areas with below 4 points value (latitude and longtitude)
A: 35N;104W
B: 34N; 112W
C: 33N,97 W
D: 32N, 108W
How do I find these items in requested polygon ABCD area?
select item_Name, time FROM TEST_POS p
WHERE (GET_TEXT (p.lat_lon.sdo_point.y) between yya and yyb')
and (GET_TEXT (p.lat_lon.sdo_point.x) between xxa and xxb')
and (p.date < (sysdate -1)
where put c and d condition of latitude and longtitude?
Thanks for help!!
newdba