Lecture 5: Spatial Analysis Algorithms

Similar documents
AML710 CAD LECTURE 16 SURFACES. 1. Analytical Surfaces 2. Synthetic Surfaces

1. SEQUENCES INVOLVING EXPONENTIAL GROWTH (GEOMETRIC SEQUENCES)

50 AMC LECTURES Lecture 2 Analytic Geometry Distance and Lines. can be calculated by the following formula:

Rigid Body Transformations

1.1 Lines AP Calculus

MA1008. Calculus and Linear Algebra for Engineers. Course Notes for Section B. Stephen Wills. Department of Mathematics. University College Cork

Matrices and Systems of Equations

A TRIANGULAR FINITE ELEMENT FOR PLANE ELASTICITY WITH IN- PLANE ROTATION Dr. Attia Mousa 1 and Eng. Salah M. Tayeh 2

Stained Glass Design. Teaching Goals:

Integration. October 25, 2016

Essential Question What are some of the characteristics of the graph of a rational function?

3.5.1 Single slit diffraction

Integration. September 28, 2017

Geometric transformations

Are You Ready for Algebra 3/Trigonometry? Summer Packet **Required for all Algebra 3/Trig CP and Honors students**

3.5.1 Single slit diffraction

)

8.2 Areas in the Plane

Unit 5 Vocabulary. A function is a special relationship where each input has a single output.

ZZ - Advanced Math Review 2017

9.1 apply the distance and midpoint formulas

The Reciprocal Function Family. Objectives To graph reciprocal functions To graph translations of reciprocal functions

Topic 3: 2D Transformations 9/10/2016. Today s Topics. Transformations. Lets start out simple. Points as Homogeneous 2D Point Coords

Introduction Transformation formulae Polar graphs Standard curves Polar equations Test GRAPHS INU0114/514 (MATHS 1)

1 Quad-Edge Construction Operators

SIMPLIFYING ALGEBRA PASSPORT.

Solutions to Math 41 Final Exam December 12, 2011

Angle properties of lines and polygons

2D Projective transformation

Topics in Analytic Geometry

Study Guide for Exam 3

CS380: Computer Graphics Modeling Transformations. Sung-Eui Yoon ( 윤성의 ) Course URL:

Unit #9 : Definite Integral Properties, Fundamental Theorem of Calculus

LIMITS AND CONTINUITY

Section 10.4 Hyperbolas

Improper Integrals. October 4, 2017

If f(x, y) is a surface that lies above r(t), we can think about the area between the surface and the curve.

6.2 Volumes of Revolution: The Disk Method

Math 35 Review Sheet, Spring 2014

Text mining: bag of words representation and beyond it

Pythagoras theorem and trigonometry (2)

Algebra II Notes Unit Ten: Conic Sections

MTH 146 Conics Supplement

INTRODUCTION TO SIMPLICIAL COMPLEXES

such that the S i cover S, or equivalently S

Fundamentals of Engineering Analysis ENGR Matrix Multiplication, Types

Math 142, Exam 1 Information.

Summer Review Packet For Algebra 2 CP/Honors

Solution of Linear Algebraic Equations using the Gauss-Jordan Method

6.3 Volumes. Just as area is always positive, so is volume and our attitudes towards finding it.

Constrained Optimization. February 29

EXPONENTIAL & POWER GRAPHS

Before We Begin. Introduction to Spatial Domain Filtering. Introduction to Digital Image Processing. Overview (1): Administrative Details (1):

Can Pythagoras Swim?

a < a+ x < a+2 x < < a+n x = b, n A i n f(x i ) x. i=1 i=1

Chapter 2 Sensitivity Analysis: Differential Calculus of Models

Image interpolation. A reinterpretation of low-pass filtering. Image Interpolation

Lecture 4 Single View Metrology

Dynamic Programming. Andreas Klappenecker. [partially based on slides by Prof. Welch] Monday, September 24, 2012

9 4. CISC - Curriculum & Instruction Steering Committee. California County Superintendents Educational Services Association

Digital Design. Chapter 6: Optimizations and Tradeoffs

Chapter Spline Method of Interpolation More Examples Electrical Engineering

Math 17 - Review. Review for Chapter 12

Yoplait with Areas and Volumes

a(e, x) = x. Diagrammatically, this is encoded as the following commutative diagrams / X

Grade 7/8 Math Circles Geometric Arithmetic October 31, 2012

Answer Key Lesson 6: Workshop: Angles and Lines

HW Stereotactic Targeting

The Math Learning Center PO Box 12929, Salem, Oregon Math Learning Center

CS 130 : Computer Systems - II. Shankar Balachandran Dept. of Computer Science & Engineering IIT Madras

