Python in Jupyter Notebooks Exercises
These exercises can be used to get started with Python for GIS in a Jupyter Notebook environment, starting from introductory Python, and progressing through Numpy, Pandas, geopandas and arcpy geoprocessing, with both open-source and Esri-based methods.
Download the exercise html pages here: https://sfsu.box.com/v/SFSUGIScPythonTutorials.
A pdf version with code results:https://gis.sfsu.edu/sites/default/files/documents/PythonExercises_resu…
Data folder: https://sfsu.box.com/s/s8f4c1gw9lohi1k0211w9025yj5dd1ha
Python Script Geoprocessing Tools
By Jerry Davis, SFSU Institute for GIScience.
Instructions:
- Download and extract the zip file.
- Add the toolbox to ArcToolbox in ArcMap or ArcCatalog.
- Optionally, test with sample data in the ToolData Folder.
LineSlope Tool
Creates line segments with line slopes from existing polylines.
Survey Tools
Converts surveyed XYZM and NEZM points into 3D polylines and 3D points.
Systematic Stratified Unaligned Sample Tool
Creates a systematic stratified unaligned sample of points for polygons.
Ruggedness Tool
Creates a surface from an elevation raster representing ruggedness of terrain. Works with all ArcGIS friendly raster formats except Personal Geodatabase.
Get DEM Units Tool
To create polylines coded with their linear slope, from 3D polylines.
Hypsometry Tool
Converts surveyed XYZM and NEZM points into 3D polylines and 3D points.