I am building a non mapping javascript app and I am wanting to take a lat/long coordinate and query a MySQL table of polygons for the one that contains the point.
I have looked into MySQL spatial datatypes and how to query it, however, it seems to me that you can only return a true/false value for whether or not a specific point is within a specific polygon. What I want to do is look in a massive table for the correct polygon. My goal is to find the polygon.
I have also looked into maybe using PostgreSQL and PostGIS, but haven't found a solution yet.
Can anyone here point me in the right direction?