Gis - Lab 2
Gis - Lab 2
Objectives:
1. Explore the capabilities of QGIS in displaying shapefiles and editing its properties familiarize with the
interface and tools in QGIS
2. Create a map layout in QGIS.
Materials: Internet Connection, Laptop/Desktop Computer, Mouse, Shapefiles with file extensions and etc.
A. Displaying Shapefiles.
1. Download all the data needed for the activity.
2. Open QGIS Application. Create you’re a new project. Save the project in a folder. Name your project as
GEO 127_LAB 2_SURNAME.
3. Add Vector Data by going to MENU BAR >>>Layer>>> Add Layer>>> Add Vector Layer. A window
will appear, “Data Source Manager” window
B. Zooming Tools
The zoom tools are useful for focusing and looking at the spatial aspect of your geographic data. Inspect the
different Zoom tools:
12. In the Symbology Tab, you can select anycolor scheme for the display of your data through the drop-down
tab. The default option is “Single Symbol”.
13. Paste a screenshot of your Layer Properties - symbology.
14. Inspect the output of this symbology style in the map view.
15. Set the symbology style to Categorized.
16. Set “Column” to BARANGAYS. Click the Classify button, click Apply then click OK.
17. Paste a screenshot and inspect the output of the Categorized layer in the map view.
18. Go back to the Layer properties window. Try the symbology style: Graduated, and Set “Column”
to AREA_SQKM.
19. Click the Classify, Apply, then OK.
20. Paste a screenshot and inspect the output of the Graduated layer.
Question 3: What is/are the difference/s in the three (3) layer styles?
21. In the Layer properties window, go to Labels Tab. Labels can show names or description of your features.
22. Click the drop-down button to enable the Single labels option,
23. For the “Label with” option, select BARANGAYS from the drop-down menu. Click Apply then OK.
24. Zoom-in to the lowest/southern part of your data.
25. Inspect the island/group of barangays that include Brgy. Rabor.
26. Go back to the Layer Properties window. In the Source Fields Tab, the field (attribute/column) names
contained in the attribute table of the shapefile are listed.
Question 5: How many fields are there and what are their names and data type (type name)? Tabulate your
answer.
e. We will be making a map for the island groups containing barangay Rabor (Municipality of Balabac).
If the rendered map is not covering the full extent of our interest area, we can move the map view.
Select Edit > Move content to pan the map in the window and center it in the composer.
f. You can adjust the zoom level for the given map. Click on the Item Properties tab (located at the right
panels) and enter your desired Scale. Try: 200,000
g. We can add an inset map to our layout. Go back to QGIS desktop and zoom out to the whole extent of
the BARANGAYS layer (Province of Palawan).
h. Go back to Composer and go to Add Item > Add Map. Drag a rectangle at the place where you want
to add themap inset. You will now notice that we have 2 map objects in the Print Layout, similar to
image below:
i. Select the new map object that we just added from the Items panel (Map 2). Select the Item properties
tab (Note: When making changes, make sure you have the correct map selected). Scroll down to the
Frame panel and check the box next to it. You can change the color and thickness of the frame border
so it is easy to distinguish against the map background.
p. Go back to the Print Layout window. To automatically highlight the area in our inset (Map 2) that
represents our main map object (Map 1), select Map 2 in the Items panel. In the Item properties tab,
scroll down to the Overviews section. Click the Add a new overview button .
q. Select Map 1 as the Map Frame. What this is telling the Print Layout is that it must highlight in our
current objectMap 2 with the extent of the map shown in the Map 1 object.
r. Now that we have the map inset ready, we will add a grid and zebra border to the main map. Select the
Map 1 object from the Items panel. In the Item properties tab, scroll down to the Grids section. Click
the Add a new grid button
s. To configure the settings for the grid, click on the Modify grid... button.
t. In the Map grid properties view, click the button beside CRS. In the Coordinate Reference System
Selector window select WGS 84 EPSG:4326. Click OK
u. Set “Interval units” to: Map unit.
v. Select the Interval values as 0.1 in both X and Y direction. You can adjust the Offset to change where
the grid lines appear.
w. Scroll down to the Frame section and select a frame style that suits your taste (e.g. Zebra). Also check
the Draw coordinates box.
x. You can adjust the Distance to map frame till the coordinates are legible. You can also change font type
and size through the Font button.
y. Change the Coordinate precision to 1 so the coordinates are displayed only up to the first decimal.
z. To add a North Arrow to the map, click Add Item > Add Picture. Holding your left mouse button, draw
a rectangle on the top-right corner of the map canvas. On the right-hand panel, click on the Item
Properties tab and expand the Search directories section and select the North Arrow image of your
liking.
aa.Add a scale bar. Click on Add Item > Add Scalebar. Click on the layout where you want the scalebar
to appear. In the Item Properties tab, make sure the correct map object (Map 1) is selected for which to
display the scalebar.
bb. Choose the Style that fit your requirement.
cc.Set scale bar units: Kilometers. Label unit multiplier: 1. Label for units: KM
dd. In the Segments panel, you can adjust the number of segments and their size (e.g. Map units per bar
unit: Segments: L=0, R=4; Fixed width=5units, Height=2mm).
ee.To add a label to our map, Click on Add Item > Add Label. Click on the map and draw a box where
the label should be. In the Item Properties tab, expand the Label section and enter the text as:
MUNICIPALITY OF BALABAC, PALAWAN. Adjust the Font (click button “Font…”) and
Bulacan Agricultural State College
Institute of Engineering and Applied Technology GEO 127 – Geographic Information System
Department of Geodetic Engineering
GEO 127: Geographic Information Systems
Familiarization with Vector Data
Laboratory Exercise No. 2
For Submission:
Name: Date:
Course & Year: Score:
Geographic Information System
Laboratory Exercise No.
LAB TITLE
Objectives:
Introduction: ***long bond paper
Methodology: (include snapshots if of process) ***Times New Roman
Results and Discussion: ***12
Problems Encountered: *** Line Spacing : 1.15
Conclusion: ***Body Text: No Spacing
Recommendation: ***MARGINS : 1” all sides
ANSWERS: ***Justify
***include proper citation