A relatively straightforward requirement...
1. Create a polygon in Google Earth eg a rectangle, pentagon etc, and save as KML.
2. Import the KML polygon into MySQL (or PostGIS) as a spatial object and index (R-tree?).
3. For a series of lat/long points determine if the points are within the polygon by using spatial queries.
We would like this to run from a browser, but may require server side processing?
Also we would like the polygon stored in the database to be shown on Google Maps with a transparent fill, say red.
MySQL v5.5 is our preference but we are open to using PostGIS if this is easier/better. Please advise your recommendation as to the database.
I worked on similar project before and have much experience in this kind of project. Please PM me, i send private message about detail project i did before.
I did something like the what you did, based on both MySQL and Postgres exactly to probe the strnght and weakness of both dbms.
The purpose of the 'proof of concept' was to plot on a map the position of several hundreds specimen of minerals and provide an authomatic selection of them based on country of origin.
I am attaching in private message the links.
Hi there,
I run a small geoweb consulting company up here in Northern Canada, we specialize in building mapping applications for the web. I have built numerous Google Maps & Earth apps and am very happy living in the space between GIS and web technology. I am a certified Google Maps developer (can provide credentials on request).
I see few difficulties in building your app. I am happy using MySQL but would prefer using PostgreSQL (and PostGIS) and you are right there will be a touch of server side work.
I hope to hear from you soon,
Will