raster data models rasters can be different types of tesselations squarestriangleshexagons regular...

20
Raster data models Rasters can be different types of tesselations Squares Triangles Hexagons Regular tesselations

Upload: anabel-brooks

Post on 04-Jan-2016

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Raster data models Rasters can be different types of tesselations SquaresTrianglesHexagons Regular tesselations

Raster data modelsRasters can be different types of tesselations

Squares Triangles Hexagons

Regular tesselations

Page 2: Raster data models Rasters can be different types of tesselations SquaresTrianglesHexagons Regular tesselations

Raster data modelsIrregular tesselations

Page 3: Raster data models Rasters can be different types of tesselations SquaresTrianglesHexagons Regular tesselations

Raster data models

– but most common raster is composed of squares, called grid cells

– grid cells are analogous to pixels in remote sensing images and computer graphics

Page 4: Raster data models Rasters can be different types of tesselations SquaresTrianglesHexagons Regular tesselations

Raster data models

• A raster representation is composed a series of layers, each with a theme

Page 5: Raster data models Rasters can be different types of tesselations SquaresTrianglesHexagons Regular tesselations

Raster data models

• Raster layer can be attached to a RDBMS

1

22

4

4

1

1

4

4

1

1

2

4

4

1

2

3

3

3

3

2

2

2

2

2

1 agricultural sandy loam

2 road sandy loam

3 agricultural sandy loam

4 industrial sand

ID Land Use Soil Type

Page 6: Raster data models Rasters can be different types of tesselations SquaresTrianglesHexagons Regular tesselations

Raster data models

• Resolution of a raster is the distance that one side of a grid cell represents on the ground

1

22

4

4

1

1

4

4

1

1

2

4

4

1

2

3

3

3

3

2

2

2

2

2

= grid cell resolution

The higher the resolution (smaller the grid cell), the higher the precision, but the greater the cost in data storage

Page 7: Raster data models Rasters can be different types of tesselations SquaresTrianglesHexagons Regular tesselations

Raster data models

• Compression of raster data:

– run length encoding– value point encoding– chain codes– block codes– quadtrees

Page 8: Raster data models Rasters can be different types of tesselations SquaresTrianglesHexagons Regular tesselations

Raster data models

• Run length encoding and value point encoding

Page 9: Raster data models Rasters can be different types of tesselations SquaresTrianglesHexagons Regular tesselations

Raster data models

• Raster chain codes– directions around the boundary of a region

1

42

4

4

1

4

4

4

1

1

4

4

4

4

2

3

3

3

3

4

2

4

4

4

Start

North 1 East 1 North 2 East 2 South 3 West 3

Value 4

Page 10: Raster data models Rasters can be different types of tesselations SquaresTrianglesHexagons Regular tesselations

Raster data models

• Raster block codes– two dimensional run length encoding

1

42

4

4

1

4

4

4

1

1

4

4

4

4

2

3

3

3

3

4

2

4

4

4

1

42

4

4

1

4

4

4

1

1

4

4

4

4

2

3

3

3

3

4

2

4

4

4

1

3

4

5

2

1 2 3 4 5

1

3

4

5

2

1 2 3 4 5

Page 11: Raster data models Rasters can be different types of tesselations SquaresTrianglesHexagons Regular tesselations

Raster data models• Quadtrees

– a partitioning of heterogeneous space into quarter sections

Page 12: Raster data models Rasters can be different types of tesselations SquaresTrianglesHexagons Regular tesselations

Raster data models

• Quadtrees– node is a quadrant that is heterogeneous– leaf is a quadrant that is homogeneous– quadrants are assigned an ID number according to their position

and level

Page 13: Raster data models Rasters can be different types of tesselations SquaresTrianglesHexagons Regular tesselations

Raster data models• Quadtrees

– advantages• efficient• variable resolution, can generalize data display

– disadvantages• complex• difficult to modify/update• not efficient if data is hetergeneous

Page 14: Raster data models Rasters can be different types of tesselations SquaresTrianglesHexagons Regular tesselations

Raster data models

• Orderings of two dimensional data

• Goal is to store data that are ‘close’ in physical space close on the disk

Page 15: Raster data models Rasters can be different types of tesselations SquaresTrianglesHexagons Regular tesselations

Raster data models

• Raster data input– conversion from vector data

• Presence/absence• Dominant type• Percent occurance

Page 16: Raster data models Rasters can be different types of tesselations SquaresTrianglesHexagons Regular tesselations

Raster data models

• Raster data input

Page 17: Raster data models Rasters can be different types of tesselations SquaresTrianglesHexagons Regular tesselations

Raster data model• Raster data input

– interpolation from point data to surface

7

5

8

7

9

12

1015

119 12

5

5

6

7

7

8

9

5

5

7

8

8

8

9

6

7

8

9

10

10

9

8

9

9

10

10

10

11

8

9

11

12

13

11

13

7

8

10

13

15

12

14

7

8

10

11

14

12

13

Page 18: Raster data models Rasters can be different types of tesselations SquaresTrianglesHexagons Regular tesselations

Raster data model

• Direct data capture in raster format– classified satellite remote sensing– aerial photography– scanned maps (from a drum scanner)

• must be rectified and registered for integration with other geographic data (corrected for distortions and georeferenced to a coordinate system)

Page 19: Raster data models Rasters can be different types of tesselations SquaresTrianglesHexagons Regular tesselations

Raster vs. Vector• Raster

– Advantages • simple to understand• overlay operation is straightforward• can represent high spatial variability• similar format for digital images

– Disadvantages• typically less compact storage than vector• hard to represent topological relationships• output graphics are often ‘blocky’ inappearance

Page 20: Raster data models Rasters can be different types of tesselations SquaresTrianglesHexagons Regular tesselations

Raster vs. Vector• Vector

– Advantages • more compact storage than raster

• efficient encoding of topology and therefore more efficient topologic operations (I.e. network)

• graphic output approximates hand drawn maps

– Disadvantages• more complex than raster

• overlay operations are complicated

• representation of high spatial variability is inefficient

• cannot handle image data