Difference between revisions of "QGIS/C2/Digitizing-Map-Data/English"
Snehalathak (Talk | contribs) (Created page with " {|border=1 ||'''Visual Cue''' ||'''Narration''' |- || '''Slide Number 1''' '''Title Slide''' || Welcome to this tutorial on '''Digitizing Map Data''' in '''QGIS'''. |- || '...") |
Snehalathak (Talk | contribs) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 13: | Line 13: | ||
'''Learning Objectives''' | '''Learning Objectives''' | ||
− | || In this tutorial, we will learn to | + | || In this tutorial, we will learn to- |
− | + | ||
− | + | ||
− | + | ||
+ | *Create and digitize '''Point''' and '''Polygon''' shape files. | ||
+ | *Change style and color for '''Point''' and '''Polygon''' features. | ||
|- | |- | ||
Line 24: | Line 23: | ||
'''System Requirement''' | '''System Requirement''' | ||
− | || To record this tutorial I am using | + | || To record this tutorial I am using- |
'''Ubuntu Linux OS '''version''' '''16.04 | '''Ubuntu Linux OS '''version''' '''16.04 | ||
Line 34: | Line 33: | ||
'''Pre-requisites''' | '''Pre-requisites''' | ||
− | || To follow this tutorial, you should be familiar with basic '''GIS''' and '''QGIS''' | + | || To follow this tutorial, you should be familiar with basic '''GIS''' and '''QGIS interface'''. |
|- | |- | ||
Line 40: | Line 39: | ||
'''Digitizing''' | '''Digitizing''' | ||
− | |||
|| '''Digitizing''' is the process by which, | || '''Digitizing''' is the process by which, | ||
− | + | coordinates from a map, image or other sources of data | |
− | coordinates from a map, image or other sources of data are converted into a digital format. | + | are converted into a digital format. |
Line 58: | Line 56: | ||
− | || To practise this tutorial you need to download | + | || |
− | + | To practise this tutorial, you need to download the thematic map of '''Bangalore''' city given in the '''Code files''' link. | |
− | + | ||
− | the thematic map of Bangalore city given in the Code files link | + | |
− | + | ||
− | + | ||
− | + | ||
+ | This is a map depicting development of '''Bangalore''' city. | ||
|- | |- | ||
Line 85: | Line 79: | ||
|- | |- | ||
|| Show the map '''Bangalore.jpg''' on desktop. | || Show the map '''Bangalore.jpg''' on desktop. | ||
− | || I have already downloaded the | + | || I have already downloaded the '''Code file''', extracted and saved in a folder on '''Desktop'''. |
|- | |- | ||
− | || | + | ||Double-click on the folder. |
− | + | ||
− | + | ||
− | + | ||
|| Double-click on the folder to open it. | || Double-click on the folder to open it. | ||
+ | |||
+ | |- | ||
+ | || Right-click on '''Bangalore.jpg file'''. | ||
− | Right-click on '''Bangalore.jpg '''file. | + | From the context menu select '''QGIS''' Desktop. |
+ | ||Right-click on '''Bangalore.jpg '''file. | ||
− | From the context menu select, '''Open with | + | From the context menu select, '''Open with QGIS Desktop'''. |
|- | |- | ||
− | || Cursor on QGIS interface. | + | || Cursor on '''QGIS''' interface. |
Line 108: | Line 103: | ||
− | '''QGIS | + | '''QGIS Tips''' dialog-box opens. |
Line 118: | Line 113: | ||
|- | |- | ||
− | || Click on | + | || Click on '''WGS 84, '''under the heading,''' Coordinate reference systems of the world.''' |
Line 132: | Line 127: | ||
|- | |- | ||
|| Cursor on canvas. | || Cursor on canvas. | ||
− | || '''Thematic map''' of Bangalore is displayed on the canvas. | + | || '''Thematic map''' of '''Bangalore''' is displayed on the canvas. |
|- | |- | ||
Line 146: | Line 141: | ||
|| Click on '''Layer '''menu on the menu bar and select '''Create Layer''' option. | || Click on '''Layer '''menu on the menu bar and select '''Create Layer''' option. | ||
− | From the sub-menu, | + | From the sub-menu, select '''New Shapefile Layer''' option. |
− | + | ||
− | + | ||
|- | |- | ||
|| Cursor on '''New Shapefile Layer''' dialog box. | || Cursor on '''New Shapefile Layer''' dialog box. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|| '''New Shapefile Layer''' window opens. | || '''New Shapefile Layer''' window opens. | ||
+ | |- | ||
+ | ||Point to the 3 options | ||
+ | ||Here you can see options for 3 types of features, '''Point, Line''' and '''Polygon'''. | ||
− | + | |- | |
− | + | ||Point to '''Point''' option | |
− | + | ||By default '''Point''' option is selected. | |
− | By default '''Point''' option is selected. | + | |
Line 173: | Line 159: | ||
|- | |- | ||
− | || | + | || Point to '''CRS''' |
− | || | + | || Let the '''CRS '''be '''WGS 84.''' |
− | + | ||
− | + | ||
− | Let the '''CRS '''be '''WGS 84.''' | + | |
|- | |- | ||
Line 191: | Line 174: | ||
− | + | Let us name the file as '''Point-1'''. | |
|- | |- | ||
Line 199: | Line 182: | ||
Click on '''Save''' button. | Click on '''Save''' button. | ||
|| Select a suitable location to save the file. | || Select a suitable location to save the file. | ||
− | |||
I will choose '''Desktop.''' | I will choose '''Desktop.''' | ||
Line 247: | Line 229: | ||
|- | |- | ||
|| Point to the '''Toggle Editing.''' | || Point to the '''Toggle Editing.''' | ||
− | || '''Toggle Editing '''tool available on the top-left corner of the '''tool bar'''. | + | || '''Toggle Editing '''tool is available on the top-left corner of the '''tool bar'''. |
|- | |- | ||
Line 273: | Line 255: | ||
− | Type 1 in the '''id | + | Type 1 in the '''id''' text box. |
Line 287: | Line 269: | ||
Click on''' OK''' button. | Click on''' OK''' button. | ||
|| Similarly click on the second '''IT''' establishment and save the feature as 2. | || Similarly click on the second '''IT''' establishment and save the feature as 2. | ||
+ | |||
+ | |||
Line 297: | Line 281: | ||
|- | |- | ||
|| click on '''Save''' button in '''Stop editing''' dialog-box. | || click on '''Save''' button in '''Stop editing''' dialog-box. | ||
− | || '''Stop editing''' dialog-box opens | + | || '''Stop editing''' dialog-box opens. |
+ | |||
+ | Click on '''Save''' button. | ||
|- | |- | ||
Line 305: | Line 291: | ||
|- | |- | ||
|| | || | ||
− | || We can check the two features created, by opening the attribute table. | + | || We can check the two features created, by opening the '''attribute table.''' |
|- | |- | ||
− | || Right-click on the '''Point-1''' | + | || Right-click on the '''Point-1''' layer on the '''Layers''' panel. |
From the context menu, select '''Open Attribute Table''' option. | From the context menu, select '''Open Attribute Table''' option. | ||
− | || Right-click on the '''Point-1''' | + | || Right-click on the '''Point-1''' layer on the '''Layers''' panel. |
From the context menu, select '''Open Attribute Table''' option. | From the context menu, select '''Open Attribute Table''' option. | ||
− | |||
− | |||
|- | |- | ||
|| Point towards the created features. | || Point towards the created features. | ||
− | || In the ''' | + | || In the '''Point-1: Features''' dialog-box, in '''id''' column, two points are created. |
|- | |- | ||
Line 381: | Line 365: | ||
|| Click on '''New Shapefile Layer''' option. | || Click on '''New Shapefile Layer''' option. | ||
|| From the sub-menu, select '''New Shapefile Layer'''. | || From the sub-menu, select '''New Shapefile Layer'''. | ||
− | |||
− | |||
− | |||
|- | |- | ||
Line 389: | Line 370: | ||
Click on '''Polygon''' radio button | Click on '''Polygon''' radio button | ||
− | || '''New Shape File | + | || '''New Shape File Layer''' window opens. |
Line 396: | Line 377: | ||
|- | |- | ||
|| In''' New field Name '''type '''area.''' | || In''' New field Name '''type '''area.''' | ||
+ | || In the ''' New field Name '''text box''', '''type '''area.''' | ||
− | + | Let the '''Type''' be '''Text data'''. | |
− | + | ||
− | + | ||
− | + | ||
− | Let the '''Type''' be '''Text data''' | + | |
|- | |- | ||
Line 420: | Line 398: | ||
|- | |- | ||
− | || Type the File name as | + | || Type the File name as '''Area-1 '''in |
'''Save Layer as.. '''dialog-box'''.''' | '''Save Layer as.. '''dialog-box'''.''' | ||
− | || '''Save | + | || '''Save layer as..''' dialog-box opens. |
Line 454: | Line 432: | ||
|- | |- | ||
|| Point to the '''Legend '''on the map. | || Point to the '''Legend '''on the map. | ||
− | || Refer to the Legend on the map to locate '''Corporation area''' and '''Greater Bangalore''' area. | + | || Refer to the '''Legend''' on the map to locate '''Corporation area''' and '''Greater Bangalore''' area. |
|- | |- | ||
|| Click on '''Toggle Editing '''tool on the '''tool bar'''. | || Click on '''Toggle Editing '''tool on the '''tool bar'''. | ||
− | || Turn on the '''toggle editing''' by clicking on '''Toggle Editing '''tool on the | + | || Turn on the '''toggle editing''' by clicking on '''Toggle Editing '''tool on the tool bar. |
|- | |- | ||
Line 475: | Line 453: | ||
− | To mark the area, click anywhere on the boundary of ''' | + | To mark the area, click anywhere on the boundary of '''Corporation area'''. |
|- | |- | ||
Line 490: | Line 468: | ||
|- | |- | ||
|| Press Esc Key on the keyboard. | || Press Esc Key on the keyboard. | ||
− | || If you make a mistake and want to restart the marking process, | + | || If you make a mistake and want to restart the marking process, press''' Esc Key''' on the keyboard. |
− | + | ||
− | + | ||
− | press''' Esc Key''' on the | + | |
Line 504: | Line 479: | ||
|- | |- | ||
|| Right click to end the polygon. | || Right click to end the polygon. | ||
− | || Once you have marked the entire boundary, | + | || Once you have marked the entire boundary, right-click to end the polygon. |
|- | |- | ||
|| In '''Area-1- Feature Attributes''' input box, | || In '''Area-1- Feature Attributes''' input box, | ||
− | Type | + | Type 1 in ID text box. |
Line 516: | Line 491: | ||
− | Type ''' | + | Type 1 in the '''id''' text box. |
− | Type '''Corporation Area''' in ''' | + | Type '''Corporation Area''' in '''area''' text box. |
|- | |- | ||
Line 539: | Line 514: | ||
|- | |- | ||
|| Right-click to end the polygon. | || Right-click to end the polygon. | ||
− | || After you finish digitizing, | + | || After you finish digitizing, right-click to end the polygon. |
− | + | ||
− | + | ||
|- | |- | ||
Line 549: | Line 522: | ||
Type '''Greater Bangalore''' in the '''area '''text box. | Type '''Greater Bangalore''' in the '''area '''text box. | ||
− | || In the '''Area-1 Feature Attributes''' text box, | + | || In the '''Area-1 Feature Attributes''' text box, type 2 in the '''id''' text box. |
− | + | ||
− | type 2 in the '''id''' text box | + | |
− | + | And '''Greater Bangalore''' in the '''area '''text box. | |
|- | |- | ||
Line 565: | Line 536: | ||
|- | |- | ||
− | || Click on '''Save '''button in the ''' | + | || Click on '''Save '''button in the '''Stop editing '''dialog box. |
− | || Click on '''Save '''button in the ''' | + | || Click on '''Save '''button in the '''Stop editing '''dialog box. |
|- | |- | ||
Line 580: | Line 551: | ||
|- | |- | ||
|| Click on x on the top-left corner of the '''attribute table'''. | || Click on x on the top-left corner of the '''attribute table'''. | ||
− | || We can see that 2 features have been created with | + | || We can see that 2 features have been created with columns '''id''' and '''area''' type. |
Line 593: | Line 564: | ||
− | Select ''' | + | Select '''Properties option '''from''' context menu.''' |
+ | || To change the color and style of polygon feature, right click on '''Area-1''' layer. | ||
− | + | Select '''Properties '''option. | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
|- | |- | ||
− | || In the '''Layer Properties''' dialog-box, | + | || In the '''Layer Properties''' dialog-box, click on '''style''' option. |
− | + | || In the '''Layer Properties''' dialog-box, select '''Style''' option from the left panel. | |
− | + | ||
− | || In the '''Layer Properties''' dialog-box, | + | |
− | + | ||
− | + | ||
|- | |- | ||
|| Select '''categorized''' option from top left corner of the '''drop down menu.''' | || Select '''categorized''' option from top left corner of the '''drop down menu.''' | ||
− | || On the top left corner of the '''drop down menu''', | + | || On the top left corner of the '''drop down menu''', select '''categorized'''. |
− | + | ||
− | select '''categorized'''. | + | |
|- | |- | ||
Line 636: | Line 598: | ||
|- | |- | ||
|| Point to two polygon features on the map. | || Point to two polygon features on the map. | ||
− | || Now on the map, | + | || Now on the map, we can see that the two '''Polygon features''' are in different color. |
− | + | ||
− | + | ||
− | we can see that the two '''Polygon features''' are in different color. | + | |
|- | |- | ||
|| | || | ||
− | || Details about labeling the features will be discussed in upcoming tutorials in the series. | + | || Details about labeling the features, will be discussed in upcoming tutorials in the series. |
|- | |- | ||
Line 655: | Line 614: | ||
|| In this tutorial we have learnt to, | || In this tutorial we have learnt to, | ||
− | Create and | + | *Create and digitize '''Point''' and '''Polygon''' shape files. |
− | Change style and color for '''Point''' and '''Polygon''' features. | + | *Change style and color for '''Point''' and '''Polygon''' features. |
− | + | ||
− | + | ||
|- | |- | ||
Line 666: | Line 623: | ||
|| As an Assignment, | || As an Assignment, | ||
− | On the | + | On the '''Banglaore thematic map''' (Bangalore.jpg), |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | *'''Digitize''' '''Industrial Estates''' | ||
+ | *'''Digitize''' the roads on the map, by creating a '''Polyline''' feature. | ||
|- | |- | ||
Line 683: | Line 638: | ||
||The video at the following link summarises the spoken tutorial project. | ||The video at the following link summarises the spoken tutorial project. | ||
Please download and watch it. | Please download and watch it. | ||
− | |||
− | |||
|- | |- | ||
Line 692: | Line 645: | ||
||The spoken tutorial project team conducts workshops and gives certificates on passing online tests | ||The spoken tutorial project team conducts workshops and gives certificates on passing online tests | ||
For more details please write to us. | For more details please write to us. | ||
− | |||
|- | |- | ||
Line 698: | Line 650: | ||
'''Forum for specific questions:''' | '''Forum for specific questions:''' | ||
− | |||
− | |||
|| Please post your timed queries on this forum. | || Please post your timed queries on this forum. | ||
Latest revision as of 17:27, 23 October 2018
Visual Cue | Narration |
Slide Number 1
Title Slide |
Welcome to this tutorial on Digitizing Map Data in QGIS. |
Slide Number 2
Learning Objectives |
In this tutorial, we will learn to-
|
Slide Number 3
System Requirement |
To record this tutorial I am using-
Ubuntu Linux OS version 16.04 QGIS version 2.18 |
Slide Number 4
Pre-requisites |
To follow this tutorial, you should be familiar with basic GIS and QGIS interface. |
Slide Number 5
Digitizing
|
Digitizing is the process by which,
coordinates from a map, image or other sources of data are converted into a digital format.
|
Slide Number 6
Example map to practise
|
To practise this tutorial, you need to download the thematic map of Bangalore city given in the Code files link.
|
Slide Number 7
Steps to download Code files |
Steps to download the code files.
|
Show the map Bangalore.jpg on desktop. | I have already downloaded the Code file, extracted and saved in a folder on Desktop. |
Double-click on the folder. | Double-click on the folder to open it. |
Right-click on Bangalore.jpg file.
|
Right-click on Bangalore.jpg file.
|
Cursor on QGIS interface.
|
QGIS interface opens.
|
Cursor on Coordinate Reference System Selector dialog-box | Coordinate Reference System Selector dialog-box opens. |
Click on WGS 84, under the heading, Coordinate reference systems of the world.
|
Under the heading, Coordinate reference systems of the world, Select WGS 84.
|
Cursor on canvas. | Thematic map of Bangalore is displayed on the canvas. |
Now let us create new shape file layers. | |
Click on Layer menu.
Select Create Layer option. Click on New Shapefile Layer option. |
Click on Layer menu on the menu bar and select Create Layer option.
From the sub-menu, select New Shapefile Layer option. |
Cursor on New Shapefile Layer dialog box. | New Shapefile Layer window opens. |
Point to the 3 options | Here you can see options for 3 types of features, Point, Line and Polygon. |
Point to Point option | By default Point option is selected.
|
Point to CRS | Let the CRS be WGS 84. |
Click on OK button. | Click on OK button at the bottom-right corner of the window. |
Type Point-1 in the name field in Save Layer as.. dialog-box .
|
Save Layer as.. dialog-box opens.
|
Select Desktop.
|
Select a suitable location to save the file.
I will choose Desktop.
|
Show the desktop which has all the saved files. | Files will be saved on the desktop as shown here. |
Point towards the Point-1 layer on Layers panel. | Back to the QGIS interface.
|
Cursor on the map. | On this map, we will mark the locations where IT departments are established. |
Scroll the centre mouse button. | Scroll the center mouse button to zoom-in. |
Cursor on the points.
|
Refer to the legend at the bottom-right corner of the map for IT establishments.
Locate the points indicating IT establishments on the map. |
Click on the symbols for IT establishments as indicated on legend. | There are two points indicating IT establishments. |
To edit or modify features on the map, we need to select the Toggle editing tool. | |
Point to the Toggle Editing. | Toggle Editing tool is available on the top-left corner of the tool bar. |
Click on the Toggle Editing tool on tool bar. | Click on the Toggle Editing tool to select it. |
Select Add Feature option. | Click on Add Feature tool on the tool bar. |
High-light the cursor (editing) | The cursor is now displayed as a crosshair icon. |
Click on flag symbol. | Click on IT establishment symbol on the map. |
Type I in the text box in Point-1 Feature Attribute input box.
|
An input-box Point-1 Feature Attributes opens.
|
Click on another symbol for IT establishment.
|
Similarly click on the second IT establishment and save the feature as 2.
|
Click on Toggle Editing tool on the tool bar. | Now to stop editing, again click on Toggle Editing tool on the tool bar. |
click on Save button in Stop editing dialog-box. | Stop editing dialog-box opens.
Click on Save button. |
Point towards two colored dots on the map. | Observe, on the map, two colored point features are created. |
We can check the two features created, by opening the attribute table. | |
Right-click on the Point-1 layer on the Layers panel.
|
Right-click on the Point-1 layer on the Layers panel.
|
Point towards the created features. | In the Point-1: Features dialog-box, in id column, two points are created. |
Click on x symbol at the top-left corner of the attribute table. | Close the attribute table dialog-box. |
Cursor on the canvas. | Style and color of these point features can be changed for clear visibility. |
Right-click on Point-1 layer. | Right-click on the Point-1 layer. |
From the context menu choose Properties option. | From the context menu choose Properties option. |
Cursor on Layer Properties dialog-box. | Layer Properties dialog-box opens. |
Click on the Color drop down.
|
Click on the Color drop down.
|
Click the upward arrow triangle at the end of the Size text box. | Increase the size by clicking on upward arrow triangle at the end of Size text box. |
Click on OK button at the bottom of the window. | Click on OK button at the bottom of the dialog-box. |
Cursor on Point features. | Notice the change in color and size for the Point features. |
Now let us create a shape file containing Polygon features. | |
Click on Layer menu on the menu bar.
Select Create Layer option. |
Click on Layer menu on the menu bar.
|
Click on New Shapefile Layer option. | From the sub-menu, select New Shapefile Layer. |
In the New Shapefile Layer dialog box,
Click on Polygon radio button |
New Shape File Layer window opens.
|
In New field Name type area. | In the New field Name text box, type area.
|
Click on Add to fields list button.
Click on OK button. |
Click on Add to fields list button
|
Type the File name as Area-1 in
|
Save layer as.. dialog-box opens.
|
Select Desktop.
|
Select a suitable location.
|
Point to the Layer Panel and
Area-1 layer. |
Notice that Area-1 layer is added to the Layers panel. |
We will mark the boundary of Corporation Area and Greater Bangalore area. | |
Point to the Legend on the map. | Refer to the Legend on the map to locate Corporation area and Greater Bangalore area. |
Click on Toggle Editing tool on the tool bar. | Turn on the toggle editing by clicking on Toggle Editing tool on the tool bar. |
Click on Add Feature tool from the tool bar. (The tool is 4th tool from left on the 2nd row on tool bar)
|
Click on Add Feature tool from the tool bar. |
Bring the cursor to the map.
|
Bring the cursor to the map.
|
Click on the boundary of corporation area. | Keep clicking on the boundary. |
Point to the warning messages. | Warning messages may appear at the top of the canvas if the line segments intersect.
|
Press Esc Key on the keyboard. | If you make a mistake and want to restart the marking process, press Esc Key on the keyboard.
|
Click on the entire boundary. | Keep clicking on the boundary till you span the entire boundary. |
Right click to end the polygon. | Once you have marked the entire boundary, right-click to end the polygon. |
In Area-1- Feature Attributes input box,
Type 1 in ID text box.
|
Area-1- Feature Attributes input box opens.
|
Click on OK button. | Click on OK button. |
Point to the polygon feature. | Observe, on the map new polygon feature is created. |
Now we will digitize Greater Bangalore region in the map. | |
Click on the boundary of Greater Bangalore region. | Click on the boundary to digitize Greater Bangalore region as shown here. |
Right-click to end the polygon. | After you finish digitizing, right-click to end the polygon. |
In the Area-1 Feature Attributes text box,
Type 2 in the id text box. Type Greater Bangalore in the area text box. |
In the Area-1 Feature Attributes text box, type 2 in the id text box.
|
Click on OK button. | Click on OK button. |
Click on Toggle Editing tool in the tool bar. | Again click on Toggle Editing tool in the tool bar to stop editing. |
Click on Save button in the Stop editing dialog box. | Click on Save button in the Stop editing dialog box. |
Right click on Area-1 layer in the layers panel.
|
Right click on Area-1 layer to open attribute table.
|
Click on x on the top-left corner of the attribute table. | We can see that 2 features have been created with columns id and area type.
|
Point to polygon features on the map. | We can see that two polygon features have been created. |
Right click Area-1
|
To change the color and style of polygon feature, right click on Area-1 layer.
Select Properties option. |
In the Layer Properties dialog-box, click on style option. | In the Layer Properties dialog-box, select Style option from the left panel. |
Select categorized option from top left corner of the drop down menu. | On the top left corner of the drop down menu, select categorized. |
In the column drop down select id.
|
In the column drop down select id.
|
Drag the transparency slider to 50 %. | Move the Layer transparency slider to 50 %. |
Click Ok button. | Click on OK button at the bottom of the dialog-box. |
Point to two polygon features on the map. | Now on the map, we can see that the two Polygon features are in different color. |
Details about labeling the features, will be discussed in upcoming tutorials in the series. | |
Let's summarize. | |
Slide Number 8
Summary |
In this tutorial we have learnt to,
|
Slide Number 9
Assignment |
As an Assignment,
On the Banglaore thematic map (Bangalore.jpg),
|
Your completed assignment should look as shown here. | |
Slide Number 10
About the Spoken Tutorial Project |
The video at the following link summarises the spoken tutorial project.
Please download and watch it. |
Slide Number 11
Spoken Tutorial Workshops |
The spoken tutorial project team conducts workshops and gives certificates on passing online tests
For more details please write to us. |
Slide number 12
Forum for specific questions: |
Please post your timed queries on this forum. |
Slide number 13
Acknowledgements |
The Spoken Tutorial Project is funded by NMEICT, MHRD Government of India.
|
Slide number 13
Acknowledgements |
This tutorial is contributed by Prajwal.M from Sahyadri college of Engineering and Snehalatha from IIT Bombay.
Thank you for joining. |