Using Geoprocessing Services with ArcGIS Web Mapping APIs

Similar documents
UNIGIS University of Salzburg. Module: ArcGIS for Server Lesson: Online Spatial analysis UNIGIS

Creating Geoprocessing Services

Building Java Apps with ArcGIS Runtime SDK

Upgrading Common Workflows from 10.2.x to 100.x with ArcGIS Runtime SDK for.net. Melanie Whalen & Lauren Boyd

How to put the Image Services in the Living Atlas to Work in Your GIS. Charlie Frye, Chief Cartographer Esri, Redlands

ArcGIS Runtime SDK for Java: Building Applications. Eric

ArcGIS Runtime: Analysis. Lucas Danzinger Mark Baird Mike Branscomb

Lab Assignment 5 Geoprocessing Service. Due Date: 01/24/2014

Working with Elevation Services. Cody Benkelman

Esri UC 2014 Technical Workshop

Packaging Projects, Maps and Layers. Shilpi Jain Melanie Summers

ArcGIS Pro: Tips & Tricks

ARCGIS DESKTOP DEMO (GEOCODING, SERVICE AREAS, TABULAR & SPATIAL JOINS)

AGENDA. Effective Geodatabase Management. Presentation Title. Using Automation. Mohsen Kamal. Name of Speaker Company Name

Analysis & Geoprocessing: Case Studies Problem Solving

Sharing Oblique and Oriented Imagery. Cody Benkelman Cristelle D Souza UC2018

Qt Developing ArcGIS Runtime Applications. Eric

Geocoding An Introduction

THE LIST USABILITY PUG 2007

Fundamentals of ModelBuilder

Session 3: Python Geoprocessing

Analysis and Geoprocessing Sessions and Demo Theater Presentations

EDUCATION GIS CONFERENCE Geoprocessing with ArcGIS Pro. Rudy Prosser GISP CTT+ Instructor, Esri

Network Analyst: Automating Workflows with Geoprocessing

Using the ModelBuilder of ArcGIS 9 for Landscape Modeling

A Server-Based Tool for Automating MODFLOW Simulations for Well Permitting Decision Support

An ESRI White Paper May 2009 ArcGIS 9.3 Geocoding Technology

Spatial Analysis with ArcGIS Pro. Krithica Kantharaj, Esri

Implementing Analysis in ArcGIS Runtime

Lab#2: Five Dimensions of GIS Data

ArcGIS Pro: What s New in Analysis. Rob Elkins

ModelBuilder Getting Started

Watershed Sciences 4930 & 6920 GEOGRAPHIC INFORMATION SYSTEMS

Managing Imagery and Raster Data. Peter Becker

GIS Programming Practicuum

Standing Up NAIP and Landsat Image Services as a Processing Resource. Andrew Leason

Remote Sensing in an

Provides the data analysis, management and

AECOsim Building Designer. Quick Start Guide. Chapter A08 Space Planning Bentley Systems, Incorporated

Geography 281 Map Making with GIS Project Ten: Mapping and Spatial Analysis

White paper brief IdahoView Imagery Services: LISA 1 Technical Report no. 2 Setup and Use Tutorial

Realigning Historical Census Tract and County Boundaries

Street Canyon Tool. User Guide CERC

Extending GDAL/OGR and UMN MapServer

ArcGIS Pro: What s New in Analysis

ArcGIS Pro: Scripting with Python. John Jennifer Duerr:

e!cmi - web based CATIA Metaphase Interface

Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

PRODUCT RELEASE ANNOUNCEMENT

COMMISSION BULLSEYE MANUAL. Once you log in, you will find the link to download the plugin. A helper bot is also available to assist you step by step.

GEORGIA WETLANDS TOOL

Geocoding Techniques and Options for US and International Locations. Thomas Oaks Tosia Shall

Research Article Fast Comparison of High-Precision Time Scales Using GNSS Receivers

Campus GIS (Tsukuba University Campus Geospatial Information)

Integrate DocuSign API with Force.com using REST Web Services. Ramanathan Pachaiyappan, ON24 INC, Senior Software

ARC HYDRO GROUNDWATER TUTORIALS

ArcGIS Geocoding What s New and the Road Ahead. Jeff Rogers Brad Niemand

