geoprocessing
Quick & Dirty arcpy: Field Listings
Multiple outputs for Python scripts
Zipping a shapefile via ArcToolbox
NED Processing in Python and Geoprocessing
The USGS updated a significant portion of NED data for my state in June. I recently downloaded the updates, processed them–projecting and converting the elevations from meters to feet–using python and geoprocessing. My python skills are still pretty crude but I was able to get the job done.
One of the benefits of working for the public sector is that I can more freely publish code without worrying about ‘trade secrets’ or what have you so I thought I would put my code out for anyone to see, maybe someone will find it useful. It is split into two separate files, mostly because I used Model Builder to generate the main processing chunk of code (Project_Reclassify.py) and another script to control looping, etc. The code isn’t pretty and you’ll see the results of my development process with two subroutines in LaunchScript.py that could really be one.