CS 128/ES 228 - Lecture 9a1 Geocoding and Routing Ya can’t get thereah from hereah!

Slides:



Advertisements
Similar presentations
 A word processor is a computer that can be used for writing, editing and printing text.  We are going to use a word processing package called Microsoft.
Advertisements

101.  Computers DO NOT think for themselves. For them to do anything they need to be told what to do.  Simply put computer programming is when you tell.
NSF DUE ; Chérie Aukland. NSF DUE ; GeoTEd Partners.
CS 128/ES Lecture 9a1 Vector* Data Sources * mostly.
©2007 Austin Troy Lecture 8: Introduction to GIS 1.Multi-layer vector query operations in Arc GIS 2.Vector Spatial Joining Lecture by Austin Troy, University.
Vehicle Routing & Scheduling Multiple Routes Construction Heuristics –Sweep –Nearest Neighbor, Nearest Insertion, Savings –Cluster Methods Improvement.
CS 128/ES Lecture 6a1 Attribute Data CampusIDNameTypeFloorsFootprint 6MurphyAcademic HopkinsSupport MaintenanceSupport HickeySupport22367.
CS 128/ES Lecture 12b1 Spatial Analysis (3D)
One Hull of A Rain Forest Green Computing Computer Science Neil Gordon January
CS 128/ES Lecture 13a1 Surface Analysis. CS 128/ES Lecture 13a2 Network Analysis Given a network What is the shortest path from s to t? What.
CS 128/ES Lecture 9b1 TIGER Map of the Area Dr. Levine’s House.
CS 128/ES Lecture 12b1 Spatial Analysis (3D)
Multiple-key indexes Index on one attribute provides pointer to an index on the other. If V is a value of the first attribute, then the index we reach.
CS 128/ES Lecture 11b1 Spatial Analysis (3D)
The Theory of NP-Completeness
Lecture 3 How does GIS work. How does GIS work? Maps are stored in computers Databases and Tables Geometry Attributes.
CS 128/ES Lecture 6a1 Attribute Data CampusIDNameTypeFloorsFootprint 6MurphyAcademic HopkinsSupport MaintenanceSupport HickeySupport22367.
CS 128/ES Lecture 7a1 Digital Map Sources II.
Lecture 16: Data input 1: Digitizing and Geocoding By Austin Troy University of Vermont Using GIS-- Introduction to GIS.
Fundamentals of GIS Materials by Austin Troy © 2008 Lecture 18: Data Input: Geocoding and Digitizing By Austin Troy University of Vermont NR 143.
Geocoding: - Table to geocode may be an ASCII, spreadsheet, dBase, or MapInfo table - Referred to as the “target” table - The target table is the attribute.
©2007 Austin Troy Lecture 7: Introduction to GIS 1.Queries and table operations for a single layer in Arc GIS 2.Intro to queries in Access Lecture by Austin.
Using English 9 Honors August 2012.
1 CIS / Introduction to Business GIS Winter 2005 Lecture 2 Dr. David Gadish.
CS 128/ES Lecture 13a1 Surface Analysis. CS 128/ES Lecture 13a2 Network Analysis Given a network What is the shortest path from s to t? What.
CS 128/ES Lecture 9a1 TIGER Map of the Area Dr. Levine’s House.
1 Algorithms and Analysis CS 2308 Foundations of CS II.
GIS and 911 Mapping Software Norton Lovold, Director of Sales Torgrim Hoydahl, GIS Analyst BullBerry Systems, Inc. 800-GIS-4YOU (800)
CS 128/ES Lecture 6a1 Attribute Data CampusIDNameTypeFloorsFootprint 6MurphyAcademic HopkinsSupport MaintenanceSupport HickeySupport22367.
Lecture 5 Geocoding. What is geocoding? the process of transforming a description of a location—such as a pair of coordinates, an address, or a name of.
DAY 21: MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Akhila Kondai October 30, 2013.
Math for Liberal Studies.  Here is a map of the parking meters in a small neighborhood  Our goal is to start at an intersection, check the meters, and.
Algorithms. Problems, Algorithms, Programs Problem - a well defined task. –Sort a list of numbers. –Find a particular item in a list. –Find a winning.
How Do I Find a Job to Apply to?
Esri Developer Summit 2012 Should You Use a Swiss Army Knife or a Simple Screwdriver?
Safety On The Internet  Usage time  Locations that may be accessed  Parental controls  What information may be shared with others Online rules should.
XP New Perspectives on Microsoft Access 2002 Tutorial 41 Microsoft Access 2002 Tutorial 4 – Creating Forms and Reports.
No, Thanks, I’ll Use a Spreadsheet
Programming & Data Structures
EECS 203: It’s the end of the class and I feel fine. Graphs.
Importing your Own Data To display in GIS Lab 4a: (Table Join) Mapping By State, County, or Nation.
Fundamentals of GIS Materials by Austin Troy © 2008 Lecture 18: Data Input: Geocoding and Digitizing By Austin Troy University of Vermont.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 6 The Mathematics of Touring 6.1Hamilton Paths and Hamilton Circuits.
The ACS and the 2010 Census Richard Lycan and Charles Rynerson Population Research Center Portland State University GIS in Action March, 2011.
Physical DB Issues, Indexes, Query Optimisation Database Systems Lecture 13 Natasha Alechina.
Tonga Institute of Higher Education Design and Analysis of Algorithms IT 254 Lecture 8: Complexity Theory.
Martin Dodge Practical 2, 24th March 2004, pm Social Science Research Methodologies.
Mary Beth Kurz, PhD Assistant Professor Department of Industrial Engineering Clemson University Utilizing Condor to Support Genetic Algorithm Design Research.
Pod-casting. Objectives: To learn what a Podcast is To learn what makes a good Podcast To learn what is meant by and the difference between MP3 and MP4.
Algorithms CS139 – Aug 30, Problem Solving Your roommate, who is taking CS139, is in a panic. He is worried that he might lose his financial aid.
Surname:Brown Forename:James Form:7B Date of Birth: Telephone:
GIVING DIRECTIONS Who’s Better at Giving Directions, Men or Women? We tackle the answer to the age-old question By Corey Binns Posted He.
Beauty and Joy of Computing Limits of Computing Ivona Bezáková CS10: UC Berkeley, April 14, 2014 (Slides inspired by Dan Garcia’s slides.)
CHAPTER 1 – INTRODUCTION TO ACCESS Aliya Farheen March 5, 2014.
©2007 Austin Troy Lecture 7: Introduction to GIS 1.Queries and table operations for a single layer in Arc GIS 2.Intro to queries in Access Lecture by Austin.
C Programming - Lecture 6 This lecture we will learn: –Error checking in C –What is a wrappered function? –How to assess efficiency. –What is a clean interface?
Do it now activity Activity: A travel agent is trying to create a database to collect information about people who are booking a flight. He is having a.
To change the sample image, select the picture and delete it. Now click the Pictures icon in the placeholder to insert your own image. Click Send to.
Lab 6: Geocoding You have received a dBase file that contains the address list of over 500 homes in your neighborhood that have had reports of lead poisoning.
CS4432: Database Systems II
The inference and accuracy We learned how to estimate the probability that the percentage of some subjects in the sample would be in a given interval by.
VERIFYING SPECIAL ED DATA TAMMY SOLTIS IU 5 DATA SUPERVISOR.
Geocoding Chapter 16 GISV431 &GEN405 Dr W Britz. Georeferencing, Transformations and Geocoding Georeferencing is the aligning of geographic data to a.
Geocoding Chapter 16 GISV431 &GEN405 Dr W Britz. Georeferencing, Transformations and Geocoding Georeferencing is the aligning of geographic data to a.
Chapter 4: Defining Your Terms
Imran Hussain University of Management and Technology (UMT)
How to critique a journal article
TransCAD Route Systems 2018/11/22.
Assigning Spatial Coordinates to Your Address Data
Presentation transcript:

