Intro to ArcMap Customization with Visual Basic  Create your own toolbars, buttons, interactive tools, and programs  Runs behind the scenes in ArcMap.

Slides:



Advertisements
Similar presentations
Week 1: Introduction to GIS
Advertisements

JustinMind: Dynamic Panels
Intro to ArcGIS for New Users. ArcGIS Desktop Advanced GeoprocessingArcInfo ArcReader Data Access Map Viewing Query Advanced EditingArcEditor ArcView.
RGS-IBG Online CPD course in GIS Exploring ArcGIS Session 5.
XP Tutorial 4 New Perspectives on Microsoft Windows XP 1 Microsoft Windows XP Personalizing Your Windows Environment Tutorial 4.
Annotation & Nomenclature By Corey Fortezzo for PG&G GIS Workshop, 2010.
© by Pearson Education, Inc. All Rights Reserved.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
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.
Appendix B: Customizing In this unit… ► Review ► Overview ► Adding, Removing Buttons ► Changing Button Properties ► Visual Basic.
Technical Support: (989) GIS and Mapping Procedures in ArcMap 9.x Creating an ArcMap Project Editing an ArcMap Project Printing an ArcMap Project.
ArcView / Avenue / ArcGIS Customization. Basic Customization in ArcView 3.x Sources for scripts and extensions Installing an extension Adding and running.
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.
Customizing Menus and Toolbars. Manipulating Command Bars Customize: –Right-click any place on a command bar and cick Customize … Customize window: –Toolbars,
1 Introduction to the Visual Studio.NET IDE Powerpoint slides modified from Deitel & Deitel.
ArcEditor ArcInfo ArcView Display map, query & analyze spatial relationships, features & attributes Same functions as ArcView, plus abilty to create, &
GIS Data Models Components of a GIS Map Common Data Models.
Microsoft ® Office Word 2007 Training Mail Merge II: Use the Ribbon and perform a complex mail merge [Your company name] presents:
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.
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
®® Microsoft Windows 7 Windows Tutorial 1 Exploring the Basics of Microsoft Windows 7.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Integrating Microsoft Project with Other Programs
Microsoft Visual Basic 2005 ENRICHMENT CHAPTER Visual Studio Tools for Office.
Customizing Microsoft Project
Visual Basic Chapter 1 Mr. Wangler.
Technical Workshops | Esri International User Conference San Diego, California ArcMap: Tips and Tricks Miriam Schmidts Jorge Ruiz-Valdepena July 23 – 27,
A New Generation GIS for the Classroom ArcGIS 9.0 A New Generation GIS for the Classroom.
© 2008 The McGraw-Hill Companies, Inc. All rights reserved. WORD 2007 M I C R O S O F T ® THE PROFESSIONAL APPROACH S E R I E S Lesson 22 Macros.
1 CA201 Word Application Increasing Efficiency Week # 13 By Tariq Ibn Aziz Dammam Community college.
Intro to ArcGIS 9 Edited 10/14/05 1 Introduction to ArcGIS 9 Before you can start on your school mapping project, you will need to become acquainted with.
Adv_GISArcObjects - 11 VBA and ArcObjects Programming Week 1 Spring 2008 Advanced GIS.
IE 411/511: Visual Programming for Industrial Applications
Arc: AddIns Dr Andy Evans. Java Direct access to ArcObjects Framework inside and outside Arc. Ability to add components to the GUI. Ability to communicate.
Welcome to DEP’s GIS Workshop Series Workshop 3 Introduction to ArcGIS Desktop 1.
Automating Database Processing Chapter 6. Chapter Introduction Design and implement user-friendly menu – Called navigation form Macros – Automate repetitive.
Introduction to ArcGIS for Environmental Scientists Module 2 – Fundamentals Chapter 7 – Queries.
Introduction of Geoprocessing Topic 7a 4/10/2007.
Computing Fundamentals Module Lesson 3 — Changing Settings and Customizing the Desktop Computer Literacy BASICS.
ATN GIS Support ArcGIS: ArcMap Data View.
1 Database Design and Development: A Visual Approach © 2006 Prentice Hall Chapter 8 DATABASE DESIGN AND DEVELOPMENT: A VISUAL APPROACH Chapter 8 Creating.
Filtering Data A filter is a set of restrictions you place on the records of an open datasheet or form to temporarily isolate a subset of the records.
MS Access: Introduction 1Database Design. MS Access: Overview MS Access A Database Management System (DBMS) designed to create applications that organize,
Microsoft Access 2010 Chapter 8 Advanced Form Techniques.
Chapter 2 – Introduction to the Visual Studio .NET IDE
ATN GIS Support ArcGIS: ArcCatalog.
CMPF124: Basics Skills for Knowledge Workers Manipulating Windows GUI.
Using the AccuGlobe Software with the IndianaMap Using the AccuGlobe Software.
Building the Events Components– Lesson 111 Building the Events Components Lesson 11.
LBR & WS LAB 1: INTRODUCTION TO GIS.
ArcGIS: ArcCatalog. Agenda The ArcCatalog Interface General ArcCatalog ▫Navigating directories ▫Preview data ▫View metadata Advanced ArcCatalog ▫Modifying.
T7-1 LEARNING OUTCOMES – ACCESS PROBLEM SOLVING 1.Describe the process of using the Simple Query Wizard using Access 2.Describe the process of using the.
CMPF114 Computer Literacy Chapter 3 The Visual Basic Environment 1.
Chapter 2: Excel Basics and Formatting Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
CMPF124 Personal Productivity With Information Technology Chapter 1 – Part 2 Introduction to Windows Operating Systems Manipulating Windows GUI CMPF 124.
Introduction of Geoprocessing Lecture 9 3/24/2008.
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.
Learning the Basics of ArcMap 3.3 Updated 4/27/2010 Using Arc/View pt. 1 1.
Laboratory Exercise # 10 – Microsoft Word Additional Topics Office Productivity Tools 1 Laboratory Exercise # 10 Microsoft Word Additional Topics Objectives:
Scale is the relationship between the size of features on a map and the size of the corresponding objects in the real world. Scale is commonly expressed.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET 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.
COMPREHENSIVE Excel Tutorial 12 Expanding Excel with Visual Basic for Applications.
The Advantage Series ©2005 The McGraw-Hill Companies, Inc. All rights reserved Chapter 12 Introducing Visual Basic for Applications Microsoft Office Excel.
Chapter 11 Enhancing an Online Form and Using Macros Microsoft Word 2013.
Excel Tutorial 8 Developing an Excel Application
Chapter 2 – Introduction to the Visual Studio .NET IDE
Introduction to ArcGIS Add-Ins
Presentation transcript:

