Geoprocessing Tools Intermediate GIS Concepts 9 9 1

  • Slides: 29
Download presentation
Geoprocessing Tools Intermediate GIS Concepts 9 9 -1

Geoprocessing Tools Intermediate GIS Concepts 9 9 -1

Chapter Overview Geoprocessing Tools • Solving Problems in GIS • Arc. Toolbox • Geoprocessing

Chapter Overview Geoprocessing Tools • Solving Problems in GIS • Arc. Toolbox • Geoprocessing Options 9 -2

Solving Problems in GIS 9 -3

Solving Problems in GIS 9 -3

What Kinds of Problems? Etc. Emergen cy Planning Crime Patterns Site Suitabilit y Planning

What Kinds of Problems? Etc. Emergen cy Planning Crime Patterns Site Suitabilit y Planning Market Analysis 9 -4

Example Workflow Planned Highway Expansion: Find properties within the expansion area and determine the

Example Workflow Planned Highway Expansion: Find properties within the expansion area and determine the total value – commercial and residential – to see potential expenses Buffer highway Select properties that intersect the buffer Summarize selected properties on zoning code View total property values in the sum table 9 -5

Arc. Toolbox 9 -6

Arc. Toolbox 9 -6

Arc. Toolbox Access from Standard toolbar Dockable Contains: – Toolboxes – Toolsets – Tools

Arc. Toolbox Access from Standard toolbar Dockable Contains: – Toolboxes – Toolsets – Tools – Models – Script tools 9 -7

Search for Tools Search window Tools filter Search by tool name Click to open

Search for Tools Search window Tools filter Search by tool name Click to open tool or help 9 -8

Finding Tool Help From Arc. Toolbox In the Arc. GIS Help: Geoprocessing � Tool

Finding Tool Help From Arc. Toolbox In the Arc. GIS Help: Geoprocessing � Tool Reference 9 -9

License Levels Tool availability depends on license – Basic, Standard, Advanced Show locked tools

License Levels Tool availability depends on license – Basic, Standard, Advanced Show locked tools – Hidden by default Help 9 -10

Geoprocessing Menu Commonly used tools can be accessed straight from the geoprocessing menu Additional

Geoprocessing Menu Commonly used tools can be accessed straight from the geoprocessing menu Additional resources – Search for tools – Results – Options – Environments 9 -11

Intersect Combines two or more feature classes Keeps attributes from each input feature class

Intersect Combines two or more feature classes Keeps attributes from each input feature class Works for points, lines and polygons Only areas common to all input feature classes are included in the output 9 -12

Union Combines two or more feature classes Keeps attributes from each input – Empty

Union Combines two or more feature classes Keeps attributes from each input – Empty attributes where no overlap Works for polygons Areas from all inputs are in the output 9 -13

Dissolve Merges features based on matching attributes Creates new feature class Option for statistics

Dissolve Merges features based on matching attributes Creates new feature class Option for statistics on numeric columns Examples: – Dissolve zip code polygons on city name attribute to create city polygons – Dissolve contour lines on the Z-value to remove unnecessary pseudo nodes 9 -14

Merge Appends feature classes Combines attributes Creates new output feature class Example: Combine three

Merge Appends feature classes Combines attributes Creates new output feature class Example: Combine three days of data gathering into one single feature class 9 -15

Geoprocessing Options 9 -16

Geoprocessing Options 9 -16

Geoprocessing Options Overwrite output – Warning instead of error when populating tools Background processing

Geoprocessing Options Overwrite output – Warning instead of error when populating tools Background processing Model. Builder – Prompt for parameter Results Management – Keeping too many results will slow down Arc. Map 9 -17

Environments Set Environment variables, such as current workspace and scratch workspace Environment settings affect

Environments Set Environment variables, such as current workspace and scratch workspace Environment settings affect all tools 9 -18

Results Access to all messages resulting from running tools Shows how tools were previously

Results Access to all messages resulting from running tools Shows how tools were previously run Right-click � Open to re-run a tool with the same settings Generate a Python code snippet 9 -19

Model. Builder Use Model. Builder to: – Create custom tools in Arc. Toolbox –

Model. Builder Use Model. Builder to: – Create custom tools in Arc. Toolbox – Automate tasks – Easily test alternate scenarios – Document workflows 9 -20

Python What is Python? • Free scripting language • Object oriented • Easy to

Python What is Python? • Free scripting language • Object oriented • Easy to learn, easy to use • Simple syntax rules • Lots of users across the globe What can it do? Where can you use it? • Arc. GIS Geoprocessing commands • Anything found in Arc. Toolbox • System tools • Models • Script tools • Python window • Add scripts to Arc. Toolbox • Python Parser: • Label expressions • Display expressions • Field Calculator 9 -21

More Tools to Consider Feature To Polygon Creates a feature class containing polygons generated

More Tools to Consider Feature To Polygon Creates a feature class containing polygons generated from areas enclosed by input line or polygon features. 9 -22

More Tools to Consider Points to Line Creates line features from points. 9 -23

More Tools to Consider Points to Line Creates line features from points. 9 -23

More Tools to Consider Add XY Coordinates Adds the fields POINT_X and POINT_Y to

More Tools to Consider Add XY Coordinates Adds the fields POINT_X and POINT_Y to the point input features and calculates their values. It also appends the POINT_Zand POINT_M fields if the input features are Z- and M-enabled. 9 -24

More Tools to Consider KML to Layer Converts a KML or KMZ file into

More Tools to Consider KML to Layer Converts a KML or KMZ file into feature classes and a layer file. The layer file maintains the symbology found within the original KML or KMZ file. Learn more about KML support in Arc. GIS http: //desktop. arcgis. com/en/arcmap/10. 3/managedata/kml/what-is-kml-. htm Data Conversion Toolbox 9 -25

More Tools to Consider Generate Near Table Calculates distances and other proximity information between

More Tools to Consider Generate Near Table Calculates distances and other proximity information between features in one or more feature class or layer. Unlike the Neartool, which modifies the input, Generate Near Table writes results to a new stand-alone table and supports finding more than one near feature. 9 -26

More Tools to Consider Table to Ellipse Creates a new feature class containing geodetic

More Tools to Consider Table to Ellipse Creates a new feature class containing geodetic ellipse features constructed based on the values in an x-coordinate field, y-coordinate field, major-axis field, minor-axis field, and azimuth field of a table. 9 -27

Chapter Review Geoprocessing Tools • Solving Problems in GIS • Arc. Toolbox • Geoprocessing

Chapter Review Geoprocessing Tools • Solving Problems in GIS • Arc. Toolbox • Geoprocessing Options 9 -28

Exercise 9 Geoprocessing Tools 9 -29

Exercise 9 Geoprocessing Tools 9 -29