Title: Line Analysis
1Line Analysis
- The nature of linear features
- Attributes
- Directional Statistics
- Network Analysis
- Shortest Path
2The nature of linear features
- Typically represented as lines on a map
- Roads, rivers/streams, sewer lines
- Lines may or may not be connected
- Fault lines
- Trajectories
- Wind, migration routes
- Networks have nodes connecting features
3Examplefaults and rivers
4http//www.gisca.adelaide.edu.au/gisca/pd/mapping_
aust_pop_results.html
5(No Transcript)
6(No Transcript)
7Attributes of linear features
- Length
- Data need to be projected!
- Used to calculate the distance between two
points, use the sum of segments to calculate the
distance of a complex line
8Measuring Lines in a Raster System
9Method 1
Number of cells
Multiply by resolution of cell 50
10Method 2
Center Point Distance
1.414
1
1
11Orientation and Direction
- Orientation
- East/west or north/south
- No direction implied (so no from-to)
- Mapping the orientation of fallen trees in
Petrified National Forest to determine if a storm
caused the trees to fall - Measure either nominally or with angular measures
- Direction
- From one location to another
- One way streets
- Migration, shortest path routing, wind vectors
12Orientation of LINES
- Objects exhibit more than just distribution
13Orientation of LINES
- Objects exhibit more than just distribution
- Direction is often related to a force (process)
-
14blow-down wind direction?
15(No Transcript)
16DIRECTION of LINES
- Objects exhibit more than just distribution
17Directional Statistics
- Descriptive
- sum, count, mean, max, range, variance, standard
deviation - Total length and Straight line length
- Ratio of the two (higher ratio implies more
complexity in the line more curves) - Sinuosity
- Important when curviness is a factor
- e.g., rivers
18(No Transcript)
19(No Transcript)
20(No Transcript)
21(No Transcript)
22(No Transcript)
23(No Transcript)
24Direction and directional mean
- Visually
- add arrows
- star or rose diagram
- Statistically calculate the directional mean of
all vectors
25(No Transcript)
26(No Transcript)
27DIRECTION of LINES
- Distributions displayed as rose diagrams
28DIRECTION of LINES
- Q How to measure directionality?
- A Find the resultant vector!
- Find angle from base (theta)
- Multiply X coordinate by the cos of theta
- Multiply Y coordinate by sine of the theta
- Sum values for all coordinates
29Directional mean
30(No Transcript)
31How to calculate it
- You may wonder why not just take the mean of the
angles but this doesnt work. Why? - If all the vectors are in the same quadrat, then
it would be OK - Otherwise, we need trigonometry to handle the
angles
32For example, if I had 2 vectors, one with an
angle of 2 degrees and the other with an angle of
358 degrees. Their mean direction would be 0 or
360 degrees. If calculated mathematically, you
would get 180 degrees completely wrong!!!
33(No Transcript)
34(No Transcript)
35Circular variance
- Directional mean conceptually similar to
central tendency - Still need something
- that tells us how much
- deviation there is in
- our data
- Shows the variability
- of the directions
36Vectors that have similar direction
Vectors with similar directions resultant vector
is relative LONG and its length will be close to
n (remember the length of each vector is the same)
37Vectors with very different directions
Resultant vector will be relative short compared
to n for n vectors zig-zag effect
38Calculating circular variance
- Need to first calculate the length of the
resultant vector (OR)
39Circular variance
Range of Sv is from 0 to 1 When length of or is
small all vectors go in different directions
then Sv is close to 1. When length of or is large
relative to n all vectors go generally the same
direction then Sv is close to 0.
40(No Transcript)
41LINE PATTERNS
- Common measurements of line patterns
- Nearest neighbor distance between lines
1 - Randomly select point 2 - Draw perp. line to
each line 3 - Measure dist, calculate mean
42LINE PATTERNS
- Common measurements of line patterns
- Line intersect methods
- Draw random line or lines across map
- Note where sample line intersects coverage
- Random line that zigzags is called random walk
- Perform statistical analysis on points that
intersect line
43LINE PATTERNS
- If lines not random, then.
- there is reason to believe a process other than
random chance contributed to distribution
44Topology
- How lines (objects) are connected together
- Any type where we care about the connection
streams, roads, pipelines - Created with a connectivity matrix
45Connectivity Matrix