I was looking for a way to check if a point is part of a polygon; this polygon is loaded from a file.
All answers related to this question are solved using javascript, but I demand to do this on the server side; this is because the result should not be displayed to the user as a web client, it must be saved and then used as a parameter to select a group of users (using the system) inside this area (polygon).
I was looking for the Google Maps API for PHP, but it looks like it doesn't exist at all. I found this one , but it is not related to Google, and also focuses on the interface.
I also looked for a REST API; it would be relatively easy to upload the content to my php and parse it, but it looks like Google has made every effort to the JS API.
Is there any workaround for this?
Change 1 . At the request of @Spacedman, the file format is KML
Clarification 1 . I expected Google to provide a tool for this (as it exists with JS); parsing the file for checking by the algorithm is likely, and I will need to check if it works correctly.
source share