Preparation of Treatment Map Using QGIS-User Manual Ver.10
Preparation of Treatment Map Using QGIS-User Manual Ver.10
Workflow
GIS Team
1. Mr. Pratap Sakhare – GIS Sr. Consultant (KPMG)
2. Mr. Prashant Korale – Range Forest Officer
3. Mr. Pankaj Dhomane – GIS Associate
4. Mr. C. Vishnu Prakash Reddy – System Integrator
5. Mr. Niranjan Jadhav – GIS Associate
6. Mrs. Ashwini Joshi – GIS Associate
Preparation of Treatment Map
Table of Contents
Check in Plugin Menu click on Manage and install Plugin search GPS tools
plugin is on or not? Check in box to switch on GPS tools.
1 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
Adding GPS file.
1. Goto vector menu
2. Go GPS
3. Click on GPS tools.
1
2 3
1
2
2 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
To editing the polygon GPX file convert into Shape file In layers panel right click on
Layer in layer panel.
1. In Format tab – Select for ESRI Shape File
2. Browse and give appropriate file location with proper file name
3. In CRS – convert to EPSG 32643 – WGS 84/ UTM Zone 44N as the location
belongs to UTM zone 44 N. This is being done to convert into projected Co-
ordinate System (PCS). Depending upon location give appropriate zones.
4. Click Ok.
1
2
3 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
Click on “New” icon to remove the existing layers.
1. Click Add vector layer to add shape file
2. Browse the file in location then select shape file (.shp).
3. Then open.
3 2
4 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
Now to rectify the boundary by selecting “Node tool” icon and remove
unwanted vertices and rectify boundary by moving last node using snapping tools
option located in Settings Menu. Keep parameters of snapping tools as displayed
below. Then click on ok.
Node tool
Zoom to line where rectification is needed and click on line to select layer and delete
unwanted nodes and rectify boundary.
5 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
After editing boundaries click on toggle editing which shall give pop-up-window as
follows and where you will click on save option.
6 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
Select on tab besides “polygon from lines” option
1. Give appropriate Input layer, which is converted Line to Polygon.
2. Assign file name and save
3. Click on “Run”. New layer gets created
1
2
7 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
2. Creating Vector Grid
To create grid check whether “Processing” plugin is activated or not.
Check in Plugin Menu click on Manage and install Plugin search “Processing”
plugin is on or not? Check in box to switch on “Processing”
Then click on “Vector” menu – “Research tools” – “Vector Grid”
3
4
8 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
After the vector Grid process run then New layer is added and is as follows.
Switch off other layers by removing check from layer in layer panel option.
6
1
9 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
Switch –off Toggle editing and save changes.
To clip Grid to polygon extent.
1. Click on “Vector” menu
2. Go to geo-processing Tools
3. click on Clip option. 1
In this window Input layer shall be layer containing grid and clip layer shall be layer
with polyon of treatment area.
1. Input Layer-grid.
2. Clip layer-polygon.
3. Give output Name of clip file in Folder.
4. Run.
10 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
After the Clip process done then New layer is added and is as follows.
11 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
Open new shape file window.
1. Select shape type-Line
2. Use Correct Projection i.e EPSG: 32644-WGS 84/UTM-44N.
3. New Field Name:-Base Line.
4. Click on Ok.
To Create Base line Click on newly added base line layer in Layer panel then begin
with toggle editing option – Add Feature Icon and add base line in the polygon on
longest line in Polygon as follows
12 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
Draw the base line which as longest polygon on longest line.
Click on other end of line – right click to end line add the Id number and other details
and click ok. New base line is created.
Save Edits.
3
4
13 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
After Add base line then New layer is added and is as follows.
1 2
14 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
To add field for naming grids its parameters are as follows
1. Type shall be Text with appropriate field name
2. Field Type-Text
3. length – 5
4. Ok
New field is added – Now select individual grids by select icon then add its name in
attribute table individually for all grids as follows
15 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
To display labels of these grids right click on clipped Grid layer.
1. Goto open Attribute table.
2. Start toggle editing mode.
3. Then select the single square on the map which as start from right side of map.
4. Give the name of the square.i.e-L1, L2 or R1, R2.
1
2
16 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
To calculate area –
1. Right click on clipped grid layer
2. Open attribute table.
3. Click on “Open Field Calculator” icon
Open field calculator table then Define parameters as follows to calculate area in
hector.
1. Output field name-Area
2. Output field type-Decimal Number.
3. Geometry
4. Click on $area/10000
5. Click ok.
1
2
3
4
17 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
Area is displayed as follows in attribute table in designated field – After area
calculation
Switch off the toggle editing option along with saving edits.
18 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
3. Add Vector layer
After Adding new shape file Drainage
1. Click n Add vector layer.
2. Add vector layer window will appear click on Browse.
3. Select drainage file.
4. Click on open.
1
2
3
4
19 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
To clip Drainage to polygon extent.
1. Click on “Vector” menu
2. Go to geo-processing Tools
3. click on Clip option. 1
In this window Input layer shall be layer containing grid and clip layer shall be layer
with polyon of treatment area.
1. Input Layer-Drainage
2. Clip layer-Clipped Grid
3. Clip output Name in Folder.
4. Run.
20 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
Clip Drainage is displayed as follows.
3
4
1 6
21 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
To calculate Length of Drainage area.
1. Right click on Drainage layer
2. Click on Open attribute table
3. Open attribute table than click on “open Field Calculator” icon
4. Field calculator window will appear, then on update existing field
5. Existing window select
6. Goto Geometry and double click on $length
7. $length will show in Preview window box.
8. Then click ok.
5
1
2
6
22 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
After Adding new shape file Contour
1. Click n Add vector layer.
2. Add vector layer window will appear click on Browse.
3. Select Contour file.
4. Click on open.
23 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
To clip Drainage to polygon extent.
1. Click on “Vector” menu
2. Go to geo-processing Tools
3. click on Clip option.
1
In this window Input layer shall be layer containing grid and clip layer shall be layer
with polyon of treatment area.
1. Input Layer-Contour
2. Clip layer-Clipped Grid
3. Clip output Name in Folder.
4. Run.
2
3
24 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
To add field for Name of new layer
1. Right click on Contour layer
2. Goto Open attribute table.
3. Click on Toggle Editing mode
4. Click Add Field Icon
5. Open add field window give the field name: Name
6. Type
7. Then click ok and save edit.
3 4
6
1
25 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
Then Add labels of added new two layers Drainage and contours.
1. Right click on layer
2. Go to property
3. click on layer
4. On Show labels for layer
5. Label name
6. Choose font
7. Use suitable size
8. Chose colour
9. Then click apply and ok
5
3
1
6
7
8
2 9
26 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
4. Use coordinates
How to calculate grid Nodes.
1. Go to vector
2. Geometry Tools
3. Click on Extract nodes.
27 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
Nodes will be display in map
28 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
Export/add geometry columns window will appear
1. Input Layers:-Nodes
2. Calculate Using:-Layer CRS
3. Click on RUN.
6 4
1
5
2 1
29 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
To display labels of these grids with Lat-Long.
30 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
5. Creating Map for Display
Click on Print Composer window then new Composer title window will appear give a
title name of Map.
Press Ok.
31 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
The Map composer window opens and is as follows
1. Click on add new map.
2. Drag the mouse by clicking in open space.
Map is displayed within this extent – affix scale to appropriate extent as shown in
Item properties panel located in right hand side.
32 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
Map is displayed within this extent.
After that Click and drag cursor above map in appropriate location.
33 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
Edit contents of the title in Item properties – displayed as follows.
1. Wright name on Label Window
2. Label show in map window
3 5
1
34 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
Add North Arrow –
1. Layout Menu
2. Add Arrow
3. Drag and draw North Arrow in upper right corner of map
4. Go to Search drive similarly add North icon –Add Image
5. Select North arrow and add.
1
4
2 5
To add legend
1. Layout Menu
2. Add legend
3. Drag and draw North Arrow in lower right corner of map
4. Legend is added to map –
5. Refine colours and legend entries and layer name.
1 5
35 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
Add Scale bar to map –
1. Layout Menu –
2. Add scale bar –
3. Drag and draw scale bar in below of north arrow
4. Refine colours and scale entries and layer name.
1
2
4
36 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
Field Verification table
1. Create a new Excel and prepare a table as shown below and save it as “Field
Verification table”
Now In QGIS,
1. Select add vector layer
2. Then click on browse
3. Then choose “Select All Files” and select 3 excel file’s
4. Click open
5. Click open again to load in to QGIS
2
5
Now go to Composer, Select “Add Attribute table” and just draw a box on map
37 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
Now you can see some random data, to change that right click on top panel bar and
choose “Item Properties”
In item Properties Under the Layer dropdown, select compartment details excel file
38 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
Compartment Details
Add Label
Now frame can be seen and map is ready for export and display
1 Composer Menu
2 Export as Image/pdf –
3 Assign appropriate location and file name and save –
4 Convert to 300 dpi in export image/pdf options to enhance visual quality of map
and export –
5 Map is exported.
39 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department
6. Final Layout.
40 QGIS 2.18.20 User Manual For Preparation of Treatment Map| GIS Cell, Maharashtra
Forest Department