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

Slides:



Advertisements
Similar presentations
CSE 211 Discrete Mathematics
Advertisements

13-Optimization Assoc.Prof.Dr. Ahmet Zafer Şenalp Mechanical Engineering Department Gebze Technical.
Spatial Database Systems. Spatial Database Applications GIS applications (maps): Urban planning, route optimization, fire or pollution monitoring, utility.
IKI 10100: Data Structures & Algorithms Ruli Manurung (acknowledgments to Denny & Ade Azurat) 1 Fasilkom UI Ruli Manurung (Fasilkom UI)IKI10100: Lecture10.
Center for Modeling & Simulation.  A Map is the most effective shorthand to show locations of objects with attributes, which can be physical or cultural.
WFM 6202: Remote Sensing and GIS in Water Management © Dr. Akm Saiful IslamDr. Akm Saiful Islam WFM 6202: Remote Sensing and GIS in Water Management Akm.
GIS for Environmental Science
CONNECTIVITY “The connectivity of a network may be defined as the degree of completeness of the links between nodes” (Robinson and Bamford, 1978).
University of Wisconsin-Milwaukee Geographic Information Science Geography 625 Intermediate Geographic Information Science Instructor: Changshan Wu Department.
Chapter 3 The Greedy Method 3.
C++ Programming: Program Design Including Data Structures, Third Edition Chapter 21: Graphs.
Lecture 23 (mini-lecture): A Brief Introduction to Network Analysis Parts of the Network Analysis section of this lecture were borrowed from a UC Berkeley.
TERMS, CONCEPTS and DATA TYPES IN GIS Orhan Gündüz.
Graph Drawing Introduction 2005/2006. Graph Drawing: Introduction2 Contents Applications of graph drawing Planar graphs: some theory Different types of.
Chapter 9 Graph algorithms. Sample Graph Problems Path problems. Connectedness problems. Spanning tree problems.
Spring 2010CS 2251 Graphs Chapter 10. Spring 2010CS 2252 Chapter Objectives To become familiar with graph terminology and the different types of graphs.
2IL90: Graph Drawing Introduction Fall Graphs  Vertices  Edges.
Chapter 9 Graph algorithms Lec 21 Dec 1, Sample Graph Problems Path problems. Connectedness problems. Spanning tree problems.
Graphics Output Primitives Pixel Addressing and Fill Area Dr. M. Al-Mulhem Feb. 1, 2008.
University of Wisconsin-Milwaukee Geographic Information Science Geography 625 Intermediate Geographic Information Science Instructor: Changshan Wu Department.
University of Wisconsin-Milwaukee Geographic Information Science Geography 625 Intermediate Geographic Information Science Instructor: Changshan Wu Department.
Spatial data models (types)
SPATIAL DATA STRUCTURES
Curve Modeling Bézier Curves
Dr. S.M. Malaek Assistant: M. Younesi
Operations Research Assistant Professor Dr. Sana’a Wafa Al-Sayegh 2 nd Semester ITGD4207 University of Palestine.
Programming for Geographical Information Analysis: Advanced Skills Online mini-lecture: Introduction to Networks Dr Andy Evans.
Chapter 9 – Graphs A graph G=(V,E) – vertices and edges
October 14, 2014Computer Vision Lecture 11: Image Segmentation I 1Contours How should we represent contours? A good contour representation should meet.
Dr. Marina Gavrilova 1.  Autocorrelation  Line Pattern Analyzers  Polygon Pattern Analyzers  Network Pattern Analyzes 2.
–combines elements of computer science –database design –software design geography –map projections –geographic reasoning mathematics –mathematical topology.
8. Geographic Data Modeling. Outline Definitions Data models / modeling GIS data models – Topology.
Representing and Using Graphs
Vertices and Edges Introduction to Graphs and Networks Mills College Spring 2012.
Geographic Information Science
Quadratic Surfaces. SPLINE REPRESENTATIONS a spline is a flexible strip used to produce a smooth curve through a designated set of points. We.
 Data Models in Commercial GIS Systems E. Hoel, page CSCI 5715 – Fall /14/2014 Sameera Shah Shyam Sundar Somasundaram.
Introduction to Cartographic Modeling
1 Spatial Data Models and Structure. 2 Part 1: Basic Geographic Concepts Real world -> Digital Environment –GIS data represent a simplified view of physical.
Data Structures & Algorithms Graphs
ITEC 2620A Introduction to Data Structures Instructor: Prof. Z. Yang Course Website: 2620a.htm Office: TEL 3049.
Basic Notions on Graphs. The House-and-Utilities Problem.
Introduction. Spatial sampling. Spatial interpolation. Spatial autocorrelation Measure.
1 12/2/2015 MATH 224 – Discrete Mathematics Formally a graph is just a collection of unordered or ordered pairs, where for example, if {a,b} G if a, b.
Most of contents are provided by the website Graph Essentials TJTSD66: Advanced Topics in Social Media.
The Structure of the Web. Getting to knowing the Web How big is the web and how do you measure it? How many people use the web? How many use search engines?
Graphs A ‘Graph’ is a diagram that shows how things are connected together. It makes no attempt to draw actual paths or routes and scale is generally inconsequential.
Graph Theory. A branch of math in which graphs are used to solve a problem. It is unlike a Cartesian graph that we used throughout our younger years of.
Course 8 Contours. Def: edge list ---- ordered set of edge point or fragments. Def: contour ---- an edge list or expression that is used to represent.
Descriptive Geometry. Introduction  What is Descriptive Geometry? →It is the study of points, lines, and planes in space to determine their locations.
What is GIS? “A powerful set of tools for collecting, storing, retrieving, transforming and displaying spatial data”
Chapter 20: Graphs. Objectives In this chapter, you will: – Learn about graphs – Become familiar with the basic terminology of graph theory – Discover.
Raster Data Models: Data Compression Why? –Save disk space by reducing information content –Methods Run-length codes Raster chain codes Block codes Quadtrees.
Spanning Trees Dijkstra (Unit 10) SOL: DM.2 Classwork worksheet Homework (day 70) Worksheet Quiz next block.
Sheng-Fang Huang Chapter 11 part I.  After the image is segmented into regions, how to represent and describe these regions? ◦ In terms of its external.
Computer Graphics CC416 Lecture 04: Bresenham Line Algorithm & Mid-point circle algorithm Dr. Manal Helal – Fall 2014.
Hiroki Sayama NECSI Summer School 2008 Week 2: Complex Systems Modeling and Networks Network Models Hiroki Sayama
Physical Structure of GDB
Network analysis.
Data Queries Raster & Vector Data Models
Network Science: A Short Introduction i3 Workshop
Graphs All tree structures are hierarchical. This means that each node can only have one parent node. Trees can be used to store data which has a definite.
Graphs Chapter 11 Objectives Upon completion you will be able to:
Graph Operations And Representation
ITEC 2620M Introduction to Data Structures
Chapter 10.7 Planar Graphs These class notes are based on material from our textbook, Discrete Mathematics and Its Applications, 8th ed., by Kenneth H.
Trees-2, Graphs Data Structures with C Chpater-6 Course code: 10CS35
Chapter 9 Graph algorithms
GRAPHS.
Spline representation. ❖ A spline is a flexible strip used to produce a smooth curve through a designated set of points. ❖ Mathematically describe such.
Presentation transcript:

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

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

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

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.

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

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.

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 )……

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)

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

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?

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.

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

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

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

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

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

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.

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).

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

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

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

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

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

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

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

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

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?

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?

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

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

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 = + = ABCDABCD

University of Wisconsin-Milwaukee Geographic Information Science 4. Trees and graphs Shortest Path Algorithm -Dijkstra’s Shortest Path Algorithm ( ijkstraApplet.html) C A D E B F

University of Wisconsin-Milwaukee Geographic Information Science A D E B F Trees and graphs Shortest Path Algorithm C A D E B 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

University of Wisconsin-Milwaukee Geographic Information Science A D E B 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) C F D (2) 2 2

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

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.

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…