Restaurant Database Food across California Rebecca Flores GEOG 375
OBJECTIVE Create a script to query out chosen counties in a geodatabase to then be exported to a KMZ file for easy viewing in Google earth
DATA COLLECTION Counties and State (CA) from Excel spreadsheet for data collection of restaurant locations
REQUIREMENTS Plotted points Accessible from Microsoft Access Multiple attributes Searchable by county
DATABASE Restaurant Locations (points) Counties States Personal Geodabase:
PYTHON Set up of the script. This section contains basic information such as file names, and file locations.
PYTHON In this next section, I am running creating a layer, running a query, copying those results, creating a new query, and then exporting my features to KMZ file
PYTHON I included the except clause you provided to help me locate problems in my script, if any.
FINAL RESULT An example of my final results in Google earth. You can see the Attributes which were in my original Restaurant feature class.