Posts

Showing posts from May, 2024

Module 2- Python Fundamentals

Image
This week began to dive into the syntax of common python commands. Since python shell cannot edit multiple lines of script, scripts were edited and run on Python IDLE and ArcGIS Notebook to complete the 4 assigned steps below:  Print your last name from a created list Fix errors within a prewritten code set Populate an empty list with 20 random integers Remove an 'unlucky' number from the previously created list A full output results screenshot for each of the final scripts, run using ArcGIS Pro Notebook, is included below: I found this module to be challenging, as learning scripting commands is like learning a new language. Some of the key methods used in this module were the append, remove, split methods which usually are formatted in the <object>.<method>(<arguments>) format, or the object is listed first, followed by a “.” and the method name and the arguments in parentheses. Also, functions like len() and range() were used, which are in <function>(...

Module 1: Python Environments and Flowcharts-Convert Radians to Degrees Pseudocode

Image
To kickoff the first module for GIS5103-GIS Programming, the first task was to create a flowchart to visualize the process of a simple python script. The assigned task was to show the process of converting 3 radians to degrees and then to print the result. Flowchart shapes followed the pseudocode and flowcharts guidelines set by Agarwal et al. (2010). The final flowchart is included below:  First, the starting point is noted as an oval. Then, all the the variables are defined as rectangles. In this scenario, we are converting 3 radians to degrees, so the first rectangle shows that radians = 3. Then, the second variable, pi, is defined as 3.14. The third rectangle is the equation to be used to convert from radians to degrees, which is degrees = radians*180/pi. Once all the variables and the equation is defined, the script would be initiated by doing the command print degrees, which would provide the calculated output. This command is shown in a parallelogram in the flowchart. Finall...

Module 7: Google Earth-South Florida Population and Features

Image
The final week of Computer Cartography utilized Google Earth Pro software to create an interactive dot population density map of south Florida. Surface water vector data was provided in shapefile format. In order to open this data on Google Earth, the features were symbolized based on the water feature type and then converted to a KML file using the LAYER TO KML tool in ArcGIS Pro. Dot density data was then overlayed on Google Earth with the surface water KML file. This created an interactive map of south Florida. A screenshot of the map is included below:  Lake and ponds were symbolized as navy blue, streams a light blue, and the marsh/wetland/swamp/bog features were symbolized as a green color. Population density points were formatted as a light teal color to contrast with the aerial basemap. In addition to this map, a recorded tour of the following places was created: Miami Metropolitan Area, downtown Miami, downtown Fort Lauderdale, Tampa Bay Area, downtown St. Petersburg, and ...