0% found this document useful (0 votes)
16 views

QGIS Tutorial by Indo-RNO v1.2 (1)

The QGIS Basic Tutorial provides a comprehensive guide on using QGIS software, covering installation, basic principles, file types, and essential functionalities like layer management, thematic mapping, and data export. It includes detailed instructions on various tools and features, such as adding colors, labels, and exporting data to different formats. The document also lists contributors and release notes for version updates.

Uploaded by

wawan setiawan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

QGIS Tutorial by Indo-RNO v1.2 (1)

The QGIS Basic Tutorial provides a comprehensive guide on using QGIS software, covering installation, basic principles, file types, and essential functionalities like layer management, thematic mapping, and data export. It includes detailed instructions on various tools and features, such as adding colors, labels, and exporting data to different formats. The document also lists contributors and release notes for version updates.

Uploaded by

wawan setiawan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 60

QGIS Basic Tutorial

By Pusat Loker RNO Only


a.k.a. Indo-RNO

“When a man dies, his acts come to an end, but three, recurring charity, or knowledge (by which people) benefit, or a pious son, who prays for him (for the deceased).”
-Sahih Muslim 1631-
Why QGIS?
Mapinfo 2021 Official Price

Mapinfo
Alternative

FREE! Powerful!

Getting
Better,
Better and
Better!
Supported by QGIS Developer
Community
Table of Content
1. Installation 8. Thematic Layer f. Grid
a. Program a. Add Color on Layer 15. Append / Merge
b. Plugin b. Add Color on Raster a. Join Layers by Same Column
c. Material c. Add Label b. Join Attributes Data inside Polygon
2. Basic Principle 9. Save / Export Layer 16. Join Layer
a. File Type a. Export to CSV, XLSX, SHP a. Join Layers by Same Column
b. CRS b. Export to Google Earth (KMZ) b. Join Attributes Data inside Polygon
3. Frequently Used Symbols c. Export to MapInfo (TAB) 17. Heatmap
4. Display Basic Accessories on Canvas 10. Contour/Elevation Check a. Basic Heatmap
a. Scale 11. Selection and Query b. IDW Interpolation
b. Image a. Manual Select on Canvas c. Linear Interpolation
c. Compass b. Filter Expression by Script 18. MR/Covmo 40x40 meter
d. Title c. Select Data by Polygon a. Change Scale MR for Display Only
e. Copyright 12. Edit Layer b. Create MR Square/Grid Shape Permanently
f. Annotations a. Change Value of Column 19. Spider Graph Neighbor Relation
g. Google Map b. Change Table Structure a. Incoming
5. Open File c. Split Polygon b. Outgoing
a. Vector: TAB/MIF/SHP d. Move Polygon 20. Map Reporting
b. Raster: Google Map/Earth, Elevation e. Rotate Polygon 21. Network Audit
c. Text: CSV 13. Clipping by Polygon a. Inter Site Distance (ISD)
d. Excel: XLSX a. Vector b. Long Lat of Center Polygon
6. Download Raster for Offline Use b. Raster c. Nearest Site to Polygon
a. DEM/Contour/Elevation 14. Create Shape d. LAC Island//Mushroom with Voronoi
b. Google Map a. Border Polygon
7. Searching and Finding b. Route Line
a. Search Location by Long Lat c. Buffer
b. Copy Long Lat of Location d. POI Based on Long Lat
c. Search Value on Layer e. Gcell
Contributors
Aldindha Octa Airlangga
[email protected]
https://www.linkedin.com/in/aldindha/

Anhar Nurjadi
[email protected]
https://www.linkedin.com/in/anhar-nurjadi-2b636634/

Muchamad Ludfi Churnia


[email protected]
https://www.linkedin.com/in/ludfi-churnia-47188428/
@yotumbas.id @yotumbas-1 @wuriroro
Release Note

Date Version Number Release Note Contributor


