Upload
marilynn-dean
View
233
Download
2
Tags:
Embed Size (px)
Citation preview
Esri UC2013 . Technical Workshop .
Technical Workshop
2013 Esri International User ConferenceJuly 8–12, 2013 | San Diego, California
Sharing Workflows with Geoprocessing Packages
Bill Moreland, Ashley Pengelly
Esri UC2013 . Technical Workshop .
Workshop overview• Agenda
i. Overview of sharing analysis
ii. Basics of geoprocessing packages
iii. Creating geoprocessing packages
iv. Sharing geoprocessing packages
v. Using geoprocessing packages
vi. Anatomy of a geoprocessing package
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Ashley Pengelly
Overview of Sharing Analysis
Esri UC2013 . Technical Workshop .
Sharing Analysis
Analysis
Package
Service
GIS Professionals
Everyone
Share as…
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Sharing Analysis• Simple concept
• Powerful implications- Reuse of your tradecraft with others- Others can easily learn from your hard work and
expertise.
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Basics of Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Remember this………
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
What is a geoprocessing package?• A compressed file (.gpk) containing ArcGIS tools and data
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
What is a geoprocessing package?• A compressed file (.gpk) containing ArcGIS tools and data
• Designed to enable GIS professionals to easily share analysis work
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
What is a geoprocessing package?• A compressed file (.gpk) containing ArcGIS tools and data
• Designed to enable GIS professionals to easily share analysis work
• Can be shared:- As a file uploaded to ArcGIS Online- As an attachment to an email- Across a network
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
What is a geoprocessing package?• A compressed file (.gpk) containing ArcGIS tools and data
• Designed to enable GIS professionals to easily share analysis work
• Can be shared:- As a file uploaded to ArcGIS Online- As an attachment to an email- Across a network
• Unpacked and consumed by ArcGIS Desktop orArcGIS Runtime applications
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Why use geoprocessing packages?• Improve productivity- Learn from experts- Fewer resources wasted on duplicating efforts- Enable more people to work in parallel
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Why use geoprocessing packages?• Improve productivity- Learn from experts- Fewer resources wasted on duplicating efforts- Enable more people to work in parallel
• Enhance collaboration- Efficient team work within an organization- Combine the power of a large pool of diverse talents - Be part of the ArcGIS Online community
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
What is in a geoprocessing package?
Geoprocessing packageSharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Creating Geoprocessing Packages
Esri UC2013 . Technical Workshop .
The steps
• Only successfully run analyses can be shared
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Prepare tools for sharing
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Prepare tools for sharing• Test and debug models, scripts, and tools with data
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Prepare tools for sharing• Test and debug models, scripts, and tools with data
- Take the time and effort to document the tools- Go beyond the minimum requirement
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Prepare tools for sharing• Test and debug models, scripts, and tools with data
- Take the time and effort to document the tools- Go beyond the minimum requirement
• Considerations for sharing:- Size of the data included in the package
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Run tools- Execute the tools, which will write results in the Results
window- Only valid results can be shared as packages
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Run tools- Execute the tools, which will write results in the Results
window- Only valid results can be shared as packages
- A geoprocessing package can have more than one result- Consolidate different results into one package
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Share analyses as geoprocessing packages
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Creating a Geoprocessing Package
Demo
Esri UC2013 . Technical Workshop .
Using and Customizing Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Ashley Pengelly
Using and Customizing Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Using geoprocessing packages: The steps
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Get geoprocessing packages• Search for geoprocessing packages on ArcGIS Online- Keyword search- Search for tools- Options to download or open in ArcGIS Desktop
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Get geoprocessing packages• Search for geoprocessing packages on ArcGIS Online- Keyword search- Search for tools- Options to download or open in ArcGIS Desktop
• Receive geoprocessing packages from others- Email- ftp- File sharing
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Unpack a geoprocessing package
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
• Unpacked results are available in the Shared node in the Results Window
Use geoprocessing package in ArcGIS
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Optional steps
Optional
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Editing geoprocessing packages
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Using a .GPK
Demo
Esri UC2013 . Technical Workshop .
Bill Moreland
Anatomy of a .gpk
Esri UC2013 . Technical Workshop .
Folder Structure DemystifiedWhere do my packages live?
XP C:\Documents and Settings\<username>\My Documents\ArcGIS\Packages
Vista and Windows 7 C:\Users\<username>\Documents\ArcGIS\Packages
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Folder Structure Demystified
Top level folder name comes from the ‘Name’ of Result
Top level folder name comes from the ‘Name’ of ResultCommondata folder:
• For items that are version independent- Ie: Shapefiles, File based rasters
Commondata folder:• For items that are version independent
- Ie: Shapefiles, File based rasters
Shapefile that was usedas input.
Shapefile that was usedas input.All non spatial files
- Ie: Additional files
All non spatial files- Ie: Additional files
• Original toolbox • and model
• Original toolbox • and model
• Output dataset• Output datasetgeoprocessingTask created
from original model(Tasks are needed to handle limitations
of geoprocessing services.)
geoprocessingTask created from original model
(Tasks are needed to handle limitationsof geoprocessing services.)
Result file (.rlt) Result file (.rlt)
Version specific dataIe. gdbs, toolboxes
Version specific dataIe. gdbs, toolboxes
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Python Scripts- Python script tools are scanned
- Found data is consolidated
- Consolidated script tool is modified (modify only what is necessary)
- We have to recognize the data
• Considerations
- Raw building of paths
- Importing other Python Modules (Third party)
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop . Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Custom Tools• Considerations
- Manual steps involved to ensure consumers of your package are using the same 3rd party custom tools.
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Online help topics
What is a geoprocessing package?
A quick tour of creating a geoprocessing package
Using a geoprocessing package
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Analysis and Geoprocessing Resource Center
• resources.arcgis.com- (This is the home page. From here, navigate to
the Analysis community page.)
Option 1: from the home page
Option 2: click “Communities” to
get a list of all resource centers
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop .
Important features of the Analysis Resource Center
• Quick Links:- Education Gallery: you can find User
Conference presentations here- About the tool gallery: learn all about the
new gallery of geoprocessing tools and analysis hosted on ArcGIS Online
• Gallery:- A sample of entries in the tool gallery- Click More Gallery posts to see all the
entries
Sharing Workflows with Geoprocessing Packages
Esri UC2013 . Technical Workshop . Sharing Workflows with Geoprocessing Packages