20
Maps, images, spatial displays - Always look at the data responses, "Y" explanatories, "X" Saskatchewan, Canada responses,"Y" explanatories,"X" polygon(), text(), Y + X

Maps, images, spatial displays - Always look at the data

  • Upload
    dougal

  • View
    34

  • Download
    3

Embed Size (px)

DESCRIPTION

Maps, images, spatial displays - Always look at the data responses, "Y" explanatories, "X". Y + X. Saskatchewan, Canada responses,"Y" explanatories,"X" polygon(), text(), library(maps),. Examples from the news Costa Concordia - Giglio. - PowerPoint PPT Presentation

Citation preview

Page 1: Maps, images, spatial displays  -  Always look at the data

Maps, images, spatial displays - Always look at the data

responses, "Y" explanatories, "X"

Saskatchewan, Canada

responses,"Y" explanatories,"X"polygon(), text(), library(maps), ...

Y + X

Page 2: Maps, images, spatial displays  -  Always look at the data

Examples from the news

Costa Concordia - Giglio

Page 3: Maps, images, spatial displays  -  Always look at the data

Hetch Hetchy water route - pipelines and tunnels

Page 4: Maps, images, spatial displays  -  Always look at the data

SF Chronicle centerfold

Page 5: Maps, images, spatial displays  -  Always look at the data

NY Times 01/27/09

Coal used for electricity circles(), polygon()

Page 6: Maps, images, spatial displays  -  Always look at the data

Spatial process data.

(s,t): geographic coordinates,

e.g. (latitude, longitude), (x-coord,y-coord)

y(s,t): real-valued

e.g. available for s=0,...,S-1; t=0,...,T-1

(s,t) in A

Page 7: Maps, images, spatial displays  -  Always look at the data

Height of 500mb surface S=64, T=32

1200 GMT January 1, 1986

data based on many observations, interpolated to grid

display by contours over a world map

Page 8: Maps, images, spatial displays  -  Always look at the data

overall mean subtracted

map(), lines(), 2

Page 9: Maps, images, spatial displays  -  Always look at the data

map(), image(...,add=T, col=)

Page 10: Maps, images, spatial displays  -  Always look at the data

Starkey Reserve, Oregon - persp(), points()

Page 11: Maps, images, spatial displays  -  Always look at the data

red: eastward blue: westward

http://www.oscar.noaa.gov/

map(), arrows()

Ocean currents

Page 12: Maps, images, spatial displays  -  Always look at the data

Stacking.

Galton - photos of faces

electron micrographs

crystal, purple membrane

symmetries

160 "units"

j=1160 yj(s,t)/160

stacking via FFT fft(), lines()

Page 13: Maps, images, spatial displays  -  Always look at the data

micrographs

not stacked and stacked

J=1 J=160

Page 14: Maps, images, spatial displays  -  Always look at the data

Data may be aggregate, e.g. over polygons

coordinates of vertices

choropleth plot: a thematic map in which areas are shaded

map(), polygon()

computational geometry,

point in polygon library(splancs)

Saskatchewan births, counts, rates

Page 15: Maps, images, spatial displays  -  Always look at the data

polygon(,density=)

Page 16: Maps, images, spatial displays  -  Always look at the data

perspective plot persp()

hidden lines

Page 17: Maps, images, spatial displays  -  Always look at the data

Contouring.

Contour line, , (a function of two variables), is a curve connecting points where the function has the same value.

Smooth function f: R2 R

c: value

f-1 (c) = x,y

There may be more than one component

Page 18: Maps, images, spatial displays  -  Always look at the data

One method.

Suppose f(s,t) available for a regular grid

Suupose wish f-1(c)

Pick an edge, AB, of a pixel

I. It will be intercepted if min{f(A),f(B)}cmax{f(A),f(B)}

using this can learn all edges intercepted

II. If one edge of a cell is intercepted, so is another one

search in order E-S-W-N

III. Get intersection coordinates by interpolation

connect by line

IV. Move to pertinent adjacent cell and continue

Page 19: Maps, images, spatial displays  -  Always look at the data

Line process - set of lines {l1 , l2 , ls ,...}

Point process {(p(l1),(l1)),(p(l2),(l2)),...}

p: distance : angle

Page 20: Maps, images, spatial displays  -  Always look at the data

Tesselation

#{cells completely in set A}

polygon()