13-Sep-2023 v1.0 Default Aldindha
Export Layer to MapInfo (TAB)
Aldindha
Move Polygon
Rotate Polygon
17-Sep-2023 V1.1 Anhar
Spider Graph Neighbor Relation
Labelling Gcell into single value based on Site Incognito
Show Count of Data of Thematic Layer on Layer Panel Ludfi
Clipping Raster + Vector based on Polygon
Long Lat of Center Polygon
1-Oct-2023 V1.2 Export to CSV, XLSX, SHP Aldindha
Create Grid
Export to TopoJSON
Installation
1. Download and Install QGIS: https://qgis.org/en/site/forusers/download.html

2. Open QGIS and go to Plugins → Manage and Install Plugins → Search and install the following plugins:
a. Search Layers
b. Profile Tool
c. SRTM-Downloader
d. Spreadsheet layers
e. Shape Tools (in Vector)
f. Lat Lon Tools
g. KML Tools
h. QCopyCanvas
i. QuickMapServices

3. Download Link for Materials:


https://1drv.ms/f/s!Ari-fJDiX6PzjdtKV9ZkIINu5nvV7A?e=bNntEL

4. Download Link for Tutorial Update:


https://1drv.ms/f/s!Ari-fJDiX6PzjdtL-daJdbcyuASF_w?e=eWfFts
Basic Principle

Vector data is used to


represent real world features
Vector in a GIS.
Ctrl + Shift + V

Ex: .TAB, .MIF, .SHP


CRS Type

Raster data are a grid of EPSG:4326 - WGS 84


regularly sized pixels.
Raster Ex: Google Map/Earth, DEM
Ctrl + Shift + R
Unit: Degree
(Contour), .TIF
File EPSG:3857 - WGS 84 /
A delimited text file is an Pseudo-Mercator
Type attribute table with each
column separated by a
Text Ctrl + Shift + T Unit: Meters
defined character and each
row separated by a line break
Ex: .CSV, .TXT
A coordinate reference system (CRS) then
A spreadsheet consists of a defines, with the help of coordinates, how the
Excel table of cells arranged into two-dimensional, projected map in your GIS is
rows and columns and No Shortcut related to real places on the earth. The decision
referred to by the X and Y as to which map projection and coordinate
locations. reference system to use, depends on the
regional extent of the area you want to work in,
Ex: .XLS, .XLSX on the analysis you want to do and often on
the availability of data.
Frequently Used Symbols

Zoom In See Info of Feature Move Label Add Annotation Text to Canvas

Move Canvas Measure Line Distance

Search Layers
Create New Shapefile Edit Layer Add Polygon/Line Contour Check

Shape Tools Download Online Contour

Deselect Features Zoom to Long Lat


Select Features

Select Features by Polygon Screenshot Canvas


Export to KMZ
Display Basic Accessories on Canvas
1. Go to View → Decorations → Select the following
setting
a. Scale Bar
c. North Arrow e. Copyright

d. Title Label
b. Image
2. Go to Edit → Annotation → Text Annotation →
Enter Image file path Click on Canvas → Double click on box created →
Setting Opacity to 0% on both Linked layer and
Map marker

*Tips: always use buffer for text labelling


Display Basic Accessories on Canvas
3. Go to Web → QuickMapServices → Google → Google Road
Open File
1. Vector: TAB, MIF, SHP
a. Ctrl + Shift + V or Go to Layer → Add Layer → Add Vector Layer
b. On Source select file-> Add

2. Raster: Google Map/Earth, DEM/Elevation, TIF


a. Ctrl + Shift + R or Go to Layer → Add Layer → Add Raster Layer
b. On Source select file-> Add

3. Text: CSV, TXT


a. Ctrl + Shift + T or Go to Layer → Add Layer → Add Delimited Text Layer
b. On File Name select file→ On X field and Y field select Long and Lat of the
File → Add

4. Excel: XLSX, XLS


a. Go to Layer → Add Layer → Add Spreadsheet Layer
b. On File Name select file→ On Sheet select data sheet of File
c. Checklist Geometry → On X field and Y field select Long and Lat of the
File → OK

