Automatic Turntable Calculation Tool Melissa J Rura CE 508 Dr. Shan 10/29/2004.

Slides:



Advertisements
Similar presentations
Week 1: Introduction to GIS
Advertisements

Concepts of Maintaining Your Data Simple Ways to Edit Your Data By Lorne Woods.
Vector-Based GIS Data Processing Chapter 6. Vector Data Model Feature Classes points lines polygons Layers limited to one class of data Figure p. 186.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
IS 1181 IS 118 Introduction to Development Tools VB Chapter 06.
EAS781 Practical Geophysics: The Tools and How to Use Them ArcGis Introduction ArcView ArcInfo ArcGis ?
Querying a Database Using the Select Query Window
1 Chapter 4 The Fundamentals of VBA, Macros, and Command Bars.
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.
Map Analysis with Networks Francisco Olivera, Ph.D., P.E. Department of Civil Engineering Texas A&M University Some of the figures included in this presentation.
Introduction To Form Builder
1 Chapter 1 Tour of Access. 1 Chapter Objectives Start and exit Microsoft Access Open and run an Access application Identify the major elements of the.
Editing Basics (in ArcGIS 9.2) By Alma Vargas. Levels of Desktop ArcGIS Arc View Version that most clients will use The version that this session will.
Ogden Air Logistics Center. Purpose of Excel2FV Many agencies produce point lists of different data (target lists, force locations, etc.) in either Excel.
Overview Dennis L. Johnson What is GIS? Geographic Information System Geographic implies of or pertaining to the surface of the earth Information implies.
Multimodal Analysis Using Network Analyst. Outline Summarizing accessibility Summarizing accessibility Adding transportation modes to a network Adding.
Preparing Data for Analysis and Analyzing Spatial Data/ Geoprocessing Class 11 GISG 110.
GTECH 361 Lecture 13a Address Matching. Address Event Tables Any supported tabular format One field must specify an address The name of that field is.
Databases and LINQ Visual Basic 2010 How to Program 1.
Working with Tables Lesson 5 of Introduction to ArcGIS for Emergency Managers.
CPSC 203 Introduction to Computers T59 & T64 By Jie (Jeff) Gao.
CE 525. Grading GIS Proficiency Exam 10% Attendance 10% 90–100 = A Pop Quiz Questions 10% 80 – 89 = B Homework/Certifications 20% 70 – 79 = C Midterm.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Interest Calculator Application Introducing the For...Next Repetition Statements.
Martin Dodge Practical 2, 24th March 2004, pm Social Science Research Methodologies.
AUTOMATION OF WEB-FORM CREATION - KINNERA ANGADI – MS FINAL DEFENSE GUIDANCE BY – DR. DANIEL ANDRESEN.
Chapter 12 Making Tools Week 7 Fall Tools (events) besides Click MouseDown, MouseUp, MouseMove CursorID defines mouse appearance Eabled to disable.
Support the spread of “good practice” in generating, managing, analysing and communicating spatial information Introduction to GIS for the Purpose of Practising.
ArcGIS: ArcMap Tables. Agenda Opening tables The interface Working with columns Working with records Making selections Advanced table tools ▫Add fields.
Programming with Visual C++: Concepts and Projects Chapter 2B: Reading, Processing and Displaying Data (Tutorial)
Adding shapefiles as feature layers Adding coverages as feature layers Adding grids as raster layers Adding tables as table windows Adding text files as.
Chapter 16: Programming Structures Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Class Average Application Introducing the Do...Loop While and Do...Loop Until.
CSCI 3327 Visual Basic Chapter 13: Databases and LINQ UTPA – Fall 2011.
Using the AccuGlobe Software with the IndianaMap Using the AccuGlobe Software.
Chapter 16: Programming Structures Spreadsheet-Based Decision Support Systems Prof. Name Position (123) University Name.
LBR & WS LAB 1: INTRODUCTION TO GIS.
Project 5 : programming ArcObject with VBA Part I Vector data Sherry Fu CE 697V Nov. 30, 2006.
Multimodal Analysis Using Network Analyst. Outline Summarizing accessibility Summarizing accessibility Adding transportation modes to a network Adding.
MS-Access XP Lesson 4. Modifying Queries 1.Select query in queries 2.Click design button or Right click on query and click design view 3.Change query.
Task #1 Create a relational database on computers in computer classroom 308, using MySQL server and any client. Create the same database, using MS Access.
Making a great Project 2 OCR 1994/2360. Implementation This is about how you make your system. It should have enough detail for a competent user to be.
Davisware GlobalEdge 2008 Payroll Main Menu Time Entry and Payroll Processing.
WBAreaComID Queries Paul Kimsey 3/18/2007. Open Arc Toolbox.
Introduction to Geographic Information Systems Fall 2013 (INF 385T-28620) Dr. David Arctur Research Fellow, Adjunct Faculty University of Texas at Austin.
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Student Grades Application Introducing Two-Dimensional Arrays and RadioButton.
Querying Databases A query is a program that allows us to VIEW the data or operate on the data Several types of queries –Select query –Merge query –Summary.
Chapter 5 Introduction To Form Builder. Lesson C Objectives  Use sequences to automatically generate primary key values in a form  Create lists of values.
CE 525. REGRESSION VIDEO Return Quiz Why regression? Re-watch video as it will be on the midterm! 1. This is the difference between actual observed values.
Geocoding Chapter 16 GISV431 &GEN405 Dr W Britz. Georeferencing, Transformations and Geocoding Georeferencing is the aligning of geographic data to a.
GIS Project1 Physical Structure of GDB Geodatabase Feature datasets Object classes, subtypes Features classes, subtypes Relationship classes Geometric.
Geocoding Chapter 16 GISV431 &GEN405 Dr W Britz. Georeferencing, Transformations and Geocoding Georeferencing is the aligning of geographic data to a.
Introduction to GIS Programming Final Project Submitted by Todd Lenkin Geography 375 Spring of 2011 American River College.
Introduction In modern age Geographic Information systems (GIS) has emerged as one of the powerful means to efficiently manage and integrate numerous types.
Introduction GIS often represent spatial information with a two-dimensional x,y coordinate system. Some data linearly measured. In order to use the information.
Unit 9.1 Learning Objectives Data Access in Code
Software Testing.
Network Attributes Calculator
DRAWING LINES To draw lines click View in the Main Menu Toolbar -> Toolbars and check the Editor option. The Editor toolbar will appear amongst the toobars.
GIS Institute Center for Geographic Analysis
Physical Structure of GDB
Development of Linear Measure Tool using Application Framework
Mastering ArcGIS Attribute Data (Continued)
Attribute Extraction.
Computer Programming.
Automating and Validating Edits
GIS Institute Center for Geographic Analysis
See requirements for practice program on next slide.
GIS Institute Center for Geographic Analysis
Ohio Traffic Forecasting Manual
Ohio Traffic Forecasting Manual
Presentation transcript:

