Thursday, March 17, 2016

Post 2: Python Scripts

Python is a programming system that is designed to help user deliver more concepts in fewer lines of text. Python makes geoproccessing in ArcGIS more simple, this is the system that ESRI chooses to use as its base platform for open source distribution. Python has many operations that it can do including frameworks, advanced content management, web development and many other uses. In comparison to other similar software it is widely considered to be more user friendly. Knowing how to work with a program such as python helps to diversify your skills and is becoming a larger part of the GIS industry each year.


 Below is the Python script that was written for exercise 5, the data was taken from multiple websites online, organized in Arc catalog and then the script was written to do the operations that are described in the script.


Figure 1: First attempt into writing our own script


Below in Figure 2 is a Python script that was designed to preform network analysis to help find a way to accurately tell the impact of trucking sand to rail terminals by the use of roads. The script below was made to include certain details about the mines. The mines had to be active and more than 1.5 KM away from a railway. That is done because some sand companies build there own private railway to hook up with the big rail system. The script below produced a total of 44 mines. 


Figure 2: Sand Mines Script




No comments:

Post a Comment