Public Safety Geocoding Using ArcGIS Online and HERE Data

Methods for Mapping Stormwater Infrastructure

Welcome to GIS Jam 2013 at the Alaska Surveying & Mapping Conference, Anchorage.

Using Imagery for Intelligence Analysis. Jim Michel Renee Bernstein

Enhance customer experience with Conversational Interfaces

Live Agent for Administrators

PRODUCT RELEASE ANNOUNCEMENT

Working with Geocoding APIs

Ansible Tower Quick Setup Guide

Working with OpenStreetMap data. Gabriele Prestifilippo - Politecnico di Milano

ArcGIS Tutorial: Geocoding Addresses

smite-python Documentation

HP Advanced Profiling Solution Quick Start Guide

SitiAekbalSALLEH, Wan MohdNaimWAN MOHD & Eran Sadek Said MD SADEK UiTM Shah Alam Malaysia Commission No. 9.

Faculty Lecture Capture Guide

Live Agent for Administrators

Celtx Studios Owner's Manual January 2011

Project EAST Course Outline

Service Pack Notes. Service Pack Notes for May 5, New Signing Experience Updates. Extended Transition Deadline

Modeling & Simulation Capability for Consequence Management

MODULE 1 HAZARDOUS EMERGENCY DECISIONS

Archicad Layout of Drawings

An Introduction to Geoprocessing

Presentation Skills Workshop

SECTION GEOGRAPHIC INFORMATION SYSTEM (GIS)

Immersive Visualization and Collaboration with LS-PrePost-VR and LS-PrePost-Remote

RosterPro by Demosphere International, Inc.

Line and polygon features can be created via on-screen digitizing.

Sharing Data Between CAD and GIS Systems. Lien Alpert Phil Sanchez

FMJD Draughts Arbiter Pro page 1

ArcGIS 9 Using ArcGIS StreetMap

Ansible Tower Quick Setup Guide

ArcGIS Online: What s New with ArcGIS Online World Geocoding. Jeff Rogers and Brad Niemand

Between a Rock and a Hard Place

Location, Location, Location Lecture 8 (catch-up from lecture 7) Larry Rudolph. Problem Set 3

Archicad Layout of Drawings

Location, Location, Location

ArcGIS Apps and GPS GNSS Connections. By: Colin Lawrence and Kiersten Hudson

Rapid Airfield Construction Decision Support Toolset

Military Tools for ArcGIS: An Introduction. Derek Foll Lyle Wright

Live Agent for Administrators

The Global Positioning System II Field Experiments. 10/10/2013 GEO327G/386G, UT Austin 5-1

Submittal Exchange Design Team User Guide

Transcription:

Using Geoprocessing Services with ArcGIS Web Mapping APIs Monica Joseph, Scott Murray Please fill session survey.

What is a Geoprocessing Service? A geoprocessing service is a set of geoprocessing tools running at server. ArcGIS for Desktop ArcGIS Server Publish JavaScript Flex Mobile APIs Silverlight

What is a geoprocessing task? A geoprocessing task provides a unique geoprocessing functionality. A geoprocessing service can have more than one geoprocessing task. Each task has a REST URL. REST URL: http://<catalog-url>/<servicename>/gpserver/<taskname> Example of GP Task

Task Parameters Every Task has its own parameters Task Parameters are of two categories: - 1. Input parameters - 2. Output parameters Web Applications Input parameters ArcGIS Server Output parameters

Task parameter Types: - FeatureSet - RecordSet (Tables) - Raster - Linear Unit (100 Km, 50 Miles ) - File (.xml,.gpx,.txt,.zip.) - Integer, Long, Double - Date - Boolean

Task Operations Task supports two kinds of operations 1. Execute Task : For faster processes - Execution Mode : Synchronous 2. Submit Job : For long running processes (more than 10 secs) - Execution Mode : Asynchronous

Tasks in Web Applications

Tasks in Web Applications Geoprocessing tasks can be accessed through all ArcGIS Web APIs in four simple steps 1. Initialize task 2. Setup task parameters 3. Run the task 4. Get results from the task.

Demo Using tasks

Recap What is a Geoprocessing Service? Task, its Parameters and Execution type Using tasks in web applications - Use graphics as input featureset - Execute Synchronous execution - Draw a chart with the result

