Development of Linear Measure Tool using Application Framework

Slides:



Advertisements
Similar presentations
Week 1: Introduction to GIS
Advertisements

Standard XBRL Validation XBRL2IRv2 Conversion tool into Internal IR format Backend system Multidimensional system: - IR Loader - Calculation of (sub)totals.
Hydrography Event Management Tools Dana Baker Tim Smith.
Importing GPS Data Lecture 13. EasyGPS  Free software for downloading waypoints  EasyGPS ( EasyGPS  Free software for downloading.
NSF DUE ; Module 4.3. NSF DUE ; GeoTEd Partners Module name and number.
Protocol: How to Derive Gradient from GIS Outline: 1)Add X,Y site points, using GPS-collected UTM coordinates. 2)Create “routed” streams, with linear distance.
Rebecca Boger Earth and Environmental Sciences Brooklyn College.
Ch 11: Userforms CP212 Winter Topics Designing User Forms o Controls Setting Properties o Tab Order o Testing Writing Event Handlers o Userform_Initialize.
Adv_GISArcObjects - 11 VBA and ArcObjects Programming Week 1 Spring 2008 Advanced GIS.
Overview Cursors arcpy.da module Geometrys Arrays SpatialReferences
Automatic Turntable Calculation Tool Melissa J Rura CE 508 Dr. Shan 10/29/2004.
Chapter 12 Making Tools Week 7 Fall Tools (events) besides Click MouseDown, MouseUp, MouseMove CursorID defines mouse appearance Eabled to disable.
SYSTEMSDESIGNANALYSIS 1 OO: Chapter 9 Visual Basic: Building Components Jerry Post Copyright © 1999.
Raster Concepts.
MS Visual Basic Applications Walter Milner. Event-driven programming Standard approach for GUIs Contrast with old character interfaces – program determines.
Adding shapefiles as feature layers Adding coverages as feature layers Adding grids as raster layers Adding tables as table windows Adding text files as.
Queries Select by Attribute Select by Location. What is a Query? A query extracts information from a data table for further use –Once extracted you can:
Using the AccuGlobe Software with the IndianaMap Using the AccuGlobe Software.
LBR & WS LAB 1: INTRODUCTION TO GIS.
Designing a Query Tool for Time Series Data in ArcGIS Hydro Data Model By Reem Jihan Zoun.
Visual Basic for Application - Microsoft Access 2003 Programming applications using Objects.
Project 5 : programming ArcObject with VBA Part I Vector data Sherry Fu CE 697V Nov. 30, 2006.
River channels Venkatesh Merwade, University of Texas at Austin.
What is GIS ? A method to visualize, manipulate, analyze, and display spatial data “Smart Maps” linking a database to the map.
Chapter 11 Navigating Object Model Diagrams Week 6, 2008 Spring.
Advanced GIS Using ESRI ArcGIS 9.3 Arc ToolBox 7 (Linear Referencing - Mobile)
Programming for Geographical Information Analysis: Advanced Skills Lecture 3: Arc Data Framework Dr Andy Evans.
Geoprocessing and georeferencing raster data
Intro. To GIS Pre-Lab Spatial Analysis April 1 st, 2013.
William Perry U.S. Geological Survey Western Ecological Research Center Geography 375 Final Project May 22, 2013.
Geocoding Chapter 16 GISV431 &GEN405 Dr W Britz. Georeferencing, Transformations and Geocoding Georeferencing is the aligning of geographic data to a.
Subprocedures and Functions Visual Basic provides a number of facilities for creating modularized and reusable program code. The two you will learn about.
Constantine N. Tonias, P.E.
Geographic Information Systems “GIS”
Pixel Editor PX 1.0 Ajay Prasad.
Mapping GIS Projections
GIS Basic Training June 7, 2007 – ICIT Midyear Conference
Improving Georeferencing Workflow with Python
Geography 385 Introduction to ArcGIS Web Application Design
GIS On A Budget: Simple Applications for Real World Solutions
Physical Structure of GDB
ArcGIS Topology Shapefiles, Coverages, Geodatabases
Demo #5: creating a point shapefile from Excel tables
Avaya Professional Services (APS) Tools ProVision
River Channels CE 397 Flood Forecasting David R. Maidment
Database Development for Load-Restricted Zone in Texas
Preliminaries: -- vector, raster, shapefiles, feature classes.
GIS in Water Resources Fall 2009
Social Media And Global Computing Introduction to Visual Studio
Geospatial Database Create Geodatabase Practical Session
Department Array in Visual Basic
GIS in Water Resources Fall 2009
Lecture 4 An example for changing a layer’s Name
Understanding the Visual IDE
Geospatial themes and The Gravity Model
Assigning Spatial Coordinates to Your Address Data
Assessing Environmental Streamflow Characteristics in Texas
Geography 413/613 Lecturer: John Masich
GIS Lecture: Editing Data
Hydrodynamic Modeling of Lavaca Bay: through the use of GIS and Elcom
Automating and Validating Edits
Arc: Getting Layers Dr Andy Evans.
Learning Common GIS Workflows
Distance Calculations Geodesic and Cartesian
Why Projections Matter in an Active Horizontal Drilling Program
Esri Highway Data Maintenance Solutions: An Introduction
Network Analyst – Automating Workflows with Geoprocessing
8. ArcScan 8.1 Interactive vectorization 8.2 Automatic vectorization
Sub 範例 Sub F ( X ) MsgBox(X ^ 2 ) End Function
Esri Roads and Highways An Introduction
Presentation transcript:

