60
Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18 th , 2015 David Howes, Ph.D. - David Howes, LLC

Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

Integrating Office 365 and ArcGIS

Washington State Joint Agency GIS Day

November 18th, 2015

David Howes, Ph.D. - David Howes, LLC

Page 2: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 3: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 4: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 5: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 6: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 7: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 8: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

Challenge

Integrate the capabilities of

• Office 365-Excel add-ins

• ArcGIS for Server geoprocessing

• .NET Server Object Extension

• Python geoprocessing service

• ArcGIS Online mapping

Page 9: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

App vs. Add-In

• An app is a self-contained unit with its own interface

(see About Tech page)

• An add-in can’t operate on its own - adds to or extends the capabilities of the host program

• Note updated Microsoft terminology

https://msdn.microsoft.com/en-us/office/aa905340.aspx

Page 10: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 11: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

Why?

Page 12: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

Business Case

• Office 365 is being implemented widely at the enterprise and small business levels

• Excel/ArcGIS integration offers a powerful platform for what Esri terms “GeoEnrichment”

• David Howes, LLC

• GIS consulting business

• Tools, processes and supporting infrastructure

• Clients ranging from small businesses to multinational corporations

Page 13: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

Business Case: Microsoft

• Build on existing .NET desktop/web development capabilities

• BizSpark

• Free access to Microsoft productivity and development tools

• Azure credits

• Websites

• Virtual machines

• Storage

Page 14: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

Business Case: Esri

• Rich history with Esri software use and development

• Esri Developer Network (EDN)

• $2,190 per year

• EDN Annual Subscription with ArcGIS for Desktop Basic

• Access to ArcGIS Server Workgroup Advanced

Page 15: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

Business Case: Client Needs

Page 16: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 17: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 18: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 19: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 20: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

General Process

1. Select some records in Excel

2. Send data to ArcGIS Server

3. Do something with it

4. Get some results back

5. Show results in worksheet and on a map

Page 21: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

Specific Process (1)

1. Select records defining species locations in Excel

2. Send data in JSON format to

• ArcGIS Server .NET (C#) Server Object Extension (SOE)

• Python geoprocessing service

3. Run the Spatial Analyst ExtractMultiValuesToPoints tool

a. For each point location, get the values from three land cover rasters (shrub, herbaceous, bareground)

b. New field added to feature class for each raster

Page 22: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

Specific Process (2)

4. Read the values from the feature class table

5. Send the raster values in JSON format back to Excel

6. Insert the values into the worksheet next to the point records

Page 23: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 24: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

Outbound JSON

{

"headers":[

["ID","Long","Lat"]

],

"rows":[

[1,-109.134,46.352],

[2,-109.127,46.349]

]

}

Page 25: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

Return JSON

{

"Result": {

"1": {

"shrub": "0.208",

"herbaceous": "0.335",

"bareground": "0.324"

},

"2": {

"shrub": "0.220",

"herbaceous": "0.303",

"bareground": "0.155"

}

}

}

Page 26: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

How to Create the Excel Add-in

Page 27: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 28: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 29: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 30: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 31: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 32: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 33: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 34: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 35: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

How to Include the ArcGIS

Online Map

Page 36: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 37: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

How to Create the Server Object Extension

Page 38: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 39: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 40: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 41: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 42: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 43: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

How to Create the Python Geoprocessing Service

Page 44: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 45: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 46: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

Complications

Page 47: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

Add-In: SharePoint Online App Catalog

Page 48: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

ArcGIS Server Development

• File geodatabase schema locking• ExtractMultiValuesToPoints tool to fail• Deleting fields function (ArcObjects or Delete tool)

“General function failure”

• Debugging is limited• Open Visual Studio as Administrator• Attach process• Step forward only

• Compiling• Intermittent failure• May be related to ArcGIS Server locking

Page 49: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

ArcGIS Server Reinstallation

• ArcGIS Server uninstall leaves remaining files:

• C:\arcgisserver

Data/configuration files - check before deleting

• C:\Program Files\ArcGIS\Server

Various system files

• Consequence:

Page 50: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015
Page 51: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

Python GP Service: Missing Output

Page 52: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

Python GP Service: Messaging

• Return error messages as well as results in output JSON string

• ArcGIS Server log entry

Page 53: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

Python GP Service: Testing

Page 54: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

Next Steps

Page 55: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

Next Steps: Excel Add-In

• Solve security problem with SharePoint Online App Catalog

• Try to place return data directly into required cells without having to position cursor

Select input data

Determine output data placement

Page 56: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

Next Steps: ArcGIS for Server

• Address Python, .NET issues

• May need to reconsider data storage - file geodatabase may not be a suitable, even with a single user situation

• Could spend $1,000 to upgrade EDN subscription to allow use of ArcSDE, or consider other options (e.g., open source)

Page 57: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

Next Steps: ArcGIS Online

• Install Portal for ArcGIS

• Experiment with enhanced map content and functionality

Page 58: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

Takeaway Messages

• Potentially huge market for Office 365/GIS integration

• Office 365 add-ins offer a highly customizable alternative to Esri Maps for Office, leveraging existing infrastructure for many organizations

• Investment in learning skills related to server and cloud technology worthwhile

Page 59: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

Questions?

Page 60: Integrating Office 365 and ArcGISgispd.com/Documents/WA State GIS Day 2015-Howes... · Integrating Office 365 and ArcGIS Washington State Joint Agency GIS Day November 18th, 2015

Thanksfor

Coming

http://gispd.com/eventshttp://dhowes.com/presentations

Slides available at: