NGA Advanced Python Programming for GIS, GLGI 3001-1

Lesson 3: Advanced Geoprocessing

PrintPrint

We have made it past the halfway mark in the class and I hope you are starting to see where and how you can employ Python to make your daily tasks easier. Lesson 3 builds on the previous lesson and we will be investigating advanced geoprocessing in Python. We will start with looking at List Comprehension, Regular Expressions (regex), and then transition to exploring two of the popular python package managers, pip and conda.  

Since most scientific packages for Python contain many dependencies, installation through conda is the preferred to take advantage of condas’ built dependency resolver during package installation. Conda also is an environment manager and exporting environments for distribution, creating, restoring, and cloning can be done via the conda command prompt. Conda environments can be troublesome to get working correctly and for the brevity of this course, we are touching on the topics that can use esri’s conda installation. If you are interested trying to create an external environment using Anaconda, feel free to view the steps at our full 10-week GEOG 489 course content.

Lastly, after reviewing some scientific packages, we will dive into some Pandas operations and then finish it up with an assignment that involves iterating through a folder, reading csv data, and concatenates metrics to produce a summary file.