Sunday, March 12, 2017

Python Scripts

Python is a programming language that is user friendly and easy to learn.  The use of python in this class is aimed at gaining an understanding of what is happening behind the scenes in programs like ArcMap when running tools and other things that require using scripted programs.

Script 1:

In Lab 5 a script was created to project, clip, and load rasters into a geodatabase.  This code uses a for loop to go through the rasters and establish their datums.  The code then decides if it needs to be changed and will project it into the  projection of the database selected.

Script 2:
This python script is query out the mines that are active, are actually the facility type of mine, and do not have a railroad on site.  It then takes these results and creates a new layer called mines_norail_final.


Script 3:
This script was designed to make one class have more weight than the others for the raster modeling lab.


No comments:

Post a Comment