CS 128/ES Lecture 9a1 Geocoding and Routing Ya can’t get thereah from hereah!

CS 128/ES Lecture 9a2 The Traveling Salesman Problem (TSP) A Salesman must visit each of N cities and return to his home base, driving as few miles as possible Insert Joke Here

CS 128/ES Lecture 9a3 Difficulty of TSP Of interest to theoretical computer scientists because The Problem Is HARD So hard that if you could compute an exact solution efficiently, you could also disrupt the world’s financial markets

CS 128/ES Lecture 9a4 Applications of TSP Inspection routes Traveling Salespersons Delivery professionals

CS 128/ES Lecture 9a5 Knowing Where You Are GEOCODING “is the process of converting an address into a point location.” McDonnell and Kemp, International GIS Dictionary, 2 nd Ed., 1998 “Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are.” Buckaroo Banzai (from The Adventures of Buckaroo Banzai Across the Eighth Dimension)

CS 128/ES Lecture 9a6 TIGER Maps – The Key to Routing TIGER maps are the primary data set used for geocoding. … and geocoding is the basis for all routing.

CS 128/ES Lecture 9a7 TIGER Map of the Area Dr. Levine’s House

CS 128/ES Lecture 9a8 TIGER Attribute Data

CS 128/ES Lecture 9a9 Some Useful Fields FIDField ID Number LENGTHLength of full extent FNODEIntersection of “start” of street TNODEIntersection of “end” of street FENAMEStreet name (root) FRADDR# of first house on RIGHT side TOADDL# of last house on LEFT side ZIPRZip code of RIGHT side

