You are on page 1of 6

21141249

Experiment No. 2
Title: Creating and Managing Vector Data: Adding vector layer, Setting properties, Vector Layer
Formatting.

Procedure:
1.Adding vector layers (Polygon, Line, Points)
a. Polygon layers (We have taken 3 layers Grass, House, Land, Water)
b. Line layers (We have taken 1 layer Road)
c. Point layers (We have taken 4 layers Lights, Centre Road, Airport, Hospital)

2.Setting properties (Labeling, Symbolism)

1) Creating Polygon Vector Layer

Step1: Select Project → New

IT2506 – Geo Informatics Lab


Step2: Select Layer → Create Layer → New Shapefile Layer

Step3: Following dialog box will appear on the screen. Select Polygon option from Geometry type.
Step4: Fill the appropriate information in each text box.

Step5: Select the Polygon Feature (In our case it is Grass for background) from layer panel

Step6: Same way we can add one more polygon layer for Land, Water, House
IT2506 – Geo Informatics Lab
2) Creating Line Vector layer:
Step1: Repeat the same steps as we have done for polygon layer.
Select Geometry type Line

Step2: To plot road click on Add Line Feature.

Step3: Road will look as below

3) Create Point vector layer


IT2506 – Geo Informatics Lab
Step1: Repeat same steps to add point layers as we have done in previous layers (For
Lights, Hospital, Airport, Centre Road)

Final Output:

IT2506 – Geo Informatics Lab


4) Calculating line lengths and statistics

Result:

❖ Output.html file:
IT2506 – Geo Informatics Lab
• Coefficient of Variation:
• Analyzed field: track_len 0.29961557570758257
• Count: 8 • Minority (rarest occurring value):
• Unique values: 8 121.56
• NULL (missing) values: 0 • Majority (most frequently occurring
• Minimum value: 121.56 value): 121.56
• Maximum value: 349.1 • First quartile: 179.78500000000003
• Range: 227.54000000000002 • Third quartile: 248.98499999999999
• Sum: 1714.3200000000002 • Interquartile Range (IQR):
• Mean value: 214.29000000000002 69.19999999999996
• Median value: 193.06
• Standard deviation:
64.20462171837788

➢ The above statistics show that the total length of Road is 1714.32KM.

Conclusion:
This, we studied Creating and Managing Vector Data: Adding vector layer, Setting
properties, Vector Layer formatting and calculating line lengths and statistics.

IT2506 – Geo Informatics Lab

You might also like