GEOG 60 – Introduction to Geographic Information Systems Professor: Dr. Jean-Paul Rodrigue Topic 5 – Spatial Querying and Measurement A – Querying Features.

Slides:



Advertisements
Similar presentations
Geography Handbook pp
Advertisements

Chapter 1: How Geographers Look at the World
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.
UNIT 1: TOOLS OF GEOGRAPHY
CONNECTIVITY “The connectivity of a network may be defined as the degree of completeness of the links between nodes” (Robinson and Bamford, 1978).
Raster Based GIS Analysis
Maps.
CS 128/ES Lecture 12b1 Spatial Analysis (3D)
Mapping Earth's Surface Review and Assessment Answers
CS 128/ES Lecture 12b1 Spatial Analysis (3D)
Cartographic and GIS Data Structures
Topic 2 – Spatial Representation
Geographic Information Systems
GUS: 0262 Fundamentals of GIS Lecture Presentation 2: Cartography in a Nutshell Jeremy Mennis Department of Geography and Urban Studies Temple University.
PROCESS IN DATA SYSTEMS PLANNING DATA INPUT DATA STORAGE DATA ANALYSIS DATA OUTPUT ACTIVITIES USER NEEDS.
1 Spatial Databases as Models of Reality Geog 495: GIS database design Reading: NCGIA CC ’90 Unit #10.
Area, buffer, description Area of a polygon, center of mass, buffer of a polygon / polygonal line, and descriptive statistics.
GIS Introduction What is GIS?. Geographic Information Systems A database system in which the organizing principle is explicitly SPATIAL.
Basic Concepts of GIS January 29, What is GIS? “A powerful set of tools for collecting, storing, retrieving, transforming and displaying spatial.
Geographic Information Systems Applications in Natural Resource Management Chapter 14 Raster GIS Database Analysis II Michael G. Wing & Pete Bettinger.
Rebecca Boger Earth and Environmental Sciences Brooklyn College.
Spatial data Visualization spatial data Ruslan Bobov
Basic Spatial Analysis
Spatial data models (types)
Modern Navigation Thomas Herring MW 11:00-12:30 Room
What is Geography?. What is Geography? *Geography is the study of the natural features of the earth's surface, including topography, climate, soil,
Cartography: the science of map making
Applied Cartography and Introduction to GIS GEOG 2017 EL
Introduction to Rasters In ArcGIS 9.2. What can you do with Rasters Lots….
Dr. Marina Gavrilova 1.  Autocorrelation  Line Pattern Analyzers  Polygon Pattern Analyzers  Network Pattern Analyzes 2.
Parallels of Latitude Meridians of Longitude Graticular Network Georeferencing Using MaNIS/HerpNET/ORNIS Guidelines.
Basic Geographic Concepts GEOG 370 Instructor: Christine Erlien.
Spatial Analysis What is spatial analysis?
HOW GEOGRAPHERS LOOK AT THE WORLD. 5 THEMES OF GEOGRAPHY  1. Location : Where is it?  2. Place: What is it like?  3. Region : How are places similar.
What is a map? A Map is a two or three-dimensional model or representation of the Earth’s surface. 2-Dimensional map.
Chapter 3 Digital Representation of Geographic Data.
8. Geographic Data Modeling. Outline Definitions Data models / modeling GIS data models – Topology.
How do we represent the world in a GIS database?
Chapter 3 Section 1- Finding Locations on Earth
May 4 th (4:00pm) Multiple choice (50 points) Short answer (50 points)
Elementary Spatial Analysis GEOG 370 Instructor: Christine Erlien.
1 Spatial Analysis in GIS EAA 502 MSc. Course Lecture 3 Dr Mohd Sanusi.
Math Vocabulary Project By: J’amezz Martin. Integer A whole number; a number that is not a fraction.
Tables tables are rows (across) and columns (down) common format in spreadsheets multiple tables linked together create a relational database entity equals.
Map Projections RG 620 Week 5 May 08, 2013 Institute of Space Technology, Karachi RG 620 Week 5 May 08, 2013 Institute of Space Technology, Karachi.
1 Spatial Data Models and Structure. 2 Part 1: Basic Geographic Concepts Real world -> Digital Environment –GIS data represent a simplified view of physical.
GEOGRAPHY SKILLS HANDBOOK MS. MAITLAND PERIODS 1, 2, 3, & 4.
Geographer’s Tools Maps Globes Graphs. Organization The grid that covers a globe is made of lines that run east to west and north to south. –Lines of.
Mapping. What is a map? It is a representation of something (Earth, stars, solar system, a building, etc… It is a representation of something (Earth,
Why do Geographers use Maps? AP Human Geography. Why do Geographers use Maps? All maps simplify the world Cartographers generalize information they present.
Intro to Spatial Analysis Most GIS support simple spatial analysis tasks such as selecting, counting, and generating descriptive statistics such as mean.
Integrating Geographic Information Systems (GIS) into your Curriculum Teaching American History Meg Merrick & Heather Kaplinger Year 2 GIS Inservices.
October 9 th,  Let's look at our first topic under Mapping Skills - Contour Lines.
Remote Sensing Theory & Background III GEOG370 Instructor: Yang Shao.
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”
1 Basic Geographic Concepts Real World  Digital Environment Data in a GIS represent a simplified view of physical entities or phenomena 1. Spatial location.
Spatial Data Models Geography is concerned with many aspects of our environment. From a GIS perspective, we can identify two aspects which are of particular.
Topographic & Geologic Maps Plus: Latitude and Longitude!
The Geographer’s Tools (Chapter 1, Lesson 1, pp.11-25) (Chapter 1, Lesson 1, pp.11-25)
BRAIN BOOST! Get out your COMPLETED study guide and answer the questions! 1.What is the difference between a political map and a physical map? 2. What.
Map Projections RG 620 May 16, 2014 Institute of Space Technology, Karachi RG 620 May 16, 2014 Institute of Space Technology, Karachi.
INTRO TO WORLD GEOGRAPHY: GEOGRAPHY SKILLS Mrs. Minks Social Studies.
Mapping.
Spatial analysis Measurements - Points: centroid, clustering, density
Raster Analysis Ming-Chun Lee.
Problems with Vector Overlay Analysis (esp. Polygon)
Data Queries Raster & Vector Data Models
Presentation transcript:

GEOG 60 – Introduction to Geographic Information Systems Professor: Dr. Jean-Paul Rodrigue Topic 5 – Spatial Querying and Measurement A – Querying Features of a Spatial Database B – Querying Using Spatial Attributes C – Measuring Length and Shape D – Measuring Distance

Conditions of Usage ■For personal and classroom use only Excludes any other forms of communication such as conference presentations, published reports and papers. ■No modification and redistribution permitted Cannot be published, in whole or in part, in any form (printed or electronic) and on any media without consent. ■Citation Dr. Jean-Paul Rodrigue, Dept. of Economics & Geography, Hofstra University.

Querying Features of a Spatial Database ■1. What is Querying? ■2. Basic Operators ■3. Boolean Search ■4. Successive Search A A

What is Querying? ■Narrowing down information A GIS is composed of a database. Spatial attributes linked to their features. Most GIS have a huge list of records. Impossible to find manually the information needed. Need an automated procedure to extract from the database the records useful for a task. Very important task in any DBMS. 1 1 GIS Database Records Query results Query Relevant records

What is Querying? ■DBMS Strategy Using fields in a database to find records satisfying at set of conditions. Conditions are defined by operators applied to fields. Logical operation. Operators either return True of False. Records that are true are selected (“flagged”). Records that are false are discarded. 1 1 Age Age < 30 Operator: Age

Search results “True” records Search results What is Querying? ■Search space Set of all records in a database. Information over which a query is performed. ■Search result Set of all records that satisfy a query. All records that are True. A search result can become a search space. 1 1 “True” records “False” records Search space “False” records

Basic Operators ■Equivalence A record must be equal to a condition. Record name always put in brackets []. = symbol used. ([State_name] = “California”). Wildcards can be used for equivalence. Applies only to strings. * is the multiple character wildcard. ? is the single character wildcard. ([Owner_name] = “M*”). ([Owner_name] = “?erry”). 2 2

Basic Operators ■Difference A record must be different from a condition. This difference is either a numeric or alphanumeric. A bounding value (BV) is required. > greater than BV; < lesser than BV. >= greater of equal to BV; <= lesser or equal to BV. ([City_name] >= "m" ). ([Pop97] < 10000). 2 2

Basic Operators ■Mathematical Used in conjunction with equivalence and difference. Perform an operation the record value must satisfy to. Standard addition (+), subtraction (-), multiplication (*) and division (/). Priority in operation. * and / have the highest. + and - have the lowest. Putting operations in parentheses prioritize them. ([Pop97] / [Area] >= 25). ([Netvalue]> [Area] * ([Price] + [Tax])) 2 2

Boolean Operators ■Combination of conditions Either True or false. Exclusion: And is an intersection of two sets. ([area] > 1500) and ( [b_room] > 3). Inclusion: Or is an union of two sets. ([age] 65). Subtraction: Not is a subtraction from one set of another set. ([sub_region] = "N Eng") and ( not ( [state_name] = "Maine")). 3 3

Boolean Operators Set ASet B AND Set ASet BSelection True Yes TrueFalseNo FalseTrueNo False No 3 3 California Pacific Coast

Boolean Operators Set ASet BOR Set ASet BSelection True Yes TrueFalseYes FalseTrueYes False No 3 3 California Nevada

Boolean Operators Set A NOT Set ASet BSelection True No TrueFalseYes FalseTrueNo False No Set B 3 3 California Los Angeles

Successive Query ■New Set Makes a new selected set containing the features or records selected in a query. Features or records not in this set are deselected. ■Add To Set Adds the features or records selected in a query to the existing selected set. Widens a selection. ■Select From Set Selects the features or records in a query from the existing selected set. Only those features or records in this existing set that are selected in a query will remain in the selected set. Narrows down a selection. 4 4

Successive Query New Set Add to Set Select from Set Records Selected Records Selected Records Selected Records Selected Records Selected Records Query 4 4

Querying Using Spatial Attributes ■1. Querying Based on Proximity ■2. Querying Based on Membership ■3. Querying Based on Intersection B B

Querying Based on Proximity 1 1 Search distance Search radius Adjacency

Querying Based on Membership 2 2

Querying Based on Intersection 3 3 Intersection of a line Intersection of a shape

Measuring Length and Shape ■1. Spatial Measurements Levels ■2. Measurements of Linear Objects ■3. Measurements of Polygonal Objects C C

Spatial Measurements Levels ■Qualitative level Descriptive classes with no ranking. Land cover classes (urban, water, vegetation). ■Ordinal level Qualitative ranking of nominal classes. Tree crown sizes (small, medium, or large crowns). ■Quantitative level Ordered values or classes with numeric value. Absolute numbers. Area of state counties, density. 1 1

Spatial Measurements Levels PointLineArea Quantitative Ordinal Qualitative Each dot represents 500 persons Proportional symbols Large Medium Small  Town Airport Flow Contour Highway Road Street Road Boundary River Population density High impact Low impact Swamp Desert Forrest 1 1

Spatial Measurements Levels ■Classifying Data: Ratios Number in one class (fa) over the number of another class (fb). Denoted as fa / fb. # of males / # of females. ■Classifying Data: Proportions Number in one class (fa) over total in population (N). Denoted as fa / N. # of males / # of males and females. 1 1

Measurements of Linear Objects ■About points We can only measure the length of objects have one or more dimensions. Points only have no dimension. Impossible the measure the length of points. ■Lines One dimensional objects. At least one segment between two points. Possible to calculate the length of lines. The more points representing a line, the more accurate will be the computation of length. 2 2

Measurements of Linear Objects ■Planar length Length = sum (√((X 2 -X 1 ) 2 + (Y 2 -Y 1 ) 2 ) for all segments. Length = √ ((3-1) 2 + (2-1) 2 )) + √ ((5-3) 2 + (1-2) 2 ). Length = √ (4+1) + √ (4 +1) Length = (1,1) (3,2) (5,1) 2.2

Measurements of Linear Objects ■Problems with the geographical space Not a plane. The real length if often more because of elevation changes. Must take account of the effects of altitude. Trigonometric calculation. Increase the complexity because of computational and data requirements. Straight distance Effects of elevation 2 2

Measurements of Linear Objects ■Sinuosity Ratio of the straight-line distance over the true distance. Also known as the detour index. Does not describe a specific sinuosity. An index of 1 would imply no sinuosity. The smaller the ratio, the more sinuosity. 15 / 23 = Straight distance (15 miles) True distance (23 miles)

Measurements of Linear Objects ■Radius sinuosity Using the radius of a circle. The summation of radiuses would define sinuosity. No sinuosity would mean an infinite number. r 2 2

Measurements of Polygonal Objects ■Polygons Two dimensional objects. More measures are available. Perimeter. Area. Length. ■Length of polygons Orientation of the polygon is important. Indication of some geographical process. Growth or decline of a glacier. Urban growth. Forest growth or decline. 3 3

Measurements of Polygonal Objects Major axis The axe along the longest part of the polygon. Must divide the polygon in two equal parts. Minor axis The axe along the shortest part of the polygon. Must divide the polygon in two equal parts. Major axis / Minor axis ratio Values higher than 1 denote an elongated polygon. A value of 1 denotes a uniform polygon. Major axis Minor axis R = R =

Measurements of Polygonal Objects ■Perimeter Length of all segments in a closed polygon. Length of the contact surface (exposition) of a feature with other features. Shoreline of a lake. Exposition of a forest. Building a fence. ■Area A quantitative expression of a surface. Used to compare the geographical importance of some attributes. A powerful relative value. Area Perimeter 3 3

Measurements of Polygonal Objects ■Areas and the geographical space Does not consider the topography. Computation requires a digital elevation model. Dividing the space in triangles and using trigonometry. Theory Reality 3 3

3 3 A B C D E Measurements of Polygonal Objects ■Centroid Point at the exact geographic center of an area. Also known as the center of gravity. When the area is a rectangle or a circle, the centroid is easy to find. ■Geometric center Smallest circle rule. Trapezoid rule.

Measurements of Polygonal Objects ■Mean Center Find the centroid of a set of coordinates. Each coordinate has the same importance. The average value of X and Y coordinates. C =  x/n,  y/n n is the number of coordinates. x and y are the respective coordinate values. Mean Center 3 3

Measurements of Polygonal Objects ■Weighted Mean Center Find the centroid of a set of coordinates Each coordinate has a different importance. The weighted average value of X and Y coordinates. C =  (x*f)/n,  (y*f)/n n is the number of coordinates. f is the weighting factor. x and y are the respective coordinate values. Weighted Mean Center 3 3

Measurements of Polygonal Objects ■Spatial integrity The level of perforation / fragmentation of a polygon. Contiguity: An unbroken polygon of a similar feature. Perforation: A polygon surrounding other polygons (donut effect). Fragmentation: Polygons of a similar feature surrounded by another polygon. 3 3 Perforated polygon Fragmented polygons

Measurements of Polygonal Objects ■Euler number Measure of the amount of perforation and fragmentation in a region. EN = holes – (fragments – 1). Positive values are perforated. Negative values are fragmented. EN = 3 - (1-1) EN = 3 EN = 0 - (3-1) EN =

Measurements of Polygonal Objects ■Convexity index CI = Perimeter / Area. A perimeter/area ratio is an expression of the geographical complexity of a polygon. A high ratio means a complex polygon, while a low ratio means a simple polygon. Area = 25 sqr miles Perimeter = 7 miles CI = 7 / 25 = 0.28 Area = 25 sqr miles Perimeter = 15 miles CI = 15 / 25 =

Measuring Distance ■1. Simple Distance ■2. Great Circle Distance ■3. Functional Distance D D

Simple Distance ■Vector data Use Pythagoras. Accumulate for all segments. Advantage: Uses ground units. Disadvantage: Floating point and computational. ■Raster Count pixels. Track lines and count. Eliminate redundant pixels and count. Advantages: Quick. Disadvantage: Inaccurate. 1 1

Simple Distance ■Isotropy of space Considers that the characteristics of space are uniform in any direction. Calculated with the Euclidean distance. 1 1

Great Circle Distance ■Context On a sphere the shortest path between two points is calculated by the great circle distance. An arc linking two points on a sphere. Establish the shortest path to use when traveling at the intercontinental level. Shortest route is the one following the curve of the planet, along the parallels. Because of the distortions caused by projections on flat paper a straight line on a map is not necessarily the shortest distance. Ships and aircraft usually fallow the great circle geometry to minimize distance and save time and money to customers. 2 2

Great Circle Distance ■The Great Circle Distance (D) on a sphere cos D = (sin a sin b) + (cos a cos b cos |c|) a and b are the latitudes of the respective coordinates |c| is the absolute value of the difference of longitude between the respective coordinates. 2 2

The Great Circle Distance between New York and Moscow New York Moscow 40’45”N 73’59”W 55’45”N 37’36”E Cos (D) = (Sin a Sin b) + (Cos a Cos b Cos |c|) Sin a = Sin (40.5) = Sin b = Sin (55.5) = Cos a = Cos (40.5) = Cos b = Cos (55.5) = Cos c = Cos ( ) = Cos (D) = – = D = degrees 1 degree = km, so D = km 2 2

Functional Distance ■Concept Space is not isotropic for most phenomena. Absolute barriers. Stop movements / interactions completely. Mountain ranges. Rivers / oceans. Relative barriers. Friction that varies according to direction and to features of space. Slope. Type of roads. Border. 3 3

Absolute and Relative Barriers AB Absolute Barrier AB Relative Barrier Friction Low High 3 3

1 3 a b Functional Distance: Effect of Topography on Route Selection Low elevation Medium elevation High elevation 2 c 3 3

Functional Distance (absolute barrier) 3 3 Sea Land a b p1 a b p4 12 a b p2 3 R {C(sea) = C(land)} R1 {C(sea) > C(land)} R2 {C(sea) < C(land)} p2 p3 p4 R (sea) R (land) R (sea) R (land) R2 (sea) R1 (sea) R1 (land) R2 (land) R {  C(land) >  C(sea)}

Cost Minimization and Efficiency Maximization Low High Costs Efficiency Low High Compromise 3 3

Multi-Criteria Decision-Thinking Process in Route Selection Multi-Criteria Decision Physical Environmental Economic Political Route Selection CONSTRAINTS C1 C2 C3 C4 R=f(C1,C2,C3,C4) 3 3