GISC 6382 Applied GIS UT-Dallas Briggs 1 Customizing ArcGIS Spring 2008.

Slides:



Advertisements
Similar presentations
Geo GIS Practicuum Introduction to ArcGIS 8 Exercise 5 - ESRI Virtual Campus Chapters 1-2, ArcGIS Methods …
Advertisements

Information System Design Lab 5&6. User Interface Design.
Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
Water Rights Accounting. New Accounting Model New Technology: 1979 versus 2011 – Faster processors – Faster graphics – Larger, faster, memory – Larger,
Tutorial 8: Developing an Excel Application
Customisation The GUI in most GIS applications is sufficient for most needs. However, situations arise where you want either to: –Modify the interface,
Environmental GIS Nicholas A. Procopio, Ph.D, GISP Some slides from Lyna Wiggins (Rutgers University)
© by Pearson Education, Inc. All Rights Reserved.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Visual Basic 2010 How to Program Reference: Instructor: Maysoon Bin Duwais slides Visual Basic 2010 how to program by Deitel © by Pearson Education,
Getting Started with ArcView GIS Introduction to the Laboratory Exercises.
Unit One: GIS Concepts In this unit… ► What is GIS? ► Types of GIS data ► What can you do with GIS? ► ArcGIS 9 license levels ► Basics of the ArcGIS 9.
ESRI Computational Science for NRM D. Wang Environmental Systems Research Institute, Inc. (ESRI) Redlands, CA Leader in GIS with at least 1/3rd of market.
Appendix B: Customizing In this unit… ► Review ► Overview ► Adding, Removing Buttons ► Changing Button Properties ► Visual Basic.
Intro to ArcMap Customization with Visual Basic  Create your own toolbars, buttons, interactive tools, and programs  Runs behind the scenes in ArcMap.
Customizing Word Microsoft Office Word 2007 Illustrated Complete.
ArcView / Avenue / ArcGIS Customization. Basic Customization in ArcView 3.x Sources for scripts and extensions Installing an extension Adding and running.
Using the Visual Basic Editor Visual Basic for Applications 1.
Overview Francisco Olivera, Ph.D., P.E. Department of Civil Engineering Texas A&M University.
Macros Tutorial Week 20. Objectives By the end of this tutorial you should understand how to: Create macros Assign macros to events Associate macros with.
Introduction to ArcView
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Word Project 8 Working with Macros and Visual Basic for Applications (VBA)
Introduction to ArcGIS Add-Ins Exercises GIS/LIS Conference, 2014 Rochester, MN.
Word Lesson 16 Working with Macros Microsoft Office 2010 Advanced Cable / Morrison 1.
Access Tutorial 10 Automating Tasks with Macros
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Microsoft Visual Basic 2005 ENRICHMENT CHAPTER Visual Studio Tools for Office.
Microsoft Visual Basic 2005 CHAPTER 8 Using Procedures and Exception Handling.
Arc: Programming Options Dr Andy Evans. Programming ArcGIS ArcGIS: Most popular commercial GIS. Out of the box functionality good, but occasionally: You.
Sep , 2006 v FME Worldwide User Conference - Vancouver What’s New in ArcGIS Data Interoperability Extension Kim Avery, ESRI, California, USA, and.
CIS—100 Chapter 9—PowerPoint 1. The PowerPoint User Interface 2 There is a tall band across the screen that contains many, very visual commands arranged.
Adv_GISArcObjects - 11 VBA and ArcObjects Fall 2003 Advanced GIS.
1 CA201 Word Application Increasing Efficiency Week # 13 By Tariq Ibn Aziz Dammam Community college.
Adv_GISArcObjects - 11 VBA and ArcObjects Programming Week 1 Spring 2008 Advanced GIS.
IE 411/511: Visual Programming for Industrial Applications
Introduction to ArcGIS. Goals Become familiar with ArcGIS ▫Locating and running the program ▫Introduction to the 3 ArcGIS interfaces ▫Experience with.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 2 Welcome Application Introducing the Visual Basic 2008 Express Edition IDE.
9. Introduction to ArcObjects Most GIS analysis carried out within a GIS consists of a labor- intensive sequence of steps. Automating a GIS makes it possible.
Shell Scripting Introduction. Agenda What is Shell Scripting? Why use Shell Scripting? Writing and Running a Shell Script Basic Commands -ECHO - REM.
Programming for Geographical Information Analysis: Advanced Skills Lecture 1: Introduction Programming Arc Dr Andy Evans.
Microsoft Visual Basic 2005 ENRICHMENT CHAPTER Visual Studio Tools for Office.
Quick Reference notes  Part of the Microsoft® Office Fluent user interface, the ribbon is the rectangular region across the top of the document window.
ATN GIS Support ArcGIS: ArcToolbox.
ArcGIS: ArcToolbox. Goals Develop familiarity with ArcToolbox Integrated use of the different ArcGIS components in the context of a typical GIS project.
Productivity Programs Common Features and Commands.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 7 Using Menus, Common Dialogs, Procedures, Functions, and Arrays.
ATN GIS Support ArcGIS: ArcMap Data View.
Irwin/McGraw-Hill Copyright© 2000 by the McGraw-Hill Companies, Inc. PowerPoint® Presentation to accompany prepared by James T. Perry University of San.
Visual Basic.NET BASICS Lesson 1 A First Look at Microsoft Visual Basic.NET.
Arch: 383 Introduction to GIS Week 2 Introduction to GEOGRAPHIC INFORMATION SYSTEMS Can Kara Faculty of Architecture 2011 ARC 383.
Editors And Debugging Systems Other System Software Text Editors Interactive Debugging Systems UNIT 5 S.Sharmili Priyadarsini.
Introduction to ArcGIS for Environmental Scientists Module 3 – GIS Analysis Model Builder.
Microsoft Visual Basic 2005 BASICS Lesson 1 A First Look at Microsoft Visual Basic.
ATN GIS Support Introduction to ArcGIS.
Chapter 23. Copyright 2003, Paradigm Publishing Inc. CHAPTER 23 BACKNEXTEND 23-2 LINKS TO OBJECTIVES Record, Run, Pause, and Delete Macros Record, Run,
Exploring Office 2003 Vol 1 2/e - Grauer and Barber 1 Committed to Shaping the Next Generation of IT Experts. Getting Started with Windows® XP Robert Grauer.
Excel Macros 1 Macros or, How to Automate Part of Your Spreadsheet or Worksheet.
1 Getting Started with C++ Part 1 Windows. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Microsoft.
Customizing Menus and Toolbars CHAPTER 12 Customizing Menus and Toolbars.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Using Macros Lesson.
Dive Into® Visual Basic 2010 Express
An Introduction to Computers and Visual Basic
Introduction to ArcGIS Add-Ins
Microsoft Excel 2003 Illustrated Complete
Programming for Geographical Information Analysis: Advanced Skills
CIS16 Application Development Programming with Visual Basic
Programming for Geographical Information Analysis: Advanced Skills
GISC 6382 Applied GIS UT-Dallas Ron Briggs
Programming Arc.
Presentation transcript:

GISC 6382 Applied GIS UT-Dallas Briggs 1 Customizing ArcGIS Spring 2008

GISC 6382 Applied GIS UT-Dallas Briggs 2 Customization in ARCGIS Two levels of Customization Customizing the Interface –To create more efficient user interfaces For yourself (e.g. grouping frequently used tools) For specialized applications (e.g. simplified interface for data entry operators) –To access capabilities not on the standard interface Supplied as part of ArcGIS but not on the standard interface (many!) Downloaded from the web –From ESRI web site, supplied by ESRI or users –From other web sites Developed by you Developing Additional Capabilities –Automating repetitive tasks –Creating new analytical procedures Our focus here will be on customizing the interface. GIS 5317 Programming for GIS will focus on developing additional capabilities.

GISC 6382 Applied GIS UT-Dallas Briggs 3 Options for Developing Additional Capabilities Current Generation—ESRI ARCGIS Modelbuilder –Multi-step, sequential processing of ArcTools, using a visual development environment which comes as part of ArcGIS Python, Jscript and VBScript –standardized and relatively simple scripting languages for repetitive processing, including loops and decision trees, using ArcTools –Python scripts can be generated from Modelbuilder Visual Basic for Applications –Permits writing of VB macros for sophisticated customization and development within standard ArcGIS (ArcMap/ArcCatalog) interface (and thus requires license for these) –may incorporate ArcObjects, the COM compliant software objects out of which ArcGIS is constructed. ArcGIS Engine –Set of embeddable GIS components (ArcObjects software objects) for use in building custom applications, independent of ArcGIS interface –Runs under Windows, Unix and Linux, with support for Java, C++, COM and.NET

GISC 6382 Applied GIS UT-Dallas Briggs 4 Options for Developing Additional Capabilities Earlier Generations: ESRI MapObjects –Microsoft COM compliant objects used to incorporate geographic capability in standard IT applications, introduced around 1997 –Replaced by ArcEngine/ArcObjects Avenue –The proprietary object oriented programming language used for ESRI’s first GUI based product, ArcVIEW, introduced in 1993, –Not compatible with ArcGIS 8 or 9 –Most Avenue-based applications have now been replaced with ArcGIS 8/9 equivalents AMLs: Arc Macro Language –The scripting language associated with ESRI’s original ArcInfo product introduced in 1981 –Can still be run within ArcGIS 9 via: ArcInfo Workstation interface Via a tool on a toolbar in Arc Map or ArcCatalog