*The Layer will be opened on Layer Panel on the left bar


Download Raster for Offline Use
1. DEM / Contour / Elevation 2. Google Map: Select only Google Map on Layers panel
a. Indonesia local DEM all province: a. Current Display (No zoom)
https://www.indonesia- Go to Project → Import/Export → Export Image to Map →
geospasial.com/2020/01/download-dem-srtm-30-meter-se- Map Canvas Extent -> Save
indonesia.html b. Current Display in Detail (Zoom in)
b. Custom area by Canvas ✓ Double click Google Map Layers panel → Export →
Go to Plugin → SRTM Downloader → Canvas Extent -> Save As
Download → Enter Username and Password (register free ✓ Select File Name → Map Canvas Extent → Fill “1” on
on link) → OK both Horizontal and Vertical -> OK
Searching and Finding
1. Search Location by Long Lat
a. Search Location on https://maps.google.com/
→ Right click and select Lat Long
b. Go to Plugins → Lat Lon Tools → Zoom to
Coordinate → Paste Lat Long Value → Enter
c. Click to setting marker

2. Copy Long Lat of Location on Canvas


a. Right click anywhere to canvas → Copy
Coordinate → Map CRS
b. Paste to Notepad/Excel

3. Search Value on Layer


a. Go to Plugins → Search Layers → Search
Layers
b. Write value to search → Select Layers →
Search Fields → Select “Zoom to selected
features” → Click Search
c. Click one of the result
Thematic Layer
1. Add Color on Layer ✓ Stroke color → Color of line/border
a. Double click on layer → Symbology → There are 3 symbol often used: ✓ Stroke style → Color
✓ Single Symbol: for a single symbol with no criteria of value ✓ Opacity → Transparency
✓ Categorized: for String/Text type of value → Go to Value to select ✓ Style → Save and Load style as template
column of layer to be colored → Classify ✓ Value → Column name of layer as reference
✓ Graduated: for Decimal type of value ✓ Color ramp → Spectrum of color
✓ Classify → Automatic color adjustment
b. These are features often used: ✓ Classes → Number of value range
✓ Fill Color → Color inside polygon
✓ Fill style → Fill type inside polygon * Double click on Symbol/Value edit manually
Thematic Layer
c. Add Color Ramp
✓ Back to Canvas → Go to Settings → Style Manager →
✓ Color Ramp → Click + → Select Catalog: cpt-city
✓ Select any color → OK
✓ Type name of Color → Tick Add to favorites → Save
Thematic Layer - Tips
To show count of value after thematic
Right click on layer → Show feature count
Thematic Layer
2. Add Color on Raster
a. Double click on layer → Symbology → On Render Type select Singleband pseudocolor → Select Color ramp → Classify → OK
b. To change Opacity go to Transparency → Set Global Opacity value → OK

* Double click on Value/Color/Label to edit manually


* Click on + to add more range of value
Thematic Layer
3. Add label
a. Double click on layer → Labels → There are 3 symbol often used:
✓ Text: change font, style, size, color
✓ Buffer: add buffer background of label
✓ Callouts: add line of label → On Toolbar click symbol to move label
Thematic Layer
✓ Placement: to make same label become single value, not too cluttered
➢ Click Coordinate X and Y → Field type: int, double, string → change to Long Lat of layer
➢ Click Coordinate X and Y again → Edit
➢ Add “+0.001” after Long/Lat → OK
➢ OK
Thematic Layer
Before After
Export/Save Layer
1. Export to CSV, XLSX, SHP
a. Right Click on layer → Export → Save Feature As
b. On Format select any file type to save
c. On File Name select file path to save
d. Herewith frequently saved file type:
✓ ESRI Shapefile: SHP
✓ Comma Separated Value: CSV
✓ Mapinfo TAB: TAB (On Symbology export select Feature Symbology)
✓ Ms Office Open XML Spreadsheet: XLSX
e. Click OK
Export Layer
2. Export to Google Earth (KMZ)
a. Go to Vector → KML Tools → Export KMZ
b. Setting as the following:
✓ Input Layer: a layer to be exported. Ex: Gcell
✓ Name/Label field: a field/column to be labelled on KMZ file. Ex:
Sitename
✓ Checklist Export style for single, categorized, and graduated symbols
✓ Output KMZ file → Save to a File: Output file path
c. Click Run
d. After finished .KMZ file can be opened on Google Earth
KMZ file opened in Google Earth
Export Layer
3. Export to MapInfo (TAB)
a. Right click on layer → Export → Save Features As
b. Setting as the following:
✓ Format: Mapinfo TAB. Ex: Gcell
✓ File name: File name save path
✓ Symbology export: Feature Symbology
c. OK
d. After finished .TAB file can be opened on MapInfo

