Geospatial Data Generation and Visualization1
Geospatial Data Generation and Visualization1
Training Course on
“ Coastal Vulnerability mapping and Analysis using GIS/QGIS Techniques"
26th to 30th August, 2019
H. SHIVA KUMAR
[email protected]
➢ QGIS introduction
➢ Downloading satellite data from web
➢ Satellite data visualization
➢ Subset based on AOI
➢ Vector shape file creation
➢ Map Composition
• Raster data opening in QGIS
• Raster Band Composition
• Change the band combination
• Adding data to band set
• Data Clipping
• Shape file creation
• Adding fields to attribute table
• Attribute data editing
• Vector data editing
• Export to KML
• Map composition
Download Landsat data
➢ Go to http://earthexplorer.usgs.gov/ and create new user account Login
3 4 7
2 1
5
6 8
1
2
3
4
Plugin installation :
➢Go to plugins manage and install plugin Select Semi automatic classification
and install
1
2
3
Raster data downloading in QGIS:
➢Now open Semi Automatic Classification Download Products
➢Click on login data enter login ID and Password (Need login in https://ers.cr.usgs.gov/login/)
➢Click on search clock on + symbol now go to QGIS window left click for UL, right click for UR
➢Now coordinates will appear in UL and UR Products select L8 OLI/TRS Select Date
➢Click on find image list will come select image Click on run give path to save data
3 4
2 5
6 7
9
Raster data opening in QGIS:
2 3
5 6
Raster Band Composition:
2 3
4
5
6
Contin…….
4
3
6 5
Adding data to band set:
➢Go to SCP click on band set SCP plugin window opens.
1
2
3
4
5
6
Contin…….
➢ More band set creation
3
2 1
➢ After band creation if you want to remove any band from band set
4 5
To remove
All the Bands
Data Clipping:
➢Go to SCP processing Clip multiple raster
3 2
1
4
➢After 3 step draw ROI on raster image or use shape file
5
6
Shape file creation:
Shape files are three types :
1. Point shape file
2. Line shape file
3. Polygon shape file Point Shape file creation :
1
2
3
4
Direct click on create 5
new shape file icon 6
7
8
9
10
11
Point Shape file Editing :
➢Select point shape file
➢Click on Toggle editing add point feature put points on image
2 3
1
4
5
6
7
8
10
9
Contin…….
➢ Moving point from one location to another location .Go to Edit Move feature
➢ Now click on point to select the point and click on image where you want to place that point
1
4
2 3
➢ To edit the attribute data select that point using select features by area or single click
5
7
Modify the
attributes of all
selected features
Simultaneously
8
6
Symbology :
➢ To change symbol Select layer(Point or Line or Polygon) right click Properties
➢ In layer properties window Click on Symbology Now change the symbol style, colour, size ok
5
Line Shape file creation:
➢ Go to layer Create Layer New shapefile Layer
1
2
3
4
5
Direct click on create
6
new shape file icon
7
8
9
10
Line Shape file Editing :
➢Select line shape file
➢Click on Toggle editing add line feature draw a line on image
3
2
8 7
Contin…….
Split line feature :
➢ Select line which you want to split using select features by area or single click
➢ Click on split features draw a line where you want to split and right click to complete line
Reshape Line feature:
➢ Select line which you want to split using select features by area or single click
➢ Click on reshape feature draw a line where you want to split and right click to complete line
Note: Drawing line in reshape feature line first point and last point should touch line feature
Reshape Split
features features Split
line
Before
reshape
After
reshape
Polygon Shape file creation:
➢ Go to layer Create Layer New shapefile Layer
1
2
3
4
5
6
7
8
9
10
Polygon Shape file Editing:
➢Select polygon shape file
➢Click on Toggle editing add polygon feature draw a polygon on image
2 3
1
4
5
6
Draw a polygon and
to complete polygon
right click on mouse
8 7
Contin…….
One to many polygons:
➢ Select the polygon using select features by area or single click
➢ Now click on Split features Draw a line where to split polygon and right click
Note: Starting point and ending should touch the polygon line
1
2
Select
feature
After reshape
Delete filed
2
3
4
After field add 5
6
Contin…….
Area calculation:
➢Click on open Field calculator in attribute table window
➢In filed calculator check create a new field Give name, type, length
Geometry double click on $area ok
2
1
3
4
5
6
Contin…….
Area and perimeter or length of line feature calculation:
➢ Click on vector Geometry tools Add Geometry attributes
➢In input layer select polygon feature Run (Calculates area and Perimeter)
➢In input layer select line feature Run (Calculates length of line)
Note: after calculating area and perimeter or length of line it will generate new shape file
1
2
5
Attribute data editing
If we want give the name to all same class fields at a time:
➢Click on open attribute table
➢Click on select by expression type the expression Click on Select feature
➢Click on modify attributes of all selected features simultaneously enter the name ok
1
5
3
5 Text should be in
single colon
6
6 7 4
Map composition
➢Go to project New print layout Create print layout window opens give name.
➢print layout window go to Add items Add map Draw a box in print canvas
3 4
Add grid
➢Go to items select map right click –Item properties click on grid
➢Add a new grid select that new grid click on modify grid
➢In appearance click on CRS select WGS84 ok enter the X,Y intervals.
➢Click on frame select frame style line border.
5
8
2 6
3 9
7
Contin…….
4
5
1
2
6
3
Add Legend
➢Insert legend: Go to add item Add legend Draw a box in print canvas
Now it will show the all layers legend if we need one layer legend, remove other layers from legend.
(First select only one layer in main window)
➢Go to items window select the layer Item properties legend items check only
show items inside current atlas features click on Filter legend by map content.
1
2
3
6
5
Contin…….
➢After adding legend all layers to show on legend. Go to items select legend.
right click item properties unselect auto update
➢Select the file which we no need and clock on remove
3
4
5
Add North Arrow
➢Add Items add Picture/add arrow draw a box in map canvas
➢Now go to items Select picture right click item properties
image picture browse picture or click on search directories select any image
1
2
3
5
Add Title
3
4
5
1
2
6
Add Scale bar
➢Add item Add Scale bar draw a box in map canvas .
➢To change map unites Click on scale bar units and select cm or m or km.
Export Map
➢Go to layout Save project Export as image Give name
➢Image export options window export resolution select 300 dpi or as per requirement
➢Click on save
1
2
5
Layer Export to KML:
3
4
1 2
5
Thank you