Automatic Turntable Calculation Tool Melissa J Rura CE 508 Dr. Shan 10/29/2004

Introduction What is turntable necessary for? Purpose of the project How to calculate turns? X,Y coordinates Software Two datasets Simplified Actual

Methodology Description of input data Simplified dataset Required output

Methodology Calculate X,Y coordinates of the nodes '========================= 'polyline_Get_X_FromPoint.cal 'Author: Ianko Tchoukanski ' '========================= On Error Resume Next Dim pMxDoc As IMxDocument Dim pMap As IMap Dim pCurve As ICurve Dim pFromPoint As IPoint Dim dXFrom As Double Dim bSrefFromMap As Boolean '======================= 'Adjust the parameter below 'bSrefFromMap = True ==> the coordinates will be calculated in the projection of the Map 'bSrefFromMap = False ==> the coordinates will be calculated in the projection of the data bSrefFromMap = True '======================= If (Not IsNull([Shape])) Then Set pCurve = [Shape] If (Not pCurve.IsEmpty) Then If (bSrefFromMap) Then Set pMxDoc = ThisDocument Set pMap = pMxDoc.FocusMap pCurve.Project pMap.SpatialReference End If Set pFromPoint = pCurve.FromPoint dXFrom = pFromPoint.X End If __esri_field_calculator_splitter__ dXFrom For the Y From point the line “dXFrom = pFromPoint.X” changes to “dYFrom = pFromPointY” For the X and Y To points the lines “ Set pFromPoint = pCurve.FromPoint dXFrom = pFromPoint.X” changes to : “Set pToPoint = pCurve.ToPoint dXTo = pToPoint.X” and “Set pToPoint = pCurve.ToPoint dYTo = pToPoint.Y” respectively. This code can then be directly inputted in to the ArcGIS field calculator and the X and Y coordinates of any line segment can be calculated. Import table into the tool – direct import or link tables through ODBC Open the tool – Switchboard GUI

Step 1- intersections table 1. First using the total_records_form the Tool counts the total number of records, i.e. line segments in the attribute table 2. Begin a FOR loop from 1 to total number of records 3. In the table intersection create a new record for node j; where j is the current node number 4. Select all line segments where node j is the beginning node (Fjunction) or ending node (Tjunction) of the line segment and record the number of line segments into the record for node j in the intersection table. 5. Retrieve and record X and Y coordinates for node j. 6. Repeat for each node then exit loop 7. Delete all nodes in the table intersections with less then 3 line segments Note the two attributes

Intersections table contd. This table can be exported using the export button under the Step 1 button and imported into ArcGIS as an XY Event point layer to visually check the accuracy of the intersections created back

Step 2 – select_nodes form The intersections table serves as the basis for the select_nodes form

Once all manual manipulations to the added attributes on the data are finished, clicking the Recalculate turntable button then generates the new turntable and its export variant This is done in a three-step process.

Almost table Compute the table of all possible routes through an intersection node Begin FOR Loop from 1 to total number of intersections where node i is the current intersection Using the adjacent_nodes form select the line segment ik from the adjacent_nodes table Write the combinations to table almost Close Loop

Output query 1) Compute the interim turntable a. Run a query to select the X and Y values for each node (F_Junction & T_Junction from the Almost table and the Intersection node from the Intersection table) in the possible route combination and the other modeling parameters from the Intersection table. b. Write these values into the query Output c. Using the X,Y coordinates compute the angles for each combination and subtract them and assign the time

Final table 1) Compute Final turntable Run a query to select the node identifier, the F_Edge (beginning edge), the T_Edge (ending edge), and the assigned turn time as required by ArcView in order to declare a turntable

Conclusion and Future Work generalizing the database to accept any street network attribute table and not to assume consecutive number beginning at 1 for the node identification modeling of a turn with only two segments intersecting should be addressedtwo segments add other intersection attributes to the intersection table