TACCIMO A CASE STUDY OF MIGRATING TO THE ARCGIS SERVER API FOR FLEX www.forestthreats.org/taccimotool2011 ESRI SERUG Jennifer Moore Myers, Rob Herring,

Slides:



Advertisements
Similar presentations
EziLink RESULTS Training Session 1 – Show and Tell For the Ministry of Forests, Lands and Natural Resource Operations.
Advertisements

Geo GIS Practicuum Introduction to ArcGIS 8 Exercise 5 - ESRI Virtual Campus Chapters 1-2, ArcGIS Methods …
MICHAEL MARINO CSC 101 Whats New in Office Office Live Workspace 3 new things about Office Live Workspace are: Anywhere Access Store Microsoft.
Learning the Basics – Lesson 1
Lesson 15 Presentation Programs.
© 2010 Delmar, Cengage Learning Chapter 1 Getting Started with Dreamweaver.
XP Information Technology Center - KFUPM1 Microsoft Office FrontPage 2003 Creating a Web Site.
Building a GeoPortal with the ArcGIS for Flex Viewer Denver PUG 5/12/2011 Mike Riley.
Access 2007 Product Review. With its improved interface and interactive design capabilities that do not require deep database knowledge, Microsoft Office.
A Guide to Oracle9i1 Creating an Integrated Database Application Chapter 8.
1 Computing for Todays Lecture 22 Yumei Huo Fall 2006.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
QGIS Matthew Rosencrans Tom DiLiberto. Outline What is QGIS? What can we do with it? What data can we work with?
Esri International User Conference | San Diego, CA Technical Workshops | ArcGIS Viewer for Flex An Introduction Canserina Kurnia and Derek Law July 12,
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
With Alex Conger – President of Webmajik.com FrontPage 2002 Level I (Intro & Training) FrontPage 2002 Level I (Intro & Training)
Intelligent Tutoring System Mobile Communication Team Drew Boatwright Nakul Dureja Richard Liou.
Paul Trani Adobe Certified Instructor/Expert Resources:
Web Browser: Netscape Navigator and Internet Explorer By Bhupendra Ratha, Lecturer School of Library and Information Science Devi Ahilya University, Indore.
 Using Microsoft Expression Web you can: › Create Web pages and Web sites › Set what you site will look like as you design it › Add text, images, multimedia.
“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”
Adobe Dreamweaver CS3 Revealed CHAPTER ONE: GETTING STARTED WITH DREAMWEAVER.
Publications, design sets, web pages
City of Santa Cruz Embraces AGS/Flex
Classroom User Training June 29, 2005 Presented by:
GIS technologies and Web Mapping Services
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
© Ms. Masihi.  The Dreamweaver Welcome Screen first opens when you start Dreamweaver.  This screen gives you quick access to previously opened files,
SednaSpace A software development platform for all delivers SOA and BPM.
Oracle Application Express 3.0 Joel R. Kallman Software Development Manager.
Introducing Dreamweaver MX 2004
Tutorial 1 Getting Started with Adobe Dreamweaver CS3
1 Chapter 2 & Chapter 4 §Browsers. 2 Terms §Software §Program §Application.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
U.S. Environmental Protection Agency WATERS Status Update
LiveCycle Data Services Introduction Part 2. Part 2? This is the second in our series on LiveCycle Data Services. If you missed our first presentation,
TACCIMO A CASE STUDY OF MIGRATING TO THE ARCGIS SERVER API FOR FLEX ESRI SERUG Jennifer Moore Myers, Rob Herring,
Tutorial 1: Browser Basics.
1 Accelerated Web Development Course JavaScript and Client side programming Day 2 Rich Roth On The Net
Introduction to ArcGIS for Environmental Scientists Module 2 – Fundamentals Chapter 7 – Queries.
Session 1 SESSION 1 Working with Dreamweaver 8.0.
ColdFusion 9 and Flex 4: Application Development Ryan Stewart Platform Evangelist, Adobe Systems
Macromedia Dreamweaver 8 Revealed DREAMWEAVER GETTING STARTED WITH.
Visualizing Regional Transportation Projects through Web Mapping Jeff Schenck Ellen Currier Lane Council of Governments Central Lane Metropolitan Planning.
GIS On The Web: An Overview of ArcIMS. *The easy flow of geographic data can offer real-life solutions in many societal sectors, including municipal government,
Flex Data Communications Nick Kwiatkowski, Michigan State University.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 1 1 Microsoft Office FrontPage 2003 Tutorial 1 – Creating a Web Site.
Tutorial 7 Planning and Creating a Flash Web Site.
FILES AND ASSETS PANELS
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
WEP Presentation for non-IT Steps and roles in software development 2. Skills developed in 1 st year 3. What can do a student in 1 st internship.
Chapter 11 Using SAS ® Web Report Studio. Section 11.1 Overview of SAS Web Report Studio.
Unit 1 Welcome to the Internet: the Tools of the Trade.
Reading Flash. Training target: Read the following reading materials and use the reading skills mentioned in the passages above. You may also choose some.
Your Digital Technology Briefcase My information…when and where I need it.
XP Tutorial 7 Creating a Flash Web Site. XP New Perspectives on Macromedia Flash 82 Objectives Plan and create a Flash Web site Create a Flash template.
4 Copyright © 2004, Oracle. All rights reserved. Creating a Basic Form Module.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 8 1 Microsoft Office Access 2003 Tutorial 8 – Integrating Access with the.
TEAM FOUNDATION VERSION CONTROL AN OVERVIEW AND WALKTHROUGH By: Michael Mallar.
Excel Services Displays all or parts of interactive Excel worksheets in the browser –Excel “publish” feature with optional parameters defined in worksheet.
CFUNITED – The premier ColdFusion conference Flex 2.0 and ColdFusion Integration – 101 Nahuel Foronda Laura Arguello.
XP Creating Web Pages with Microsoft Office
Learning the Basics – Lesson 1
A Brief Introduction to the Internet
Tutorial 7 – Integrating Access With the Web and With Other Programs
Web AppBuilder for ArcGIS
Presentation transcript:

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

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

