I have found the following mysql spatial functions which can check a given lattitude and longtitude is inside the polygon or not.

1 - MBR_Contains

2 - MBR_Within

Please guide me, which will give fast and accurate result to check a given point is inside or outside of the polygon in MySql server by the query itself.

Also Suggest me, If you found any better solution than this ( It should be checked by query in Mysql Server.)?


Read more here: which function is good to check whether the given lat & lng is inside the polygon?


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: