Presentation is loading. Please wait.

Presentation is loading. Please wait.

University of Wisconsin-Milwaukee Geographic Information Science Geography 625 Intermediate Geographic Information Science Instructor: Changshan Wu Department.

Similar presentations


Presentation on theme: "University of Wisconsin-Milwaukee Geographic Information Science Geography 625 Intermediate Geographic Information Science Instructor: Changshan Wu Department."— Presentation transcript:

1 University of Wisconsin-Milwaukee Geographic Information Science Geography 625 Intermediate Geographic Information Science Instructor: Changshan Wu Department of Geography The University of Wisconsin-Milwaukee Fall 2006 Week 9: Lines and Networks

2 University of Wisconsin-Milwaukee Geographic Information Science Outline 1.Introduction 2.Representing and storing linear entities 3.Line length and direction 4.Connecting in line data: trees and graphs 5.Statistical analysis of geographic line data 6.Applications in transportation studies

3 University of Wisconsin-Milwaukee Geographic Information Science 1. Introduction Line objects Drainage networks: rivers Transportation networks: road, rail, air, utility Communication networks: Internet Concepts Length or distance Direction Connection

4 University of Wisconsin-Milwaukee Geographic Information Science 2. Representing and storing linear entities How to represent lines in a digital database? 1.Most GISs store lines as sequences of points connected by straight-line segments. 2.Polyline makes the distinction between individual segments and the combined entity. 3.Breaking a real geographical line entity into short straight-line segments for a polyline representation is called discretization and usually performed semiautomatically by human operators working with digitizing equipment.

5 University of Wisconsin-Milwaukee Geographic Information Science 2. Representing and storing linear entities Obvious and simple More points in curved portions and less points in smoothed portions

6 University of Wisconsin-Milwaukee Geographic Information Science 2. Representing and storing linear entities Smoothly curving lines can be more efficiently stored and manipulated as curves. 1) Curve sections are represented as arcs of circles (center and radius of curvature for each section are stored) 2) Curve sections are represented as splines. Splines are mathematical functions that can be used to describe smoothly curving features Circle arcs and splines are common in computer-aided design (CAD) and vector graphics drawing package, but not popular in GIS.

7 University of Wisconsin-Milwaukee Geographic Information Science 2. Representing and storing linear entities - Encoding schemes of Line Data Distance direction coding: an origin point is specified, followed by a series of distance – direction pairs that indicate how far the polyline extends on a particular bearing to the next stored point. Simple coding: a simple list of the (x,y) coordinate pairs of the digitized points in a polyline (x 1,y 1 ) (x 2, y 2 ) (x 3, y 3 ) (x 4, y 4 )…… (x 1,y 1 ) (dist 2, direction 2 ) (dist 3, direction 3 )……

8 University of Wisconsin-Milwaukee Geographic Information Science 2. Representing and storing linear entities - Encoding schemes of Line Data Deta coding: an origin point is specified, followed by a series of offsets in x and y direction. (x 1,y 1 ) (Δx 2, Δy 2 ) (Δx 3, Δy 3 )…… Unit length (Freeman chain) coding: an origin point, followed by a step length, followed by a series of coded directions (usually eight directions)

9 University of Wisconsin-Milwaukee Geographic Information Science 3. Line length and direction - Straight Lines

10 University of Wisconsin-Milwaukee Geographic Information Science 3. Line length and direction - Lines in real world The coastline is getting longer the closer we look What is the correct length?

11 University of Wisconsin-Milwaukee Geographic Information Science 3. Line length and direction - Fractal Dimension Mathematic idea for dealing with this difficulty: fractal dimension A line may be somewhere between one- and two dimensional, with fractal dimension (e.g. 1.2) The dimensionality describes how its total size (length, area, or volume) increases as its linear size, measured in one dimension, increases.

12 University of Wisconsin-Milwaukee Geographic Information Science 3. Line length and direction - Fractal Dimension Resolution 1, 1/2, 1/3 Segments: 1, 2, 3 Resolution 1, 1/2, 1/3 Segments: 1, 4, 9 Resolution 1, 1/2, 1/3 Segments: 1, 8, 27

13 University of Wisconsin-Milwaukee Geographic Information Science 3. Line length and direction - Fractal Dimension L: the linear size or scale of our yardstick element N: the number of elements L= 1, 1/2, 1/3 N= 1, 8, 27

14 University of Wisconsin-Milwaukee Geographic Information Science 3. Line length and direction - Fractal Dimension An example: Koch's snowflake What is the fractal dimension?

15 University of Wisconsin-Milwaukee Geographic Information Science 3. Line length and direction - Fractal Dimension Hilbert Curve What is the fractal dimension?

16 University of Wisconsin-Milwaukee Geographic Information Science 3. Line length and direction - Fractal Dimension Richardson plot: estimate the fractional dimension by plotting the relationship between Log N and Log L

17 University of Wisconsin-Milwaukee Geographic Information Science 3. Line length and direction - Fractal Dimension The dimensionality of a geometric entity expresses the extent to which it fills the next whole dimension up from its own topological dimension. A line with fractal dimension of 1.0 is an ideal Euclidean geometric line with no area, so take up no space in the plane. However, a line with fractal dimension 1.1 or 1.15 begins to fill up the two topological dimensions of the plane in which it is drawn.

18 University of Wisconsin-Milwaukee Geographic Information Science 3. Line length and direction - Fractal Dimension Many natural phenomena, from clouds and trees, to coastlines, topography, and drainage basins exhibit the unsettling property of changing their size depending on how close you look. The fractal dimension of surface topography can be related to other geological or socio-economic characteristics. Fractal dimension is indicative of how measures of an object will change with scale and generalization, and in general, scale-varying properties of phenomena can be related to their fractal dimension. Related to “self-similarity”. A geographic entity is strongly self- similar (coastlines: big bays have little bays within them, and so on).

19 University of Wisconsin-Milwaukee Geographic Information Science 3. Line length and direction - Other length measures Mean length Standard deviation Path density

20 University of Wisconsin-Milwaukee Geographic Information Science 3. Line length and direction - Line direction θiθi East North V VEVE VNVN Average direction

21 University of Wisconsin-Milwaukee Geographic Information Science 4. Trees and graphs Trees: no closed loops Graphs (networks): closed loops Transportation network River

22 University of Wisconsin-Milwaukee Geographic Information Science 4. Trees and graphs Graph theory: mathematical theory of networks (a branch of topology) Vertices: junctions or nodes Links: the lines joining the vertices Connectivity or adjacency Directed graph Undirected graph

23 University of Wisconsin-Milwaukee Geographic Information Science 4. Trees and graphs Minimally connected network: each vertex is connected to the network, and none is isolated from it The number of edges e min = v - 1

24 University of Wisconsin-Milwaukee Geographic Information Science 4. Trees and graphs Maximally connected network: every vertex is directly linked to each of the other vertex. The number of edges e max = v(v – 1)/2 = 6*5/2 = 15

25 University of Wisconsin-Milwaukee Geographic Information Science 4. Trees and graphs Nonplanar graph: There are no intersections among edges (e.g. airplane network) Planar graph: all linkages are in the same plane and all intersections not corresponding to the original vertices would have to be eliminated. Nonplanar Planar

26 University of Wisconsin-Milwaukee Geographic Information Science 4. Trees and graphs Planar graph The maximum number of edges e max = 3(V-2)

27 University of Wisconsin-Milwaukee Geographic Information Science 4. Trees and graphs Diameter: the number of linkages or steps needed to connect the two most remote nodes in the network. The better connected the network, the lower the diameter. - Connectivity What is the diameter?

28 University of Wisconsin-Milwaukee Geographic Information Science 4. Trees and graphs - Connectivity The gamma index (γ): the ratio between the number of edges (linkages) actually in a given network and the maximum number possible in that network. For planar network Spinal: 1/3 4 Grid: 1/2 4 Delta: 2/3 3 What is the gamma index for the above planar network?

29 University of Wisconsin-Milwaukee Geographic Information Science 4. Trees and graphs - Connectivity Matrix A represents one-step connectivity

30 University of Wisconsin-Milwaukee Geographic Information Science 4. Trees and graphs - Connectivity Matrix A 2 represents two-step connectivity Diameter = 2

31 University of Wisconsin-Milwaukee Geographic Information Science 4. Trees and graphs - Connectivity Total connectivity (T) n is the diameter of the graph T= A 1 + A 2 = + = 47874787 ABCDABCD

32 University of Wisconsin-Milwaukee Geographic Information Science 4. Trees and graphs Shortest Path Algorithm -Dijkstra’s Shortest Path Algorithm (http://carbon.cudenver.edu/~hgreenbe/sessions/dijkstra/D ijkstraApplet.html) C A D E B F 2 2 1 1 2 3 2

33 University of Wisconsin-Milwaukee Geographic Information Science A D E B F 2 2 1 1 2 3 2 4. Trees and graphs Shortest Path Algorithm C A D E B 2 2 1 1 2 3 2 C Step 1: start from a vertex (A), scan the connected vertices, activate the one with the nearest distance, put the distance for the active vertex (B with a distance of 1 in this example). F

34 University of Wisconsin-Milwaukee Geographic Information Science A D E B 2 2 1 1 2 3 2 C 4. Trees and graphs Shortest Path Algorithm F Step 2: from active vertices (A and B in the example), calculate the distance, put the vertex with the smallest distance into the active list (D in this example). Step 3: check whether an active vertex is connected to potential vertex, if not, close it. Step 4: repeat step 2 and 3 A(0) E B (1) 2 2 1 1 2 3 2 C F D (2) 2 2

35 University of Wisconsin-Milwaukee Geographic Information Science 4. Trees and graphs Shortest Path Algorithm E B (1) 2 2 1 1 2 3 2 C F D (2) A(0) E (2) B (1) 2 2 1 1 2 3 2 C F D (2) A(0) E (2) B (1) 2 2 1 1 2 3 2 C (3) F D (2) E (2) 2 2 1 1 3 2 C (3) D (2) F(4) 2 2 2 2 B (1) 2

36 University of Wisconsin-Milwaukee Geographic Information Science 5. Statistical analysis of geographic line data Probability of different line lengths across a rectangle area Not widely applied.

37 University of Wisconsin-Milwaukee Geographic Information Science 6. Applications in transportation studies 1.Traffic demand modeling 2.Best route selection 3.Location analysis (retail stores) 4.Scheduling 5.Etc…


Download ppt "University of Wisconsin-Milwaukee Geographic Information Science Geography 625 Intermediate Geographic Information Science Instructor: Changshan Wu Department."

Similar presentations


Ads by Google