lec_11_intro to raster

16
Intro to Raster Prof. Dr. Sajid Rashid Ahmad [email protected] Atiqa Ijaz Khan _ Demonstrator [email protected]

Upload: atiqa-khan

Post on 15-Jul-2015

52 views

Category:

Education


0 download

TRANSCRIPT

Page 1: Lec_11_Intro to Raster

Intro to Raster

Prof. Dr. Sajid Rashid Ahmad

[email protected]

Atiqa Ijaz Khan _ Demonstrator

[email protected]

Page 2: Lec_11_Intro to Raster

Raster

• “A raster is a matrix of identically squared size cells.”

• Each cell store a specific value.

• Like: rainfall, temperature, elevation etc.

• It could be from integers or real numbers.

• Raster does not have associated attribute table, unless created by some means.

• It can never have text data in it.

• Examples:

• Satellite images, scanned map, aerial photographs etc.

Tuesday, March 3, 2015Institute of Geology, University of the Punjab

2

Page 3: Lec_11_Intro to Raster

Tuesday, March 3, 2015Institute of Geology, University of the Punjab

3

Satellite Imagery

Page 4: Lec_11_Intro to Raster

Tuesday, March 3, 2015Institute of Geology, University of the Punjab

4

Topo-sheet

Page 5: Lec_11_Intro to Raster

Tuesday, March 3, 2015Institute of Geology, University of the Punjab

5

Aerial Photography

Page 6: Lec_11_Intro to Raster

Raster Attribute

Tuesday, March 3, 2015Institute of Geology, University of the Punjab

6

Raster does not have associated attribute table, unless

created by some means.

Page 7: Lec_11_Intro to Raster

Pyramids

• Pyramids are used to improve the performance.

• They are down-sampled version of the original raster.

• Each successive layer is down-sampled at scale of 2:1.

• Every successive layer is down-sampled at a fixed resolution.

• Only that particular resolution is accessed for display.

• This process speeds up the drawing.

• Larger datasets required more time to create pyramids as compare to smallerones.

• Pyramids are created for each raster datasets individually, not as a whole forraster mosaics or catalog.

Tuesday, March 3, 2015Institute of Geology, University of the Punjab

7

Page 8: Lec_11_Intro to Raster

• Pyramids are the version of the raster datasets.

• They are used to control the speed of the drawing a raster as one zoom inor out.

• Generally, two types of resolutions are used:

• Coarser: As zoom out.

• Finer: As zoom in.

Tuesday, March 3, 2015Institute of Geology, University of the Punjab

8

Page 9: Lec_11_Intro to Raster

Tuesday, March 3, 2015Institute of Geology, University of the Punjab

9

Pyramid Performance

Zoom In

Zoom Out

Page 10: Lec_11_Intro to Raster

Types of Pyramids

• Two types of pyramids files:

• Reduced Resolution Datasets (.rrd) created in ERDAS (a Remote Sensing software)

• Overview (.ovr) created in ArcGIS 10.1

• ArcGIS can read both of these files.

• But only write Overview file.

• An overview file is created in two cases:

• File format is not an ERDAS IMAGINE file (.img)

• Pyramids are created in ArcGIS 10.1 or higher.

• Benefit over (.rrd) file:

• Overview file (.ovr) controls the compression type and quality of pyramids.

Tuesday, March 3, 2015Institute of Geology, University of the Punjab

10

Page 11: Lec_11_Intro to Raster

Pyramids Re-sampling Techniques

• 3 types of techniques are available with pyramids.

• Nearest:• Uses the values of the closest cell to assign value. It is by Default.

• Examples: Discrete raster data, like land use map, scanned map etc.

• Bilinear:• Uses the weighted average distance for the 4 nearest cells to assign value.

• Examples: Continuous data, like satellite images, or aerial photography, 1-bit TIFFs orIMGs

• Cubic:• Uses a smooth curve to pass through the 16 nearest cell’s centers to assign value.

• Examples: Continuous data, like satellite images, or aerial photography.

Tuesday, March 3, 2015Institute of Geology, University of the Punjab

11

Page 12: Lec_11_Intro to Raster

Tuesday, March 3, 2015Institute of Geology, University of the Punjab

12Create Pyramids

Pyramids Re-sampling

Techniques

Page 13: Lec_11_Intro to Raster

Hill Shade Effect

• It adds a hypothetical source of illumination to light up the areas for each cell ofraster.

• It usually enhances the visualization for display.

• It is also known as “Shaded Relief”.

• It simulates how the terrain will look like as with the interaction between sunlightand surface.

• It has integer values from 0 – 255.

Tuesday, March 3, 2015Institute of Geology, University of the Punjab

13

Page 14: Lec_11_Intro to Raster

Parameters of Hill Shade Effect

• Azimuth

• The azimuth is the angular direction of the sun, measured from north in clockwisedegrees from 0 to 360.

• An azimuth of 90º is east.

• The default azimuth is 315º (NW).

• Altitude

• The altitude is the slope or angle of the illumination source above the horizon.

• The units are in degrees, from 0 (on the horizon) to 90 (overhead).

• The default is 45 degrees.

Tuesday, March 3, 2015Institute of Geology, University of the Punjab

14

Page 15: Lec_11_Intro to Raster

Tuesday, March 3, 2015Institute of Geology, University of the Punjab

15

Azimuth Altitude

Azimuth: 315º

Altitude: 45º

Page 16: Lec_11_Intro to Raster

Tuesday, March 3, 2015Institute of Geology, University of the Punjab

16