TACCIMO A CASE STUDY OF MIGRATING TO THE ARCGIS SERVER API FOR FLEX

Similar documents
Working with the ArcGIS Viewer for Flex Application Builder

Building Mashups Using the ArcGIS APIs for FLEX and JavaScript. Shannon Brown Lee Bock

Creating Web Mapping Applications. Nikki Golding

ArcGIS Viewer for Flex Advanced Topics

Flex 3 Pre-release Tour

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

Web Mapping Applications with ArcGIS. Bernie Szukalski Derek Law

What s New in ArcGIS Server 10

ArcGIS Viewer for Flex An Introduction

EUCOM/AFRICOM DEFENSE USER GROUP MEETING MARCH 2010 STUTTGART WELCOME!

TRANSITIONING TO A WEB- BASED DATA MANAGEMENT AND DATA SHARING MODEL. Chris Bardash, GISP

Introduction to Autodesk MapGuide EnterpriseChapter1:

Introduction to Autodesk MapGuide EnterpriseChapter1:

Author. Publish. Use

FAQ & Troubleshooting

ESRI Software Evolution

ArcGIS Web Viewers and Templates. Andy Gup, Jim Barry

Using an ArcGIS Server.Net version 10

What is coming in. ArcGIS Server 10. Ismael Chivite ArcGIS Server Product Manager James Cardona Technical Marketing

SAP BusinessObjects Dashboard Design Component SDK Installation Guide

JUGAT Flex 3. Christoph Atteneder. May Flash / Flex Development Technical Lead Adobe Systems Incorporated. All Rights Reserved.

Huerfano County GIS Portal User Guide

Developers Road Map to ArcGIS Desktop and ArcGIS Engine

DOC - MS VISUAL STUDIO EXPRESS 2012 USER GUIDE

Modernizing California State Highway Right of Way Records with GIS. Caltrans District 4 Oakland, CA

Flex Data Services for Component Developers

ABSTRACT INTRODUCTION THE ODS TAGSET FACILITY

Introduction to Geodatabase and Spatial Management in ArcGIS. Craig Gillgrass Esri

Asset Management for CSDS and BMP Infrastructure

TRAINING GUIDE. Lucity GIS. Web Administration

Tom Brenneman. Good morning and welcome, introductions and thank you for being here.

Standardized Data Production Strategies Across Your Enterprise

ArcGIS for Mobile An Introduction. Bonnie Stayer

Foundation XML and E4X for Flash and Flex

Forest Technology: Apps, Maps, Phones, and Drones

Oracle Application Express: Administration 1-2

GeoPlanner Workshop. Esri Ocean GIS Forum November 4, Pete Aniello and Rob Stauder

Raster Serving with ArcGIS

Using Flex 3 in a Flex 4 World *

Migrating from ArcIMS to ArcGIS Server Atlanta Regional Commission, Atlanta, GA. Brock Kingston Latitude Geographics

Housekeeping Tips. Access a PDF of the slides, access the speakers bios. Participate in polls

Convert Manuals To Html5 With Adobe Flex

Calendar Management A Demonstration Application of TopBraid Live

Configuring and Customizing the ArcGIS Viewer for Silverlight. Katy Dalton

Design a Geodatabase. Rasu Muthurakku, Enterprise Solutions Architect / Consultant

Establishing a Geospatial EnvironmentChapter1:

Adobe ColdFusion level 1 course content (3-day)

FlexJS. OmPrakash Apache Flex PMC Member Advisory Software Engineer, IBM

DanubeGIS User Manual Document number: Version: 1 Date: 11-Nov-2016

Introduction to ArcGIS API for Flex. Bjorn Svensson Lloyd Heberlie

ArcGIS Enterprise: An Introduction. David Thom Solution Engineer State Government

Introduction to ArcGIS Server 10.1

Scientific and Multidimensional Raster Support in ArcGIS

Virginia Seamster 1, Ken Boykin 1, Matt Wunder 2 1

Explore some of the new functionality in ArcMap 10

GEOG 487 Lesson 2: Step-by-Step Activity

US Geo-Explorer User s Guide. Web:

What s s Coming in ArcGIS 10 Desktop

Compass INSPIRE Services. Compass INSPIRE Services. White Paper Compass Informatics Limited Block 8, Blackrock Business

Exercise 1: Getting to know ArcGIS

ArcGIS Enterprise: An Introduction. Philip Heede

Lab Assignment 4 Basics of ArcGIS Server. Due Date: 01/19/2012

ArcGIS Enterprise: Architecture & Deployment. Anthony Myers

GEOG 487 Lesson 2: Step-by-Step Activity

TERM OF REFERENCE DEVELOPMENT SPATIAL PLANNING MONITORING SYSTEM WEB BASED

GIS for the People. Sustainable, Simple and Affordable GIS for Community Based Organizations

INSPIRE: The ESRI Vision. Tina Hahn, GIS Consultant, ESRI(UK) Miguel Paredes, GIS Consultant, ESRI(UK)

INTRODUCTION TO COLDFUSION 8