TAB file opened in MapInfo


Export Layer
4. Export to TopoJSON
a. Go to Vector → TOPOJson Writer → Write layer to TopoJson
b. Setting as the following:
✓ Select layer to convert: Border/Polygon layer
✓ Select TopoJSON save path: File name save path → Change Save as type
to (*) -> Write manually with file format .json → Save
c. Click Convert
d. OK
JSON File Opened in Power BI
Contour/Elevation Check
1. Go to Plugins → Profile Tool → Terrain profile
2. Select DEM layer
3. Click Add Layer
4. Click on Canvas to stretch from one point to another point, double click to finish
5. Right click to close measurement
6. Click Save As to save as image file
Selection and Query
1. Manual Select on Canvas * Features/Object selected will be colored in Yellow
a. Go to Select Features icon → Select any → Click any object/feature on
Canvas
b. To use multiple selections use Ctrl + Click any object/feature on
Canvas

2. Filter Expression by Script


a. Right click on layer → Filter
b. Select Fields to search → All
c. Use Expression with base “Field” operator ‘Value’
d. Herewith frequent expression to use:
✓ Select one value: * Features/Object filtered by multiple value
“Field” = ‘Value’
✓ Select multiple value:
“Field” = ‘Value’ OR “Field” = ‘Value’
✓ Select value contain string:
“Field” LIKE ‘%Value%’

Use to deselect/unselect features click on


Selection and Query
3. Select Data by Polygon Before
a. Go to Vector → Research Tools → Select by Location
b. Select features from layer to be selected → tick are within → By
comparing to the features from select polygon layer to be
mask/border → Run

* Ex: Select feature from (MR), By comparing to the features from (Polygon Kota
Pekanbaru) → Result: All MR inside polygon Kota Pekanbaru are selected

* Features/Object selected will be colored in Yellow

After
Edit Layer
Right click on layer → Toggle Editing

1. Change Value of Column


There are 2 way to edit layer:
a. Right click on layer → Open Attribute Table → Edit any cell value to change.
To filter a value click on bottom left → Field Filter → Select column name → Type value to search → Enter
b. Identify feature on one of the object canvas → Click → Edit any value to change
c. Right click on layer → Save Layer Edits
Edit Layer
2. Change Table Structure
a. Go to Processing → Toolbox → Search Refactor fields
b. Select both Input Layer and Load fields from template layer
from same layer
c. Edit any fields such as: Name, Type, add fields, delete fields,
move field up and down
d. Run
Edit Layer
3. Split Polygon
a. Right click on Polygon layer → Toggle Editing
b. Go to Edit → Split Features
c. Click on Canvas to create line to split Polygon. Right click to finish.
d. Change value on new polygon
e. Right click on layer → Save Layer Edits

Before Cutting After


Edit Layer
4. Move Polygon
a. Right click on Polygon layer → Toggle Editing
b. Select features of any Polygon on Canvas to move
c. Go to Edit → Move Features
d. Click on features then move from one point to another point on Canvas
e. Right click on layer → Save Layer Edits

Before Select and Move Feature After