4-1 NAME DATE PERIOD. Study Guide. Parallel Lines and Planes P Q, O Q. Sample answers: A J, A F, and D E

B. Definition: The volume of a solid of known integrable cross-section area A(x) from x = a

4452 Mathematical Modeling Lecture 4: Lagrange Multipliers

UNIT 11. Query Optimization

Tool Vendor Perspectives SysML Thus Far

Orientation & Quaternions. CSE169: Computer Animation Instructor: Steve Rotenberg UCSD, Winter 2017

9 Graph Cutting Procedures

NUMERICAL INTEGRATION BY GAUSS-LEGENDRE QUADRATURE OVER TRIANGULAR DOMAINS

Class-XI Mathematics Conic Sections Chapter-11 Chapter Notes Key Concepts

Section 9.2 Hyperbolas

Subtracting Fractions

Statistical classification of spatial relationships among mathematical symbols

CHAPTER 8 Quasi-interpolation methods

Theory of Computation CSE 105

Geometry Subsystem Design

SUPPLEMENTARY INFORMATION

SOME EXAMPLES OF SUBDIVISION OF SMALL CATEGORIES

CPSC (T1) 2nd Midterm Exam

Angle Properties in Polygons. Part 1 Interior Angles

called the vertex. The line through the focus perpendicular to the directrix is called the axis of the parabola.

Slides for Data Mining by I. H. Witten and E. Frank

Objective: Students will understand what it means to describe, graph and write the equation of a parabola. Parabolas

Order these angles from smallest to largest by wri ng 1 to 4 under each one. Put a check next to the right angle.

MATH 2530: WORKSHEET 7. x 2 y dz dy dx =

1.1. Interval Notation and Set Notation Essential Question When is it convenient to use set-builder notation to represent a set of numbers?

15. 3D-Reconstruction from Vanishing Points

NEW STRAIN-BASED TRIANGULAR AND RECTANGULAR FINITE ELEMENTS FOR PLANE ELASTICITY PROBLEMS

Chapter44. Polygons and solids. Contents: A Polygons B Triangles C Quadrilaterals D Solids E Constructing solids

Tilt-Sensing with Kionix MEMS Accelerometers

2 Computing all Intersections of a Set of Segments Line Segment Intersection

Transcription:

Lecture 5: Sptil Algorithms GEOG 49: Advnced GIS Sptil Anlsis Algorithms Bsis of much of GIS nlsis tod Mnipultion of mp coordintes Bsed on Eucliden coordinte geometr http://stronom.swin.edu.u/~pbourke/geometr/ t / / t /

A mtter of nlticl crtogrph Theoreticl nd mthemticl bckground behind crtogrph Seeks to find how geogrphic properties of spce cn be used in nlsis, modeling, nd prediction Anlticl Crtogrph consists of the bsic mthemticl lgorithms nd principles of crtogrph tht survive independentl of prticulr technolog AC Algorithms Algorithm specil method for solving problem stted s formul or set of sequentil instructions Church s Theorem if problem cn be stted s series of sequentil instructions, then it cn be utomted Crtogrphic trnsformtionl lgorithms re the nuts nd bolts from which GIS re constructed

Mtrices If ou re going to understnd AC lgorithms, ou should understnd something bout mtri lgebr Mtri: set of numbers of smbols rrnged in squre or rectngulr rr of m rows nd n columns. The rrngement is such tht certin defined mthemticl opertions cn be performed in sstemtic nd efficient w Liner equtions nd mtrices Given set of liner equtions + + c + z 8 + + c + z 4 + + c + + z We cn define them in mtri form c c c And further define them in mtri nottion AX C

So, if we hve sstem of liner equtions AX C We cn lgebricll reformt the eqution b pre-multipling both sides b the identit mtri AX C A X A C IX A C X A C Solving simultneous equtions We cn solve the following eqution simultneousl l through h bsed lgebric mnipultion + 5 8 solving for, we reduce to + 5 + 8 + now dd the two equtions + 5 + 8 + 9 4

5 Solving simultneous equtions with mtrices Or, we cn use mtrices + 8 5 8 5 C X A More complicted formuls 4 8 8 5 + + + z z + + z

Trnsformtionl View of Crtogrph Tpes of dt/tpes of mps Mp scle Dimensionl Smboliztion Generliztion Dt model Trnsformtions Gol is to epress trnsformtion s n eplicit mth opertion so tht 0 in full described w nd n inverse trnsformtion 0 Invertible trnsformtions Specil subset, llows for prediction of error, sptil modeling Point-to-point t i t trnsformtions ti ver centrl, more thn n other Cn hve multi-step trnsformtions 6