Project History TACCIMO (Template for Assessing Climate Change Impacts and Management Options)  helps users integrate climate change science into land management planning  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.

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

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  GIS data in ESRI geodatabases  Data served with ESRI ArcGIS Server 10.NET  Climate model projection data in SQL Server 2008 database

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

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

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

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

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

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

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

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

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

Lessons Learned Moving from text based code language to compiled language presents some challenges  Flex uses ActionScript and MXML, both compiled into a SWF file for deployment  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)  Had to coordinate versions of Flex SDK (Software Development Kit), ESRI APIs, and Flex Builder

Lessons Learned FlexBuilder 3 interface

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

Lessons Learned Connecting Flex to databases requires use of server side language separate from ActionScript and MXML  Zend connection required several steps  Write PHP queries to database as functions  Create a PHP ‘gateway’ file to load Zend and PHP functions  Edit services-config.xml in Flex to point to gateway file  Add the services XML file into the Flex project compile arguments  Set up Remote Object in Flex to connect to the PHP functions through the gateway file  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  Previous projects at NEMAC done by one or two persons  TACCIMO required a larger team with multiple skills  One member specialized in the interface – colors, styles, graphics, transitions, effects  One member focused on the GIS-Flex interaction using the ESRI API for Flex  One member focused on the database schema and the PHP code needed to query the database  One member focused on the Flex-database interactions and Zend for PHP

Lessons Learned Dedicated team programming efforts make a big difference  NEMAC staff usually work on several projects at once  For this project, 2 members were 100% dedicated, and the other 2 members were roughly 75% dedicated  Led to rapid strides in development; initial prototype completed in just a couple months  Final version delivered five months after project start  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  Subversion plugin (open source) used for Flex  Supports code check in/out and change synchronization  Worked well most of the time – as long as team remembered to commit changes, and to get latest changes when opening code  Requires setting up a subversion repository

Lessons Learned Use external configuration file(s) to minimize coding changes  Similar to approach used by ESRI’s Flex Viewer application  Have XML configuration file store items that end user might want to change, without need for developers to edit code and recompile SWF file  ArcGIS services to load to map  Choices for background map (streets, image, terrain, etc)  Initial extent of map and bookmarks for quick zooming  Hyperlinks to external resources in links bar  Combinations of services into map ‘themes’  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  Similar to approach used by ESRI’s Flex Viewer application  Have configuration file store items likely to change as application is moved across servers, or as data changes  Path to ArcGIS Server REST folder (different server names)  Location of needed images  Connection information for SQL server database  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  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  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)  But, took 735 MB of space just for states, regions, forests – counties not done (would add another 9 GB)

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

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