Edit Layer
5. Rotate Polygon
a. Right click on Polygon Gcell layer → Toggle Editing
b. Select features of any Gcell on Canvas to rotate
c. Go to Edit → Rotate Features
d. Click on selected features
e. Move “+” red mark by Ctrl + Click to center of Site
f. Edit rotation degree on right above or click any on canvas to rotate, click again to finish
g. Right click on layer → Save Layer Edits

Before Select Feature and Rotate Move “+” mark and set rotation degree After
Clipping by Polygon
1. Vector
a. Go to Vector → Geoprocessing Tools → Clip
b. On Input Layers select vector layer to be clipped
c. On Overlay Layer → select polygon as border to clip
d. Run

* Ex: Input (Gcell), Overlay (Polygon Kota Pekanbaru) → Result: Gcell inside
Polygon Kota Pekanbaru

2. Raster
a. Go to Raster → Extraction → Clip Raster by Mask Layer
b. On Input Layers select raster layer to be clipped
c. On Mask Layer → select polygon as border to clip
d. Run

* Ex: Input (.tif of Google Map), Mask (Polygon Kota Pekanbaru) → Result: .tif of
Google Map inside Polygon Kota Pekanbaru
* To reduce file size convert to .PNG go to → Raster → Conversion → Translate
→ Select clipped (mask) on Input Layer → on Converted select Save to File →
Run
Clipping by Polygon - Result
Vector → Gcell inside Kota Pekanbaru only Raster → .TIF of Google Map inside Kota Pekanbaru Only
Clipping Raster + Vector based on Polygon
1. Add layer vector to show + layer border polygon to clip (no need to show
on Canvas) + Google Earth/Satellite
2. Go to Project -> Import/Export → Export to Image → Map Canvas
Extent → Save to .TIF image
3. Add the saved .TIF image to Layer Panel
4. Go to Raster → Extraction → Clip Raster by Mask Layer
5. Right click on Clipped raster → Export → Save As → Format to GeoTIFF
→ OK
Create Shape
1. Border Polygon
a. Go to Layer → Create Layer → New Shapefile Layer
b. Select File name → Geometry type → Polygon →
Change CRS to EPSG:3857 → Select Name, Type, Length
(if need to add new column/field) → Add to Fields List
→ OK
c. Right click on new shapefile layer → Toggle Editing
d. Go to Edit to add shape. There are several menu to add
shape:
✓ Freestyle: Add polygon feature
✓ Circle: Add Circle → Add Circle by a Center Point
and Another Point
✓ Square: Add Rectangle → Add Rectangle from
Extent
e. Click on Canvas to draw Polygon → Right Click to Finish
→ Add Value

2. Route Line
a. Go to Layer → Create Layer → New Shapefile Layer
b. Select File name → Geometry type → Line → Change
CRS to EPSG:3857 → Select Name, Type, Length (if
need to add new column/field) → Add to Fields List →
OK
c. Right click on new shapefile layer → Toggle Editing
d. Go to Edit → Add Line Feature
e. Click on Canvas to draw Line → Right Click to Finish →
Add Value
* Do thematic layer to change color and shape line
Create Shape – Polygon and Route → Result
Create Shape
3. Buffer
a. Open/Add Polygon/Line to Layer Panel. Make sure the CRS type is EPSG:3857 - WGS 84 / Pseudo-
Mercator
b. Go to Vector → Geoprocessing Tools → Buffer
c. On Input Layer select Polygon/Line → Custom Distance and its unit (meters/kilometers) → On Join
style select Miter → Run
Create Shape
4. POI Based on Long Lat
a. Prepare CSV/Excel file of POI which consist of Long Lat
b. Add CSV/Excel file of POI to Layer Panel
c. Go to Vector → Shape Tools → Create shapes → Create circle
d. Use the following setting:
✓ Input layer: POI layer
✓ Shape type: Polygon
✓ Circle radius: POI distance from center to border
✓ Radius units: Kilometers/Meters

e. Run

