Technical Workshops | Esri International User Conference San Diego, California Creating Geoprocessing Services Kevin Hibma, Scott Murray July 25, 2012.

Slides:



Advertisements
Similar presentations
Publishing GIS Services to ArcGIS for Server
Advertisements

Geo GIS Practicuum Introduction to ArcGIS 8 Exercise 5 - ESRI Virtual Campus Chapters 1-2, ArcGIS Methods …
Intro to ArcGIS for New Users. ArcGIS Desktop Advanced GeoprocessingArcInfo ArcReader Data Access Map Viewing Query Advanced EditingArcEditor ArcView.
Technical Workshops | Esri International User Conference San Diego, California Building Applications with ArcGIS Runtime SDK for Windows Phone Rex Hansen.
Esri UC 2014 | Technical Workshop | Audience Participation URL: goo.gl/tN4Vzq Open in device browser… CAD: The ArcGIS for AutoCAD Plug-in.
Esri UC 2014 | Technical Workshop | Working with Metadata in ArcGIS Aleta Vienneau.
School of Geography FACULTY OF ENVIRONMENT Introduction to ArcGIS 1.
Esri International User Conference | San Diego, CA Demo Theater | Using Spatial Data in ArcGIS with Query Layers Brent Pierce Thursday, July 14 th.
Rebecca Boger Earth and Environmental Sciences Brooklyn College.
Esri International User Conference | San Diego, CA Technical Workshops | ArcGIS for SharePoint, An Introduction Art Haddad Rich Zwaap.
Esri International User Conference | San Diego, CA Technical Workshops | ArcGIS Runtime Euan Cameron Mary Harvey Ralf Gottschalk Road Ahead.
Technical Workshops | Esri International User Conference San Diego, California Building Applications with the ArcGIS Runtime SDK for WPF Euan Cameron &
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Editing in ArcMap:
Esri International User Conference | San Diego, CA Technical Workshops | ArcGIS for Server Road Ahead Ismael Chivite, Anne Reuland.
Sharing imagery and raster data in ArcGIS
Sharing Geographic Content
ArcGIS Online for Organizations
ArcGIS Workflow Manager An Introduction
Esri International User Conference | San Diego, CA Technical Workshops | Loading CAD data into the Geodatabase Alex LeReaux Thursday, July 14, 2011 – 10:15.
Technical Workshops | Esri International User Conference San Diego, California ArcMap: Tips and Tricks Miriam Schmidts Jorge Ruiz-Valdepena July 23 – 27,
Introduction to ArcGIS API for JavaScript
Network Analysis with Python
Python: An Introduction
Esri UC 2014 | Technical Workshop | ArcGIS Data Reviewer Edwin Waite & Shankar Chandrasekaran Planning and Deploying Data Quality Services.
Extending ArcGIS for Server
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California ModelBuilder – Getting.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Caching Imagery Using.
Best Practices for Designing Effective Map Services Tanu Hoque.
Publishing to ArcGIS for Server
Data Interoperability Basics Bruce Harold & Dale Lutz.
Enabling High-Quality Printing in Web Applications
Leveraging ArcGIS Online Elevation and Hydrology Services
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Road Ahead - ArcGIS.
Working with Metadata in ArcGIS Aleta Vienneau. Working with metadata in ArcGIS View metadata Edit metadata Set your metadata style Leverage metadata.
Advance Map Automation With Python
Preparing and Deploying Data to ArcPad Juan Luera.
Getting the most out of ArcGIS Web Application Templates
Technical Workshops | Esri International User Conference San Diego, California Supporting High-Quality Printing in Web Applications with ArcGIS 10.1 for.
ESRI 2012 User Conference Review of Plenary Top 10 What’s new at 10.1 What we took away from it.
ArcGIS Workflow Manager Introduction
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Geocoding – An Introduction.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Supporting High-Quality.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Sharing Workflows with.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Automating Geodatabase.
Working with Feature Services Gary MacDougall Russell Brennan.
Getting the most out of ArcMap Jack Horton & Jorge Ruiz-Valdepeña.
ATN GIS Support Introduction to ArcGIS.
Esri UC 2014 | Technical Workshop | Creating Geoprocessing Services Kevin Hibma.
Desktop/Cartography. 9.2 – New Cartography Styles Flowing water legend symbol Right Click in Legend Wizard, Properties, Check ‘Override Default Patch’,
Extending the Operations Dashboard
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Python Map Automation.
Publishing GIS Services to ArcGIS Server
Esri UC 2014 | Technical Workshop | Editing in ArcMap: An Introduction Lisa Stanners, Phil Sanchez.
Esri UC2013. Technical Workshop. Technical Workshop 2013 Esri International User Conference July 8–12, 2013 | San Diego, California Working with Metadata.
Excel Services Displays all or parts of interactive Excel worksheets in the browser –Excel “publish” feature with optional parameters defined in worksheet.
Esri UC 2014 | Technical Workshop | Enhancing Web Map Performance in ArcGIS Online Julia Guard & Melanie Summers.
Sharing Maps and Layers to Portal for ArcGIS Melanie Summers, Tom Shippee, Ty Fitzpatrick.
Working with Feature Layers
PYTHON: AN INTRODUCTION
Creating Geoprocessing Services
Geoprocessing with ArcGIS for Server
Creating Geoprocessing Services
Learning Common GIS Workflows
Web AppBuilder for ArcGIS
Best Practices for Designing Effective Map Services: Case Studies
Best Practice for Geoprocessing Service
Geoprocessing Services in JavaScript
Publishing image services in ArcGIS
Designing and Using Cached Map Services
ArcGIS Pro: An Introduction Overview
Presentation transcript:

Technical Workshops | Esri International User Conference San Diego, California Creating Geoprocessing Services Kevin Hibma, Scott Murray July 25, 2012

Analysis and Geoprocessing Resource Center Quick Links: Education GalleryEducation Gallery: you can find User Conference presentations here About the tool galleryAbout the tool gallery: learn all about the new gallery of geoprocessing tools and analysis hosted on ArcGIS Online

Geoprocessing Services The geoprocessing service allows you to publish custom tools to be used via ArcGIS Server Geoprocessing services can be used by many different client applications - ArcGIS Desktop - ArcGIS Engine - ArcGIS Explorer - WSDL - REST - JavaScript - FLEX - Silverlight

Geoprocessing Services The service is composed of both the tools and the data needed by the tools Endless array of tasks can be created - Spatial analysis (vector, raster, network…) - Data Management (geodatabase, file based data) - Conversion (ETL and data loading ) You need to be knowledgeable about using geoprocessing tools to create a good geoprocessing service

Geoprocessing Service Behavior Geoprocessing Services are very flexible and allow many different behaviors Before Authoring and Publishing, identify what you want your service to do and how you want it to behave with clients. Key questions: - Does the input data come from the client or data on the server? - Do you want to draw results with map server or download and draw data on the client? - Do you want to save data on the server?

How to create a service All services start from a successful result The result acts as a template to build the service Quick Tour of Publishing:

Documenting your task All tasks must be documented Fill out the Item Description You can update metadata specific to the task you are publishing inside the Service Editor Documenting your service:

Publishing Wizard Manages parameter types Makes model or script portable - Fixes paths to data inside model and scripts Makes sure data is accessible to the service - What data is needed is packaged

Landuse Report

Landuse Report Characteristics Synchronous Inputs: polygon features (area of interest) Output: featureclass (attributes used to chart results) Project Data: raster

Parameter transformation Unsupported parameter types are handled through publishing You can update the Input Mode depending on the parameter type User Defined Value: allows the end user to interactively add features or enter text and number values Choice list: allows the end user to select from a list of layers already on the server Constant value: hard codes the parameter; the end user will not be able to provide input

Accessing your data Data Store tells ArcGIS Server about your data Without a Data Store entry, all required data is copied to the server Data Store acts as a lookup table Update Paths C:\data\analysis SDE: sqlserver:dtuser E:\fileShare\gisdata\landAnalysis SDE: sqlserver:agsuser Same Paths C:\gisdata\projects SDE: oracle:sdeuser C:\gisdata\projects SDE: oracle:sdeuser Data Store:

What happens during publishing? Project data - Copied if not in data store - Path updated if registered with the data store Output and Intermediate paths - Changed to scratchFolder and scratchGDB

Multiple Tasks Use Add Result to create a service with multiple tasks Use Preview to see how the task would appear to a user consuming the service from ArcMap

Sharing your service Make your service discoverable on ArcGIS.com Provide good metadata and search tags Coming at 10.1 sp1 : ability to open a geoprocessing service from ArcGIS.com in ArcMap

Interpolate Lead

Interpolate Lead Service Characteristics Asynchronous Inputs : Area of interest (provide by a feature set in ArcMap, or the map extent in a web application) Output: Surface (raster) Project Data: Points (with observed lead values. These points are from an enterprise database. A feature service is used to update the points)

Result Map Service A result map service (RMS) provides an alternative way to get results from the Geoprocessing Service. An image is returned to the client. - The data can still be downloaded. Use a RMS when: - Want better cartography than the client can support - It is impractical to render a large dataset in a client. Execution must be Asynchronous when using a RMS

Synchronous vs. Asynchronous Execution mode defines how the application interacts with the geoprocessing service Synchronous Application waits until job is completed and results are returned Application always draws results Appropriate for faster processing jobs. (<10 seconds) Asynchronous Application is free to do other tasks during this time. Results are saved on the server Results can be drawn by the server Results can also be downloaded if desired Appropriate for longer processing jobs. Can only use a Result Map Service with Async.

Creating Script Tools Paths and data handled the same as models Importing of modules - First looked in the same folder as source script - Second the PythonPath is searched Output and Intermediate paths - os.path.join(arcpy.env.scratchFolder, “out.shp”) - os.path.join(arcpy.env.scratchGDB, “out”) - In_memory\out Authoring GP tasks with PyScripts:

Creating Stack Profile and Viewsheds Surface Analysis

Surface Analysis Service Characteristics Viewshed Synchronous Inputs : point feature, distance Output: area features Project Data: raster Stack Profile Synchronous Inputs : line feature Output: table Project Data: raster

Performance Improvements (viewshed service) 9.3 = 8 seconds 10 = 2 seconds - Spatial Analyst read of geodatabase raster 10.1 = 0.6 seconds - 25% faster because of 64bit - 25% faster because of layer - 25% faster because of in_memory output - REST handler faster Execution time (seconds)

Enhancements Easier publishing Native 64bit Dynamic legend in Result Map Service Local Jobs Directory - No longer have to set this. Its automatically used when server participates in multimachine cluster Grid path limit expanded - Can now use paths of up to 255 characters when working with grids Raster supported in_memory workspace Multivalue for all supported parameter types Better handling of feature sets in the WebAPIs

Publishing Custom GPFunctions Can publish custom GPFunctions:.net, c++, java Publishing DOES NOT package the dll You have to install the dll on the server machine before publishing Need to build 64 bit or Any compiler Need to register separately for server install - Desktop 32 bit - Server 64 bit

Questions Please fill out your survey Offering id: 663 (Wednesday) - Offering id: 909 (Thursday) Download the PowerPoint: Download the complete presentation: (includes demos) Questions?