Tuesday, August 7, 2018

Final Project: Python




My final project proposal is to locate cities or towns in Texas of a minimum size (thinking 100,000) that are within 50 miles of a major airport that contain a lake or river.  I will need to obtain data for the state of Texas including lakes and rivers as well as airports and population of cities.  Utilizing python script: 1) create a buffer around airports of maybe 50 miles.  2)Clip population data and lake/river data to airport buffers.  3)utilize the results to Create a search cursor to locate cities or towns over 100,000 in population 4)print the list of locations.

First image above is of the printed list of cities/towns with populations over 100,000, that are within 50 miles of an airport and the second is of the printed dictionary containing the name of the city and the population.  Below is an image of the catalog files showing the Clipped cities and NHD in the results folder.

No comments:

Post a Comment