Using ArcGIS for Server. Javier Abadía, Esri España Peter McDaid, Esri UK

JUGAT Adobe Technology Platform for Rich Internet Applications

SuperGIS Server 3.2 Value Edition Specification

Chris Rotondo, GIS Specialist. Prince George s County Planning Department The Maryland-National Capital Park and Planning Commission

Key Terms. Attribute join Target table Join table Spatial join

Providing Interoperability Using the Open GeoServices REST Specification

Model-Code-Deploy platform. Product Overview. Features. UML support. Requirements management

Desktop. ArcGIS Server. ArcGIS

Nick Tonias, P.E. The CEDRA Corporation. Ian Peebles, GISP The City of Edmond

GNAHRGIS MAP MIGRATION

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

Development of an Interactive Web Interface for Spatial Data Warehousing

Starter kit - Health GeoLab Collaborative ArcGIS Online platform

County of Los Angeles. Chief Information Office Preferred Technologies for Geographic Information Systems (GIS) Version 2 May 2015

Web GIS: Principles and Applications. Pinde Fu, Ph.D. Project Lead / Senior Developer Professional Services Division

REDI 5.0 User Manual

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

COPYRIGHTED MATERIAL. Part I: Getting Started. Chapter 1: Introducing Flex 2.0. Chapter 2: Introducing Flex Builder 2.0. Chapter 3: Flex 2.

Advanced Standard Basic Notes

Planning and Designing Your Site p. 109 Design Concepts p. 116 Summary p. 118 Defining Your Site p. 119 The Files Panel p. 119 Accessing Your Remote

ArcGIS for Server Michele Lundeen

Get in Touch Module 1 - Core PHP XHTML

Lytle Creek Watershed Interactive Map Project

Enterprise Geographic Information Servers. Dr David Maguire Director of Products Kevin Daugherty ESRI

Introduction to Geographic Information Systems Spring 2016

Configuring the ArcGIS for Local Government Solution

SAW Stand-alone Application for Web GIS Configuration and Deployment. PhD. Bogdan Cheveresan Esri Romania

Corporate Profile. Beyond Vision. Consulting Integration & Development

Adobe AIR 3 (1) Adobe Air 3 for Flash CS5.5 Developers Course 1. Adobe InDesign CS5 (1) Adobe InDesign CS5: Fundamentals Course 2.

Real-Time GIS: Leveraging Stream Services

Answer the following general questions: 1. What happens when you right click on an icon on your desktop? When you left double click on an icon?

Review of File Management and Introduction to ArcGIS

Transcription:

TACCIMO A CASE STUDY OF MIGRATING TO THE ARCGIS SERVER API FOR FLEX Todd Pierce, Jeff Hicks, Amber Ramirez, Caroline Dougherty UNC Asheville s National Environmental Modeling and Analysis Center Jennifer Moore Myers, Rob Herring, Emrys Treasure, Steve McNulty, and Chris Liggett USDA Forest Service, Eastern Forest Environmental Threat Assessment Center 2011 ESRI SERUG www.forestthreats.org/taccimotool

Overview Purpose of presentation: v Describe TACCIMO product v Explain migration to Flex environment v Provide lessons learned

Project History TACCIMO (Template for Assessing Climate Change Impacts and Management Options) v helps users integrate climate change science into land management planning v provides land and resource managers and planners with the best available science they need to effectively and efficiently sustain forests and the services they provide under a changing climate.

Initial version released in 2010 as a web-based assessment and reporting tool included: v Geospatial explorer shows climate data maps v Geospatial report provides climate model projections for national forests through 2090 v Content explorer displays climate change impacts on forests, along with management options, objectives, and design criteria for creating forest response plans v Report wizard generates custom reports that provide climate change specific impacts and management options Project History TACCIMO was developed through a partnership between the USDA Forest Service s Southern Research Station and Southern Region Planning divisions.

Initial Version Geospatial Explorer: initial version used out-of-the-box ArcGIS Server web application; data in ESRI geodatabases

Initial Version Content Explorer and Report Wizard: HTML and ASP.NET Geospatial Report: manually generated reports in MS Word

Initial Version The initial version was successful, but the TACCIMO development team wanted to bring the various components together into one single web application. The team also wanted to have a richer web interface using the Adobe Flex/Flash platform. UNC Asheville s NEMAC was brought in to migrate TACCIMO to the new platform and to combine the components into one application (the integrator ).

Flex Migration New version combines previous components into one interface. Demonstration v GIS data in ESRI geodatabases v Data served with ESRI ArcGIS Server 10.NET v Climate model projection data in SQL Server 2008 database

Flex Migration Geospatial explorer included in GIS Viewer window v Flex SDK 3.2 v ESRI ArcGIS Server Flex API 1.3

Flex Migration Geospatial explorer supports charts of climate model projections for clicked map points v Flex SDK 3.2 v ESRI ArcGIS Server Flex API 1.3 v PHP 5.3.3 v Zend 1.11

Flex Migration Climate Chart window shows climate data projections in tables and charts v Flex SDK 3.2 v PHP 5.3.3 v Zend 1.11

