1 / 17

PYTHON Project 4 - Geoprocessing Script An Van Delm – CE 697V – November 8, 2006

PYTHON Project 4 - Geoprocessing Script An Van Delm – CE 697V – November 8, 2006. Project description. New Toolbox containing SCRIPTS: create GDB set Spatial Reference set Extent Input features, rasters and tables Site Selection Tool Field access and manipulation.

lilka
Télécharger la présentation

PYTHON Project 4 - Geoprocessing Script An Van Delm – CE 697V – November 8, 2006

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. PYTHON Project 4 - Geoprocessing Script An Van Delm – CE 697V – November 8, 2006

  2. Project description New Toolbox containing SCRIPTS: • create GDB • set Spatial Reference • set Extent • Input features, rasters and tables • Site Selection Tool • Field access and manipulation

  3. for multiple purposes... • separate scripts • Parameters + use of interface • Developed Site Selection Tool is a often used combination of existing tools: buffer + select towards buffered zone (within, intersect,…) • Interface, Help and Comments

  4. Creating GDB + Spatial Reference Provides defaults Check existence of path

  5. Existence of path Checkdifferentpossibilities of set extent

  6. Input features, tables and raster-data Error messages Existence and input of GDB

  7. F T R writing in Geodatabase: when path exists + input

  8. Site Selection Error messages Check existence and input of arguments

  9. Default values for Dissolve and Selection type option, instead of warning message Create layer name for result out of input layer of selection

  10. Add and/or Remove field Error messages Same input layer for Add or Remove

  11. Use of Boolean expression to Add or/and Remove If nothing is checked -> error message

  12. Conclusion • Scripts easily to adjust by adding parameters • Use of interface and possible values to select -> easier to use • Warning of non existing path to avoid difficulties later - Difficult to find errors when running in ArcGIS, when there are no errors in Python

More Related