Intro to ArcMap Customization with Visual Basic  Create your own toolbars, buttons, interactive tools, and programs  Runs behind the scenes in ArcMap  Supported by extensive web help center  Great addition to GIS skills on a resume

The ArcMap Interface  Powerful but complicated Many tasks require a multitude of steps Capabilities buried within many different toolbars Editing. Enough said.  Unfortunately Many organizations do just a couple of set tasks and they do them often Many personnel / users who might benefit from simple and straightforward GIS use are not trained in ESRI products  Time (training, familiarization) is a limited resource

ArcMap Interface cont.  ArcMap (and more) can be customized to incorporate tools that: Provide shortcuts to common tasks Aggregate multiple steps into one click Simplify the built-in ESRI interfaces and tailor them to the problem at hand

Yet more ArcMap Interface  ESRI provides an extremely comprehensive object library for its GIS components  All components you see here in ArcMap can be accessed behind the scenes

Adding Your Own Commands First Steps  Start with a new toolbar  Add new ‘UIControls’ Buttons Tools Combo Boxes Edit Boxes  Right-click and add code!  Well…not quite that simple

 Right-click toolbar area  Scroll to bottom and click ‘Customize’

 Select ‘New’ toolbar  Enter name  Choose to save inside your mxd file  Your new, empty toolbar appears on the screen

Now add controls  Click the ‘Commands’ tab and scroll to bottom of categories  Click ‘New UIControl’  Select the type of control

Style Controls  Click on the control in the list to give it a new name.  When finished, click and drag the control onto toolbar  Right-click control on toolbar to change label, icon, and specify display options (image only, etc)

Code Window  Also right-click control to specify behavior via code window

 Use the ESRI Developer Network to find code examples

 Many programming languages are supported in ArcGIS  Finding the examples you need for VBA will take some practice

VBA Code for Selecting Features

VBA Code 2  Sets up objects for a layer, the map doc, and the main map  Connects the new objects to your open map document, the first data frame, and the first layer in the list  Sets up query object & specify conditions  Sets up selection set object  Assigns the selection set to the results of the select query

 Example map document and customized toolbar with 3 specialized buttons

 The Zoom to Full Extent button always takes you to the extent of the largest layer  However…

 You can create a button that zooms exactly to a certain spot as a shortcut  Or a button that selects a subset of features of interest without the user having to specify the select by attribute query

Classroom Finder 1  You can tell a button to load a specialized form that takes input, then does processing that you specify in code.

Classroom Finder 2  Restrict input to options in drop-down boxes...

Classroom Finder 3  You can simplify a query, and then condense the query, zooming, and display of the results as you choose  Beginnings of a classrom finder?

Wrap-Up  Familiarization will require some experimentation, but very rewarding  Full libraries, discussion forums, and code examples online at:  Multiple programming languages supported VB, VB.NET, C, C++, Java