Development of Linear Measure Tool using Application Framework Venkatesh Merwade

Overview Necessity for Linear Referencing Application Framework About Linear Measure Tool PolylineM LengthDown Application of LMT Conclusions, Acknowledgements, Questions!

Necessity for Linear Referencing GIS often represents spatial information with two dimensional coordinate systems. Location of river gauging station x,y coordinates - (992506,301256) Linear measure - HydroCode = 30021, m=165 Add route events Find distance between two points and so on.

Application Framework What is it?? It’s an ArcMap extenstion Designed to access ArcMap layers for input and create new output layers (right now used only for input).

Why AppFramework? Here is how it all works AppFramework Get hold of MxDocument Get hold of Map Get hold of FeatureLayer Get hold of FeatureClass Get hold of required Field in FeatureClass Do Something, have fun! Display results AppFramework

Sub LengthDown() Dim pMxDoc As IMxDocument Dim pMap As IMap Set pMxDoc = ThisDocument Set pMap = pMxDoc.FocusMap Dim pFLayer As IFeatureLayer Dim pFeature As IFeature Set pFLayer = pMap.Layer(0) Dim pFC As IFeatureClass Set pFC = pFLayer.FeatureClass Dim pTable As ITable Set pTable = pFC Dim j As Long j = pTable.FindField(“LengthDown") If j = -1 Then MsgBox “Field not found" Exit Sub End If MsgBox “Field Found” End Sub

Linear Measure Tool (LMT) It’s developed in Visual Basic as a DLL. Uses AppFramework for input. Register in ArcMap to use it. Toolbar with some cool options for Linear Referencing. Works only with PolylineM layer and uses LengthDown for multiple features option.

Why LMT is so cool! It has some cool options! Assign Ms Read Ms Finds out distance between two points Deals with both Individual and Multiple Features Changes the MDomain on fly if necessary It flashes but never crashes (sometimes gives error message, but that’s not LMT, it’s user!)

Application of LMT

Conclusions Using Visual Basic, I can do some cool stuff too. It’s very easy. Here we are dealing with only one type of Layer (PolylineM). AppFramework is more useful when dealing with different types of layers and fields.

Acknowledgements Dr. Maidment Tim Whiteaker CRWR crew