Creating Geoprocessing Services and Web Tools. Darren Baird, PE, Esri

Similar documents
Creating and Working with Geoprocessing Services. Kevin Hibma March 12, 2014

ArcGIS Enterprise: Performance and Scalability Best Practices. Darren Baird, PE, Esri

Survey123 for ArcGIS: An Introduction. James Tedrick Erin Densford

Scientific and Multidimensional Raster Support in ArcGIS

ICAP - Intelligence Configuration for ArcGIS Pro. Natalie Feuerstein Dan Barnes Joe Bayles

Application of GIS to Cybersecurity. Brian Biesecker Ken Mitchell

Collector for ArcGIS: What s New. Chris LeSueur & James Tedrick

Working with Feature Layers. Russell Brennan Gary MacDougall

Administering Your ArcGIS Enterprise Portal Bill Major Craig Cleveland

Python: Building Geoprocessing Tools

ArcGIS Enterprise Security: An Introduction. Randall Williams Esri PSIRT

Building Geoprocessing Tools with Python: Beyond the Basics. Dave Wynne

Python: Beyond the Basics. Brittney White, Esri Jordan Douthitt, Pennsylvania State University

Web AppBuilder Presented by

Introducing Survey123 For ArcGIS

ArcGIS Online: Three-and-a-Half Ways to Create Tile Layers. Eric Anderson & Adam Eversole Esri Support Services

Python: Beyond the Basics. Brittney White

Advanced Parcel Editing. Amy Andis Tim Hodson

An Introduction to Using Lidar with ArcGIS and 3D Analyst

Real-Time & Big Data GIS: Best Practices. Suzanne Foss Josh Joyner

hereby recognizes that Timotej Verbovsek has successfully completed the web course 3D Analysis of Surfaces and Features Using ArcGIS 10

Android Team Awareness Kit (ATAK) and ArcGIS

PYTHON: BUILDING GEOPROCESSING TOOLS. David Wynne, Andrew Ortego

ArcGIS Desktop: Introduction to Geoprocessing with ModelBuilder Kevin Armstrong ESRI

ModelBuilder: An Introduction. Kevin Armstrong

ArcGIS Enterprise Extending Services. Bill Major

Understanding and using Metadata across the ArcGIS Platform. Aleta Vienneau Marten Hogeweg

ArcGIS Enterprise Performance and Scalability Best Practices. Andrew Sakowicz

ArcGIS Runtime SDKs Building Offline Apps. Nick Furness

High Availability & Disaster Recovery. Witt Mathot

BEST PRACTICES FOR MAP DESIGN: ADVANCED

Best Practices for Designing Effective Map Services

What Makes a good content item GREAT?

PYTHON: BUILDING GEOPROCESSING TOOLS. David Wynne, Geri Miller

Building Java Apps with ArcGIS Runtime SDK

Understanding and Using Metadata in ArcGIS. Adam Martin Marten Hogeweg Aleta Vienneau

Sharing Web Layers and Services in the ArcGIS Platform. Melanie Summers and Ty Fitzpatrick

An Introduction to ArcGIS Arcade. Tyson Quink

ArcGIS Enterprise: Portal Administration BILL MAJOR CRAIG CLEVELAND

Data Interoperability An Introduction

Designing and Using Cached Map Services

ArcGIS Pro: Mapping & Visualization. David Watkins, Edie Punt &

ArcGIS Desktop The Road Ahead. Amadea Azerki

Working with Scientific Data in ArcGIS Platform

Configuring ArcGIS Enterprise in Disconnected Environments

Enabling High-Quality Printing in Web Applications. Tanu Hoque & Jeff Moulds

Extending ArcGIS for Server. Jon Satchwell, Esri Switzerland Cédric Despierre Corporon, Esri France

Automating Geodatabase Creation with Geoprocessing

Introduction to Your First ArcGIS Enterprise Deployment. Thomas Edghill & Jonathan Quinn

Utility Network Management in ArcGIS: Migrating Your Data to the Utility Network. John Alsup & John Long

Corporate Brand Your Vector Basemap. ANDREW GREEN

Getting Started with ArcGIS Runtime. Jeff Shaner David Cardella

ArcGIS Pro Tasks: Tips and Tricks. Jason Camerano

Architect your deployment using Chef

Developing Add-Ins for ArcGIS Pro (.NET) Toronto Esri Canada UC Presented by: Gandhar Wazalwar & Kern Ranjitsingh October 11, 2018

Developing Qt Apps with the Runtime SDK

ArcGIS Pro Tasks: An Introduction. Jason Camerano Amir Bar-Maor

ArcGIS Enterprise: Advanced Topics in Administration. Thomas Edghill & Moginraj Mohandas

Making the Most of Raster Analysis with Living Atlas Data. Aileen Buckley, PhD, Research Cartographer Esri - Redlands

ArcGIS Data Reviewer: Ensuring Accurate and Complete Data to Meet Your Mission. John Grammer Kevin Pusey

ArcGIS GeoEvent Server: Leveraging Stream Services. Ken Gorton RJ Sunderman

ArcGIS Enterprise Security: An Introduction. Gregory Ponto & Jeff Smith

ArcGIS Pro: Image Segmentation, Classification, and Machine Learning. Jeff Liedtke and Han Hu

Integrating Imagery into ArcGIS Runtime Application. Jie Zhang, Zhiguang Han San Jacinto, 5:30 pm 6:30 pm

ArcGIS Pro Editing: An Introduction. Jennifer Cadkin & Phil Sanchez

ArcGIS Runtime SDK for Qt: Building Apps. Koushik Hajra and Lucas Danzinger

ArcGIS GeoEvent Server: Making 3D Scenes Come Alive with Real-Time Data

ArcGIS Runtime SDK for WPF

ArcGIS Pro: What s New in Editing and Data Management

Open File Explorer Start Pro with SanFran project Open Locator in SanFran project Open Browser and AGOL with RouteExample Web map.

Getting Started with ArcGIS Runtime SDK for Qt. Thomas Dunn & Nandini Rao

Python - Raster Analysis

Getting Started with Spatial Analyst. Steve Kopp Elizabeth Graham

Parallel Python: Multiprocessing With ArcPy. Clinton Dow Geoprocessing Neeraj Rajasekar Spatial Analyst

Leveraging metadata standards in ArcGIS to support Interoperability. Aleta Vienneau and Marten Hogeweg

ArcMap: Tips and Tricks

Python Raster Analysis. Kevin M. Johnston Nawajish Noman

Implementing a Hybrid Approach to ArcGIS. Philip McNeilly and Margaret Jen

Network Analysis with ArcGIS Online and On-premise Services

ArcGIS Enterprise: Sharing Imagery. Zikang Zhou Imagery and Raster team

Building Applications with the ArcGIS Runtime SDK for WPF

No Programming Required Create web apps rapidly with Web AppBuilder for ArcGIS

Map Algebra: Getting Started. Nawajish Noman

Troubleshooting Performance Issues with Enterprise Geodatabases. Ben Lin, Nana Dei, Jim McAbee

Real-Time & Big Data GIS: Leveraging the spatiotemporal big data store

Enabling High-Quality Printing in Web Applications. Tanu Hoque & Scott Moore

ArcGIS Online: Item Administration and Group Sharing. Brendan O Neill Caitlin Hillis

ArcMap Editing Tips and Tricks. Sean Jones

ArcGIS for Mobile Devices: An Overview. Jeff Shaner Bonnie Stayer

Enabling High-Quality Printing in Web Applications

ArcGIS for Server: Publishing and Using Map Services

ArcGIS Online: Best Practices for High-Demand Web Applications. Kelly Gerrow-Wilcox Bonnie Stayer Beth Romero

Best Practices for Publishing Services, Layers and Maps

Creating Mosaic Datasets and Publishing Image Services using Python

Getting Started with Spatial Analyst. Steve Kopp Elizabeth Graham

ArcGIS Pro Editing. Jennifer Cadkin & Phil Sanchez

Esri Developer Summit in Europe Building Applications with ArcGIS Runtime SDK for Java

Editing & Maintaining Parcels with ArcMap. Christine Leslie Amy Andis

ArcPad An Introduction

Desktop Mapping: Creating Vector Tiles. Craig Williams

Transcription:

Creating Geoprocessing Services and Web Tools Darren Baird, PE, Esri

Introduction Both ArcMap and ArcGIS Pro are covered Terms Geoprocessing Services and Web Tools are the same - ArcMap publishes geoprocessing services - ArcGIS Pro publishes web tools - Functionally equivalent

Design Your Service Where does your data come from? - Already on the Server - Upload the data - Feature Layer from map/feature service How do you want to view results - Draw features with map service - Client downloads and draws features

Workflow to create a Service Create tool in ModelBuilder or Python Document tool so that users understand the inputs and outputs Run tool ArcMap From Results Window, publish as service ArcGIS Pro From the Share tab or Geoprocessing History Analyze do this first, because Set service name, parameters, etc. in the Service Editor / Web UI Tool Publish Consume in WebApp, ArcGIS Pro, ArcMap, etc.

Creating and Publishing a Service Demo

Parameter Transformation Parameter types converted to supported types when publishing Only support simple types 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, files, etc. - 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 values

Supported Parameter Types Input - Feature set, feature layer - Record set, table view - Raster dataset, raster layer - File - Double, long - String (text) - Date - Linear unit Output - Feature class - Table - Raster dataset - File - Double, long - String (text) - Date - Linear unit

Data Store Data Store tells ArcGIS Server about your data Data Store acts as a lookup table Without a Data Store entry, all required data is copied to the Server

Service Editor Import configuration settings Multiple results = multiple tasks See how the task will look to someone consuming it from Desktop Analyze errors and warnings

Execution Mode Defines how the client interacts with the service while it executes - Synchronously: the client waits for the server to finish executing and then gets the result - Use only with fast services - Asynchronously: client asks the server if it s finished, then gets the result, and is free to do other work until the result is finished - Can only use a result map service with Asynchronous

Script Tools Subhead Here Paths and data handled same as models Output and intermediate paths - os.path.join(arcpy.env.scratchfolder, out.shp ) - os.path.join(arcpy.env.scratchgdb, out ) - in_memory/out In Python, we do name matching, so can do this - myroads = roads, where roads is the name of a layer - This way is very fast, so use this when possible - Other way is to reference on disk: myroads = c:\\data\\mygdb.sde\fc.sde.roads

Result Map Service Provides an additional way to get results from the Geoprocessing Service An Image is returned to the client - The data can still be downloaded Use RMS when: - Desire better cartography than the client can support - Impractical to render a large dataset in the client Execution must be set to Asynchronous Do not use in_memory workspace if using Result Map Service

Web AppBuilder Subhead Here Service layer is passed to the geoprocessing service/web tool as input The link between the two services

Web AppBuilder Demo

Performance Tips Use layers for project data Use data local to ArcGIS Server Write intermediate data to memory Note the only exception is with RMSs Preprocess data used by your tasks Add attribute indexes Add spatial indexes Use synchronous rather than asynchronous Avoid unneeded coordinate transformations Reduce data size attributes and vertices

Print Your Certificate of Attendance Print stations located in the 140 Concourse Tuesday 12:30 pm 6:30 pm GIS Solutions Expo Hall B Wednesday 10:30 am 5:15 pm GIS Solutions Expo Hall B 5:00 pm 6:30 pm GIS Solutions Expo Social Hall B 6:30 pm 9:00 pm Networking Reception Smithsonian National Portrait Gallery

Download the Esri Events app and find your event Please Take Our Survey in the Esri Events App Select the session you attended Scroll down to find the feedback section Complete answers and select Submit