Can you query overlapping user-defined polygons at a given point in Google Maps?
I need to find out the limitation of working with the Google Maps API, and the possible solutions for doing semi-complex spatial comparisons.
What I'm looking to achieve is a system of comparison that will allow the querying of overlapping user-defined spatial polygons upon a given point (A residential address).
Basically, a restaurant will have a given delivery area who's parameter will be defined by X geo-coordinates. An address is represented by a single point (x, y).
I've been advised that the best back-end for these type of spatial comparisons is postGIS; however, upon reviewing the terms and condition set by the Google Maps API, it is not clear if you are allowed to store the geocoordinate response Google provides.
10.1.3 - For example, you must not use the Content to create an independent database of “places.”… yet,
… except that you may store: (i) limited amounts of Content for the purpose of improving the performance of your Maps API Implementation if you do so temporarily, securely, and in a manner that does not permit use of the Content outside of the Service
My question(s) are:
Has anyone had any experience working with spatial polygons and Google Fusion Tables?
Has anyone had experience working with the Google Places API, does it enable these types of comparisons?
I'm very keen on using Google Maps, with the prospect of subscribing to the premium service given the success of my application. Has anyone else had experience with these types of calculations, is there something that I'm missing?
I don't have experience with the Google Places API, but I do have some experience with the Google Maps API and Google Fusion Tables.
When you upload a table to a Fusion Table, it can include tables with a spatial (geometry) element like KMLs or shapefiles (although, you do have to use a conversion to get a shapefile directly into a Fusion Table). Once there, you can assign symbologies and pop-up features. Fusion Tables support points, lines, and polygons.
Anyway, I hope this helps to answer some of your questions. Hopefully, some others who are more familiar with the other questions can answer more fully.
Edit: Just found this link/discussion of querying Fusion Tables that may useful.