CS 128/ES Lecture 9a10 How to Find an Address 1.Find the records for the appropriate street. (There may be more than one.) 2.Find the particular record whose address range includes your house number. 3.Decide “left” or “right” based on parity. 4.Interpolate. 23

CS 128/ES Lecture 9a11 But Apply Georgian’s First Law Don’t process the data yourself; get someone else to do it (of data processing)

CS 128/ES Lecture 9a12 Limitations of Geocoding Mapquest says Dr. Georgian lives here Dr. Georgian says he lives here Whom do you believe?

CS 128/ES Lecture 9a13 Why Is It Wrong? FRADDR3179 TOADDR3297 FRADDL0 TOADDL0 Where is Dr. Levine’s House? (#3299)

CS 128/ES Lecture 9a14 A Common TIGER Error  TIGER Files commonly miscode the F… and T… fields.  This results in various “mirroring” errors.  Newer versions of the data make this error less frequently.  Both Dr. Georgian and Dr. Levine are “victims” of this kind of error.

CS 128/ES Lecture 9a15 Other TIGER Errors This road does not exist! Data Lag causes errors as new roads are (or are not) built

CS 128/ES Lecture 9a16 How Do We “Really” Do It? By following instructions in tomorrow’s lab!

CS 128/ES Lecture 9a17 Going “Big” Time One can easily geocode many addresses at once. Place them all in a table and then ask the system to do so. This gives you all of your “hot” locations.

CS 128/ES Lecture 9a18 Now, How Do You Visit Them All?

CS 128/ES Lecture 9a19 How many ways are there? For 20 stops, there are 20x19x18x…x3x2x1 = 2,432,902,008,176,640,000 Possible routes! (that’s 2 quintillion) Once again, we cannot be exact Once again, we need a GIS

CS 128/ES Lecture 9a20 A Simple (non-)Solution Choose the route yourself It turns out that humans, particularly experienced humans, are good at this Then check only your 3 (or 40) best guesses!

CS 128/ES Lecture 9a21 Working with Simpler Routes So it can be done And we can’t do it

CS 128/ES Lecture 9a22 A Poor Man’s Solution 1.Select the lines that comprise your route. 2.Create a layer out of the selection. 3.Create a query that sums the lengths of the roads.

CS 128/ES Lecture 9a23 Conclusions Finding, Creating, and Measuring routes is a key task of many GIS’s. With ArcMap, we can do this for Points (geocoding), but not for extended routes. There are some “workarounds” we can use. ?