GISC 6382 Applied GIS UT-Dallas Briggs 5 Options for Developing Additional Capabilities Current Generation—non-ESRI Other major GIS software vendors have equivalents to ArcEngine e.g. MapInfo MapX TatukGIS specializes in providing GIS software component objects (and there are others) – Google Map and Google Earth mashups, combining your own data and applications with Google Map or Google Earth using kml scripts (keyhole markup language) –

GISC 6382 Applied GIS UT-Dallas Briggs 6 Customization Dialog Box A graphic interface for customization. To open –Go to Tools>Customization –Or, double click on empty area in a toolbar Modify user interface –Turn toolbars on and off –Create new toolbars –Create new controls –Add, delete, and move controls (buttons and menus) –Manage shortcut keys

GISC 6382 Applied GIS UT-Dallas Briggs 7 Creating a new tool bar Organize related controls Name the toolbar Drag commands, controls, or macros onto (off) the toolbar

GISC 6382 Applied GIS UT-Dallas Briggs 8 Creating a Menu New Menu and Menu Items

GISC 6382 Applied GIS UT-Dallas Briggs 9 Adding commands to context menus Add the context Menu toolbar Drag commands onto the context menu

GISC 6382 Applied GIS UT-Dallas Briggs 10 Shortcut Keys Keyboard button in the customize dialog Change the shortcut key for any command

GISC 6382 Applied GIS UT-Dallas Briggs 11 UI Controls User Interface (UI) Controls –UIButtons, UItools, UIEditBoxs, and UIComboBoxes Control Properties –Text or no text –Image –Caption –Group

GISC 6382 Applied GIS UT-Dallas Briggs 12 Visual Basic Editor Tools> Macros> Visual Basic Editor View Source

GISC 6382 Applied GIS UT-Dallas Briggs 13 ToolTips Help for your controls Set the Tooltip property Help message in the status bar (Message )

GISC 6382 Applied GIS UT-Dallas Briggs 14 Save Customizations ArcMap has three level of storage –Normal Template (Normal.mxt): Affect all documents –Template (MyTemp.mxt): Affects all documents using this template –This Document (Myproject.mxd): Affects this document only ArcCatalog only uses a normal template

GISC 6382 Applied GIS UT-Dallas Briggs 15 Examples Code for Fixed Zoom-In What about Fixed Zoom-out Dim pDoc As IMxDocument Dim pEnv As IEnvelope Set pDoc = ThisDocument Set pEnv = pDoc.ActiveView.Extent pEnv.Expand 0.5, 0.5, True pDoc.ActivatedView.Extent = pEnv pDoc.ActivatedView.Refresh

GISC 6382 Applied GIS UT-Dallas Briggs 16 AMLs: Arc Macro Language The scripting language associated with ESRI’s original ArcInfo product Essentially allows ArcInfo commands to be saved in a text file and then executed in batch Based on the operating system for the Prime minicomputer of the 1970s Conceptually similar to the old DOS.bat files Was the only way to be productive in ArcInfo version 7 and earlier! Many AMLs still exist and need to be converted Still runs in Workstation ArcInfo ArcCatalog will generate and save AML scripts With the introduction of scripting capabilities in ArcGIS 9.0, AMLs no longer useful –Most AML capabilities can be re-created with python script.

GISC 6382 Applied GIS UT-Dallas Briggs 17 Running an AML in ArcGis Workstation Initiate an ArcGIS Workstation session If necessary, use the CREATWWORKSPACE command to create a workspace –cw c:\usr\ini\custom Use the command WORKSPACE to move into the new workspace –w c:\usr\ini\custom Use a standard text processor (e.g. Wordpad) to create/edit your AML and be sure it is saved as a text file with the extension of.aml (place double quotes around name in save box e.g. “newaml.aml”) –Use Explorer to copy p:\data\p6382\exercises\custom\utd_newtin.aml –Use Wordpad to specify appropriate directory for CREATETIN command Establish the necessary environment for running an AML –&TERM 9999(directs AML output to your terminal) –DISPLAY 9999(directs any graphic output to terminal—not needed here) –&ECHO &ON(sends debug info to terminal—turn off with &OFF) Run the AML with the &RUN command –&RUN utd_newtin.aml After AML finishes, check that AML tasks completed successfully, e.g. use the DIRECTORY TIN command to list TINs created –DIR TIN For practice, run the AML: giscity.aml –Issue the command END in the Arc window to close the graphic window.