Dimensionl Trnsformtions Coordinte trnsformtions Projections Geometric trnsformtions Mesurements from coordintes Affine trnsformtions Rottion, trnsltion, nd scling Sttisticl spce trnsformtions Plnr mp trnsformtions Distnce between two points Figured out,400 ers go b Pthgors ( ) + ( ) d to Is this invertible? Onl if we hve three points Length of line npts length ( ) + ( ) i i i i i 7

Plnr mp trnsformtions II Weighted verge point Cities (,,P) P popultion npts P i i i npts P i i npts P i i i npts P i i Intersection point of two lines (, ) (, ) Line (p, q) Line ( 4, 4 ) (, ) 8

Intersection point of two lines If (, ) nd (, ) lie on the sme line then: + b + b remember m + b (the eqution of line) If (, ) nd ( 4, 4 ) lie on the sme line then: + b + 4 b 4 Intersection point of two lines If n intersection eists, it must lie on both lines: + b + b Solve for simultneous equtions: b + ( b ) Rerrnge to get: b ( b ) 9

Intersection point of two lines Solving for : b b And b substituting, solve for : ( ) + b ( b b) An emple of line intersection 0

50 70 0 0 70 0 60 0 b b 70 0 + b + b + 50b + 0b + 40 ( b b ) 0 0 ( 4 ) 60 6 6.667 4 0 50 + b + 0b + 0b 40 0 b b 4 0 0 + b 4 + 0 + b 0 +. ( ) ( b b ) 0 0 4 Intersection of two lines If the denomintor bove is 0, the lines re prllel If the denomintor nd the numertor bove is 0, the lines re coincident In the computer, we hve rel problem with 0 Actul zero lmost never hppens Mens we must check within limits of coordinte precision Solution is not elegnt test ever combintion of line segments Bounding Bo heuristic

Distnce between point nd line P P P Distnce between point nd line Eqution for the line P P+ u ( P P) The shortest distnce from P to P is perpendiculr line. This mens the dot product of the line nd the perpendiculr is 0. Substitute for the eqution of the line ( P P) 0 ( P P) dot ( P P) 0 [ P P- u(p - P)] dot The dot product is often used to clculte l the cosine of the ngle between two vectors.

Distnce between point nd line Solve for u u ( )( ) + ( )( ) ( ) ( ) Find the intersection point ( ) ( ) + u + u Distnce is length of line between P nd intersection point Clockwise vs. counter clockwise 0 0 ( pt ) ( ) ( ) ( pt ) 0 5 pt 0 Wht if its on the line? 0 5 0 0 5 0 5 0 0, pt 0 0 pt 0 5 0 5 0 0 0 5 0 5 0 0, pt 0

Are of polgon A npts + i ( ) ( ) i i Project lines from ech verte to some outside perpendiculr. Ech re under the line is tringle nd rectngle. Sum the res s ou move round the polgon. Outside res get subtrcted out i i 4

Wht we hve covered this semester Brief nd fst review of GIS Structure of GIS (HW/SW, file bsed, object bsed, object- reltionl) GIS dt models (rster, vector, TIN) Object modeling nd geodtbses Geo-reltionl model, object oriented concepts, object behvior, benefits of geodtbses Mking fetures smrt, qulities of fetures in geodtbse, subtpe, reltionship clsses Crtogrphic modeling Generl principles in crtogrphic modeling, trnsfer of principles to Model Builder, sptil SQL Dtbse design Dt models, entit-reltionship digrms, sptil entities in E-R digrms, phsicl nd logicl design, design steps (model user view, define entities nd reltionships, trnsition to phsicl model) ESRI Geodtbse structure (geodtbse, feture dtset, feture nd object clsses, reltionship clsses, rules) Wht we hve covered this semester Vector GIS opertions Vector functions (scle chnge, buffer, clip, overl, Theissen polgons, Delun tringultion) Mp trnsformtions (conforml, ffine, polnomils, rubbersheeting), rster trnsformtion (WTC emple) Sptil lgorithms (concept of n lgorithm, mthemtics of nlticl crtogrph: distnce, intersection, continment) 5

How ou got our hnds dirt Review of clssic GIS functions for site selection Getting rel world dt into GIS (even when the dt isn t ver good) rubbersheeting nd rster trnsformtion Integrtion of clssic GIS functions in modern computing environment (model builder) Creting geodtbse (controlled environment) Creting geodtbse (non controlled environment) Wht s on the written em 0 definitions short nswers (lists, benefits/limittions, etc.) computtion (i.e. re, centroid, distnce, intersection) esss (conceptul ides) 6

Wht s on the prcticum Hnds-on work Crete geodtbse Digitize boundries Crete smll GIS nlsis 7