Principles of Geographic Information Systems Tybsc (It), Sem - Vi
Principles of Geographic Information Systems Tybsc (It), Sem - Vi
Practical No. 1:
Aim: Creating and managing vector data: Adding vector layer, setting properties, formatting, calculating
line length and statistics.
2. Set the name and location of file. Select geometry type as polygon. Add new field as Name and
click on Add to field list button.
Chetna S. Suthar
Principles of Geographic Information Systems TYBSc (IT), Sem - VI
3. Click Toggle Editing Button → then Click on Add Polygon; Now place the cursor at the location
where you want to place the polygon. For polygon layer minimum 3 points should be selected.
Give id and Name to the polygon.
Chetna S. Suthar
Principles of Geographic Information Systems TYBSc (IT), Sem - VI
4. To change the property of layer right click on layer matunga from Layers pane and select
Properties...
Chetna S. Suthar
Principles of Geographic Information Systems TYBSc (IT), Sem - VI
5. Similarly add one more layer garden and add polygons to represent garden, also provide id and
Name of each polygon being created.
Chetna S. Suthar
Principles of Geographic Information Systems TYBSc (IT), Sem - VI
Chetna S. Suthar
Principles of Geographic Information Systems TYBSc (IT), Sem - VI
Repeat the same steps as we have done for polygon layer. ➢ Select geometry type Line.
Chetna S. Suthar
Principles of Geographic Information Systems TYBSc (IT), Sem - VI
8. Click on the map where you want to draw line. Once you are done then right click on map
(Dotted line turn into solid line).
Chetna S. Suthar
Principles of Geographic Information Systems TYBSc (IT), Sem - VI
10. To label your roads Right click on Road layer .Go to properties window then select label and set
single label property.
Chetna S. Suthar
Principles of Geographic Information Systems TYBSc (IT), Sem - VI
11. To merge roads go to properties of road then select symbology. Click on Advanced button select
Symbol levels.
Chetna S. Suthar
Principles of Geographic Information Systems TYBSc (IT), Sem - VI
Chetna S. Suthar
Principles of Geographic Information Systems TYBSc (IT), Sem - VI
14. Create Point vector layer ➢ Repeat same steps to add point layers as we have done in previous
layers. (For ATM, Restaurants, Banks, Bus Stops etc).
Chetna S. Suthar
Principles of Geographic Information Systems TYBSc (IT), Sem - VI
15. Go to Layer → Add Layer → Add Vector Layer ➢ Add the following file to project.
Chetna S. Suthar
Principles of Geographic Information Systems TYBSc (IT), Sem - VI
17. Right click on the current layer from layer window and select Open Attribute Table
Chetna S. Suthar
Principles of Geographic Information Systems TYBSc (IT), Sem - VI
18. Press Toggle Editing button, on Attribute table window toolbar then we have to add length
attribute. Click on “Open field calculator” or press “Ctrl+i”
Chetna S. Suthar
Principles of Geographic Information Systems TYBSc (IT), Sem - VI
Chetna S. Suthar
Principles of Geographic Information Systems TYBSc (IT), Sem - VI
20. Now we have to generate Statistics. Go to Vector > Analysis Tools > Basic statics for numeric
fields.
21. Select the railroads layer in “Input vector layer”. Select “length” attribute in “Field to calculate
statistics on”.
Chetna S. Suthar
Principles of Geographic Information Systems TYBSc (IT), Sem - VI
22. We have to save the result. Click on button and select “Save to file...”
23. Select the path and enter the file name “total-length” extension will be “.html” and click on
“Save”.
Chetna S. Suthar
Principles of Geographic Information Systems TYBSc (IT), Sem - VI
Chetna S. Suthar