10.1 Goodness Improved Featureset parser

10.1 Goodness Improved Featureset Parser Input schema sent by the client takes precedence over default schema defined by the task. Empty input schema to indicate support for all geometry types and fields. Output Featuresets return field property.

What is Featureset Schema? Featureset Schema = GeometryType + Spatial Reference + Fields (attributes) Default value of a featureset parameter represents the default schema for input featuresets.

Why is schema important? Schema is important to create feature class at the server. Schema may come from client, if not use default schema. Web Applications ArcGIS Server JSON JSON FeatureSet Parser Points, Lines, Polygons Feature Class Used as Input

Defining Schema How can clients define schema? By sending appropriate JSON { "geometrytype" : "esrigeometrypoint", "fields":[ {"name":"id","type : "esrifieldtypeoid","alias":"id"}, {"name":"name","type":"esrifieldtypestring","alias":"name }], "spatialreference" : {"wkid" : 4326}, "features" : [ { "geometry" : {"x" : -104.44, "y" : 34.83, } "spatialreference" : {"wkid" : 4326}}, "attributes" : {"Id" : 43,"Name" : "Feature 1"}}, { "geometry" : {"x" : -100.65, "y" : 33.69, "spatialreference" : {"wkid" : 4326}}, "attributes" : {"Id" : 42,"Name" : "Feature 2"}} ]

Empty Default Schema Empty default value (schema) represents support for any geometry and any fields. Caution: Clients must specify schema!

Output Featuresets Output Featuresets will also have Fields property. { "geometrytype" : "esrigeometrypoint", "fields":[ {"name":"id","type : "esrifieldtypeoid","alias":"id"}, {"name":"name","type":"esrifieldtypestring","alias":"name }], "spatialreference" : {"wkid" : 4326}, "features" : [ { "geometry" : {"x" : -104.44, "y" : 34.83, } "spatialreference" : {"wkid" : 4326}}, "attributes" : {"Id" : 43,"Name" : "Feature 1"}}, { "geometry" : {"x" : -100.65, "y" : 33.69, "spatialreference" : {"wkid" : 4326}}, "attributes" : {"Id" : 42,"Name" : "Feature 2"}} ]

Recap Input Featureset Schema - What is schema and why is it important? 10.1 goodness - Client defined schema takes precedence. - No schema input featureset - Output featureset returns field property

Demo 10.1 Featureset

Result Map Service

Result Map Service (RMS) Task results are returned as map service GP Tasks without RMS Web Applications JSON input ArcGIS Server JSON output GP Tasks with RMS Web Applications JSON input ArcGIS Server JSON output + Map Service Info: RMS is supported only for asynchronous execution

RMS Advantages Supports large dataset return values. Pre-cooked symbology. Raster outputs as layers. Support for advanced layers such as TIN, CAD etc.

10.1 Goodness Improved Result Map Service

Improved RMS Easy to access map service and its layers Download features based on query (Web API Feature Layer support) Dynamic Legends Time enabled layers Attachments and esrihtmlpopup support In one word: 10.1 RMS is a true Dynamic Map Service!

Demo: Result Map Service

Recap RMS is a map service of task results. 10.1 RMS is a true dynamic Map Service. Demo: - Asynchronous execution of tasks - Using RMS layers

File Inputs

Files in Geoprocessing Services Files such as gpx, csv, photos, zip files are processed using geoprocessing tool. Some examples: - GPX to Features - Table to Table (csv input) - Geotagged Photos to Points Other file types can also be processed using Python.

10.1 Goodness File Uploads

File Uploads New capability for Geoprocessing Service : Uploads Enabled/Disabled when publishing geoprocessing service

What is File Upload Upload local input files to ArcGIS Server. Use uploaded file as input to Geoprocessing tasks Web Applications File ArcGIS Server itemid Web Applications itemid ArcGIS Server Task Output

itemid itemid refers to a file living in ArcGIS Server. itemid can be specified as input to Raster and File inputs of tasks. JSON representation of itemid. - Example: {itemid: i2e56c31c-70b8-40d9-9b4e-687f6b6110ea }

Demo: Uploading Files

Recap Uploads is a new geoprocessing service capability. ItemID can be used as input to Task parameters.

Questions? Please fill session survey!