Another feature I would like to provide (now, if it is not too difficult, or as a future update) is the ability for my users to dynamically build a KML (as a lot of users would be using GoogleEarth) or a shapefile based on the users' specific request (single country/multiple countries, states or cities within countries, etc). To build the KML, I know that I would need a list of decimal lat/long for the shape of the polygon. I am not sure what would be needed for the shapefile. My reasoning for this feature is to allow GoogleEarth users the ability to quickly/easily generate a KML and, for GIS users, my tool could just be another front end to the SDE to generate specific shapefiles.
So, specifically: 1. What do I need to do to be able to look up a location based on a coordinate located within that location? 2. What is the best way to dynamically create a KML? 3. How can I dynamically create a shapefile keeping the data from the original database?
As this is a work in progress, I am open to suggestions to improve what I have done so far or what my thinking for the rest of my program.
I apologize for this being so long, but I wanted to make sure I included my entire thought process to provide the background for my questions.
Thank you in advance for your input.