I want to know a way to find if a point A (51.583925276849264, -0.00036435056268404063) lies within the points of a shape (for example that the shape can be a rectangle, polygon, or any other shape).
Also, which is the best way to store shape points? For example, I can store shape points in MySQL database, in a KML file (Google format), or in GeoJSON format in a JSON file.
But please remember I'll need to geo-query those points. Can I run geo queries on a KML file and JSON file? I know I can run geo queries on MySQL.
The purpose of this question is to find if a restaurant lies within a zone (shape), and how to store a zone? Please note, that I have to show the zone visually on a map that different platforms (such as mobile app, browser) and KML file can be a good fit