tile38
tile38 copied to clipboard
How can I tell if a point is in a region with tile38
this is my region SET ps p1 OBJECT '{"type":"Polygon","coordinates":[[[120.438089,36.351295],[120.440101,36.351022],[120.440304,36.35047],[120.43795,36.350794],[120.438089,36.351295]]]}',need judgment point[120.439113,36.350892],Is located in p1
Try the INTERSECTS command.
INTERSECTS ps OBJECT '{"type":"Point","coordinates":[120.439113,36.350892]}'
尝试INTERSECTS命令。
INTERSECTS ps OBJECT '{"type":"Point","coordinates":[120.439113,36.350892]}'
This statement should return a boolean type,But what I get back is this (integer) 0 2) (empty list or set)