Showing posts with label gis 5103. Show all posts
Showing posts with label gis 5103. Show all posts

Friday, June 6, 2014

Python Fundamentals Part 1


The goal of this weeks assignment was to create a Python script that would take anyones full name and select the last name, count the number of letters in the last name, then multiply that by three. This was a short six line script that took me way too long to complete. I guess my brain has not wrapped itself around how programming should look yet.

To create the final output of the name and digits to be prints required a couple easy steps. First was to set the variable of the full name. Next was to split the name into a list so that the last name could be selected and counted. The last step was to print the results above.

Friday, May 30, 2014

Geoprocessing in ArcGIS



In this weeks assignment I had to create a tool through the ArcGIS model builder, export it as a Python script, modify it to work as a standalone script, then re-test it within ArcGIS. The model was built to examine the area within a basin that would make for suitable farming land. First the land was clipping to just the study area, then just the area that is suitable for farming was selected and remained.