Flex Migration Content Explorer available in Science and Planning pane shows management options for areas v Flex SDK 3.2 v PHP 5.3.3 v Zend 1.11

Flex Migration Content Explorer available in Science and Planning pane also shows desired conditions, objectives, design criteria for forests v Flex SDK 3.2 v PHP 5.3.3 v Zend 1.11

Flex Migration Menu box lets user switch between states, counties, regions, and US National Forests v Flex SDK 3.2

Flex Migration Geospatial Report now accessible from menu box v Flex SDK 3.2 v PHP 5.3.3 v tcpdf 5.9

Flex Migration Geospatial Report generated on-the-fly for selected area and exported to PDF v PHP 5.3.3 v tcpdf 5.9 v Map images from WMS services in ArcGIS Server

Lessons Learned Communicate, communicate, communicate v TACCIMO team in Raleigh, NEMAC in Asheville v NEMAC team Flex beginners; TACCIMO team Flex newcomers v Many phone calls and emails v Four team visits over seven month period

Lessons Learned Moving from text based code language to compiled language presents some challenges v Flex uses ActionScript and MXML, both compiled into a SWF file for deployment v Code can no longer easily be opened in Notepad and edited on the server environment requires a development environment such as Flex Builder or Flash Builder (Eclipse is open source version) v Had to coordinate versions of Flex SDK (Software Development Kit), ESRI APIs, and Flex Builder

FlexBuilder 3 interface Lessons Learned

Lessons Learned Connecting Flex to databases requires use of server side language separate from ActionScript and MXML v For a data driven application, the Flash SWF app (client) must make requests to a database (server) v First attempts using ColdFusion worked easily, but USFS needed an open source solution v Final version uses PHP with Zend library to connect PHP to Flex (Zend located at http://framework.zend.com/)

Lessons Learned Connecting Flex to databases requires use of server side language separate from ActionScript and MXML v Zend connection required several steps v Write PHP queries to database as functions v Create a PHP gateway file to load Zend and PHP functions v Edit services-config.xml in Flex to point to gateway file v Add the services XML file into the Flex project compile arguments v Set up Remote Object in Flex to connect to the PHP functions through the gateway file v Write functions to call the Remote Object and to process results returned from PHP

Lessons Learned Flex requires a team of programmers with different skills v Previous projects at NEMAC done by one or two persons v TACCIMO required a larger team with multiple skills v One member specialized in the interface colors, styles, graphics, transitions, effects v One member focused on the GIS-Flex interaction using the ESRI API for Flex v One member focused on the database schema and the PHP code needed to query the database v One member focused on the Flex-database interactions and Zend for PHP

Lessons Learned Dedicated team programming efforts make a big difference v NEMAC staff usually work on several projects at once v For this project, 2 members were 100% dedicated, and the other 2 members were roughly 75% dedicated v Led to rapid strides in development; initial prototype completed in just a couple months v Final version delivered five months after project start v Such concentration of resources often not possible has not been done again due to competing project deadlines

Lessons Learned Large teams need code management software and version control v Subversion plugin (open source) used for Flex v Supports code check in/out and change synchronization v Worked well most of the time as long as team remembered to commit changes, and to get latest changes when opening code v Requires setting up a subversion repository

Lessons Learned Use external configuration file(s) to minimize coding changes v Similar to approach used by ESRI s Flex Viewer application v Have XML configuration file store items that end user might want to change, without need for developers to edit code and recompile SWF file v ArcGIS services to load to map v Choices for background map (streets, image, terrain, etc) v Initial extent of map and bookmarks for quick zooming v Hyperlinks to external resources in links bar v Combinations of services into map themes v Settings for map tools (print, find, identify, export, etc)

Lessons Learned Use external configuration file(s) to minimize coding changes

Lessons Learned Use external configuration file(s) to support portability v Similar to approach used by ESRI s Flex Viewer application v Have configuration file store items likely to change as application is moved across servers, or as data changes v Path to ArcGIS Server REST folder (different server names) v Location of needed images v Connection information for SQL server database v Path to export reports and resulting URL

Lessons Learned Don t be afraid to hard code things that don t change, if you get faster performance v List of states, counties, forests not expected to change store in code file instead of querying database

Lessons Learned Don t be afraid to value speed over disk space v Maps of climate change projections for areas in geospatial report data not expected to change create pre-generated images at needed scale rather than query WMS server on the fly (saved several minutes per report) v But, took 735 MB of space just for states, regions, forests counties not done (would add another 9 GB)

v Training on needed skills to keep application running Lessons Learned Transferring working application to another organization requires considerable planning and probably on-site work v Setting up same environment on server (PHP, ArcGIS Server) v Moving spatial and SQL databases v Setting up ArcGIS Services v Finding hard coded paths and URLs and making generic v Handing off needed documentation and metadata

Conclusion The TACCIMO product serves as a useful case study of migration to Flex Many lessons learned being applied to other development projects at NEMAC tpierce@unca.edu http://nemac.unca.edu/ jmooremyers@fs.fed.us www.forestthreats.org/taccimotool