Result
Create Shape
5. Gcell
a. Prepare CSV/Excel file of Gcell which contain at least the following column
✓ Sitename
✓ Cellname
✓ Band: Network system define shape size. Ex: L900, L1800, L2100, Indoor
✓ Long Lat: Coordinate of location
✓ Azimuth: Direction of antenna
✓ Azimuth Width: Horizontal size
✓ Radius: Vertical size

Herewith recommendation value of Azimuth Width and Radius:


Band Azimuth Width Radius
L900 15 100
L2100 45 65
L1800 70 50
INDOOR 359.999 20
Sorting Radius column from Largest to Smallest
Result
b. Add CSV/Excel file of Gcell to Layer Panel
c. Go to Vector → Shape Tools → Create shapes → Create pie wedge
d. Use the following setting:
✓ Input layer: Gcell layer
✓ Shape type: Polygon
✓ Azimuth mode: Use center azimuth and azimuth width
✓ Beginning azimuth: Azimuth of Gcell
✓ Ending azimuth: Azimuth width of Gcell
✓ Radius: Radius of Gcell
✓ Radius units: Meters
e. Run
Create Shape
6. Grid
a. Go to Vector → Research Tools → Create Grid
b. Use the following setting:
✓ Grid type: Rectangle (Polygon)
✓ Grid extent: Use Map Canvas Extent
✓ Horizontal spacing: 5 kilometers
✓ Vertical spacing: 5 kilometers
✓ Grid CRS: EPSG:3857 - WGS 84 / Pseudo-Mercator
c. Click Run

* Horizontal and Vertical spacing value and unit can be adjusted depend on requirement

Result
Append / Merge
1. Merge Vectors
a. Go to Vector → Data Management Tools → Merge Vector
Layers
b. On Input Layers select vector layers to be merged
c. Run

2. Merge Rasters
a. Go to Raster → Miscellaneous → Merge
b. On Input Layers select vector layers to be merged
c. On Advanced Parameters replace No Data to 0
d. Run
Append / Merge - Result
Join Layer
Before
1. Join Layers by Same Column
a. Prepare 2 layer: Base layer and Additional layer. Both layer must have one same column name
b. Add both layer on Layer Panel
c. Right click on Base layer → Joins → Click +
d. Use the following setting:
✓ Join layer: Additional layer
✓ Join field: field of Additional layer to join
✓ Target field: field of Base layer to be joined
✓ Joined fields: Select column of Additional layer to be added
e. OK

* Ex: Base layer (Gcell), Additional layer (PRB data) → Result: Gcell with have new column of PRB Util

After
Join Layer Gcell with 38 fields (0-37) POI with 13 fields (0-12)
2. Join Attributes Data inside Polygon
a. Go to Vector → Data Management Tools → Join Attributes by
Location
b. Use the following setting:
✓ Base Layer: Additional layer
✓ Join Layer: Polygon of Border
✓ Geometric predicate: within
✓ Discard records which could not be joined: Ticked
c. Run

* Ex: Base layer (Gcell), Join Layer (POI) → Result: Gcell inside POI with all
column combined

Joined Layer with 51 fields (0-50)


Heatmap
Prepare CSV/Excel of PRB/Payload in sector level using Bear Distance.xlsx calculator, then add to
Layer Panel based on Long Lat Azimuth/Sector

1. Basic Heatmap
a. Double click layer → Symbology → Change to Heatmap
b. Use the following setting:
✓ Color ramp: Pick any
✓ Radius: 10 millimeters
✓ Weight points by: Value of color
✓ Opacity: 25%
c. OK
Result

Long Site Lat Site Azimuth Distance (Km) Bearing2 Long Azimuth Lat Azimuth
101.4025 0.461111 0 0.1 0 101.4025 0.46200932
101.4025 0.461111 120 0.1 2.094395102 101.4032807 0.46066184
101.4025 0.461111 240 0.1 4.188790205 101.4017193 0.46066184
101.367777 0.484722 0 0.1 0 101.367777 0.48562032
Heatmap
2. IDW Interpolation
a. Re-Open layer by Export and Change CRS to EPSG:3857 - WGS 84 / Pseudo-Mercator
b. Go to Processing → Toolbox → Grid (IDW with nearest neighbor searching)
c. Use the following setting:
✓ Point layer: Main data
✓ The radius of the search circle: 600
✓ Z value from field: Value of color
✓ Additional command-line parameters: -outsize 10000 10000
d. Run
e. Thematic by Graduated symbol
Result
Heatmap
3. Linear Interpolation
a. Re-Open layer by Export and Change CRS to EPSG:3857 - WGS 84 / Pseudo-Mercator
b. Go to Processing → Toolbox → Grid (Linear)
c. Use the following setting:
✓ Point layer: Main data
✓ Search distance: 600
✓ Z value from field: Value of color
✓ Additional command-line parameters: -outsize 10000 10000
d. Run
e. Thematic by Graduated symbol
Result
MR/Covmo 40x40 meter
1. Change Scale MR for Display Only
a. Prepare CSV/Excel of MR data → Add
to Layer Panel
b. Double click on MR layer → Symbology
→ Graduated
c. Go to Symbol → Simple Marker
d. Use the following setting:
✓ Size: 40, Meters at scale
✓ Stroke style: No Pen
✓ Symbol (Bottom): Square
✓ Color ramp: BGYR (Invert Color
Ramp)
✓ Classes: 4
✓ Value: Blue (-92 to 0), Green (-102
to -92), Yellow (-110 to -102), Red
(-140 to -110) Resul
d. OK t
MR/Covmo 40x40 meter
2. Create MR Square/Grid Shape Permanently
a. Prepare CSV/Excel of MR data → Add to Layer Panel
b. Go to Vector → Shape Tools → Create shapes → Create polygon
c. Use the following setting:
✓ Input layer: MR data
✓ Shape type: Polygon
✓ Number of sides: 4
✓ Starting angle: 45
✓ Radius: 28.284271
d. Run
e. Double click on Output layer → Symbology → Graduated
f. Use the following setting:
✓ Stroke style: No Pen
✓ Color ramp: BGYR (Invert Color Ramp)
✓ Classes: 4
✓ Value: Blue (-92 to 0), Green (-102 to -92), Yellow (-110 to -102),
Red (-140 to -110)
g. OK
MR/Covmo 40x40 meter - Result
Result
Angle and Radius
* Radius is a distance from center point to elbow

0o
Angle
45o
c
b

* Angle is a degree from center point to elbow 𝑎2 + 𝑏2 = 𝑐 2


• Use the Pythagorean
theorem to calculate radius
on Pythagorean 𝑐= 𝑎2 + 𝑏2
theorem.xlsx

𝑐
𝑅𝑎𝑑𝑖𝑢𝑠 =
2
Spider Graph Neighbor Relation
Outgoing Add Layer Incoming Add Layer
1. Add Gcell layer → Add Neighbor Relation layer
2. When Add Neighbor Relation layer select X and Y fields as
the following
a. Outgoing: Use Long and Lat of Target Cell
b. Incoming: Use Long and Lat of Source Cell
3. Select feature of a cell on Canvas to see relation
4. Go to Processing → Toolbox → Search Join by Lines (hub
lines)
5. Use the following setting:
a. Outgoing:
✓ Hub Layer: Neighbor Relation
✓ Hub ID field: Source Cell
✓ Spoke layer: Gcell
✓ Selected field only: Checklist
✓ Spoke ID field: Cellname
b. Incoming:
✓ Hub Layer: Gcell Outgoing by Join Lines Incoming by Join Lines
✓ Selected field only: Checklist
✓ Hub ID field: Cellname
✓ Spoke layer: Neighbor Relation
✓ Spoke ID field: Target Cell

* Use incoming to check serving cell of a DT logfile


Spider Graph Neighbor Relation - Result
Outgoing Incoming
Map Reporting
1. Go to Project → New Print Layout → Enter
title → OK
2. Herewith frequent items to put on report: Label
a. Add Map: Current canvas
b. Add Picture: Select file image
North Arrow
c. Add Label: Custom text annotations Map
d. Add Legend: Current layer on Layer Panel Add Map
e. Add Scale Bar: Scale distance of map Add Picture
f. Add North Arrow: Compass Add Label
3. Go to Layout → Export as Image → Save
Add Legend Legend
Add Scale
Bar
Add North
Arrow

Picture

Scale Bar
Network Audit
1. Inter-Site Distance (ISD)
a. Add Gsite to Layer Panel
b. Go to Vector -> Analysis Tools -> Distance Matrix
c. Use the following setting:
✓ Input points layer: Gsite
✓ Input unique ID field: Sitename
✓ Target points layer: Gsite
✓ Targget unique ID field: Sitename
✓ Use only the nearest (k) target points: Number of neighbor site to measure
d. Run
e. On output layer add Kecamatan field from Gsite by Join Layer → Export to XLSX
f. Pivot Table result by Kecamatan and sorting from Smallest to Largest

Result: LIMAPULUH is the Kecamatan which have the densest site population according
to smallest ISD

It is also can be used to define 1st tier sites of every site


Result
Kecamatan Count of InputID Average of Distance
LIMAPULUH 30 951
PEKANBARU KOTA 10 966
SENAPELAN 10 1,108
SAIL 10 1,182
SUKAJADI 15 1,270
MARPOYAN DAMAI 80 1,524
BUKIT RAYA 45 1,773
PAYUNG SEKAKI 40 1,878
RUMBAI 160 2,319
TENAYAN RAYA 80 2,393
RUMBAI PESISIR 35 3,350
Network Audit
2. Long Lat of Center Polygon
a. Add Polygon Layer
b. Go to Vector -> Geometry Tools -> Centroids
c. On Input layer: Polygon
d. Run
e. Go to Processing → Toolbox → Search Add X/Y fields to layer
f. On Input layer select Centroids
g. Right click on Added Fields layer → Open Attribute Table
h. X and Y fields have added as Long and Lat of Center Polygon

Result
Network Audit
3. Nearest Site to Polygon
a. Add Gsite to Layer Panel
b. Go to Processing -> Toolbox -> Distance to nearest hub (line to hub)
c. Use the following setting:
✓ Source points layer: Polygon Kecamatan
✓ Destination hubs layer: Gsite
✓ Hub layer name attributes: Unique field
✓ Measurement unit: Meters
d. Run
e. On output layer → Export to XLSX

* Result: Information of Kecamatan with its nearest site distance

Result
KECAMATAN HubName -> Sitename HubDist -> Distance Kecamatan to Site (m)
RUMBAI LINGKAR_BARAT_UNRI_CR 792.8908649
PAYUNG SEKAKI DHARMA_BAKTI_PBR_IB 1154.987623
BUKIT RAYA PEPUTRA 1037.104486
MARPOYAN DAMAI MAPOYANDAMAI_CR 241.5069876
TENAYAN RAYA TENAYAN_RAYA_PBR_GT 2116.77197
LIMAPULUH TANJUNG_RHU 238.7342171
SAIL SUKAMULYA 262.2879235
PEKANBARU KOTA GUBERNURAN_RIAU 162.2848372
SUKAJADI TVRI_PEKANBARU 680.4735496
SENAPELAN KAMPUNG_BANDAR 268.5824686
RUMBAI TENGKU_MAHMUD_PBR_PL 902.5812699
RUMBAI PESISIR ROAD_OKURA_PBR_TB 992.8651063
Network Audit
4. LAC Island//Mushroom with Voronoi
a. Go to Vector → Geometry Tools → Voronoi Polygons
b. Select Gsite on Input layer → Run
c. Use the following setting:
✓ Input layer: Voronoi polygons
✓ Dissolve fields: LAC
d. Run
e. Categorized thematic Dissolved layer to identify island/mushroom LAC

Result:
• There is a site with LAC 12 in LAC 11 area
• There is a site with LAC 13 in LAC 12 area

You might also like