GIS Final Practical Writeup
GIS Final Practical Writeup
1 B : Setting properties
Step 1: Fill the appropriate information in each text box
Step 3: Give the desired field names -> desired property names
Step 12: Select Vector→ Analysis Tools→ Basic Statics for Fields
Step 13: Select IND_rails layer from input layer. And select Track_Len
in “Field to Calculate statistics on” -> RUN
Practical 2
2A: Importing Spread-sheet or CSV file.
Step 1: Project -> new project
Step 2: Layer -> Add Layer -> Add Delimited text layer.
Step 3: Browse file -> (GPW)v3 dataset from file.
Step 4: Set CRS to EPSG:4326 -> OK
Step 3: Click the Zoom In button and draw a rectangle around India to zoom to the area.
Step 4: Type UTM zone 45N in filter search box. Select WGS 84 / UTM zone 45N EPSG:32645
& click apply.
Step 7: Once the Add Map button is active, hold the left mouse button and drag a rectangle where
you want to insert the map.
Step 8: Click on the Item Properties tab and enter 7000000 for Scale value
Step 9: In layers window check the boxes for lock layer and lock styles for layer.
Step 10: Switch to the main QGIS window. Use the Zoom In button to zoom to the area
around Mumbai.
Step 11: Switch the Print Layout window. Go to Layout ‣ Add Map
Step 12: Drag a rectangle at the place where you want to add the map inset.
Step 13: select map1 object-> properties tab->click on Add a new overview button-> select
map 2 as the map frame
Step 14: select map1 object->item properties tab->go to grids section-> Click the Add a new
grid button->modify grid
Step 15: in CRS-> enter 4326 in the Filter box-> select the WGS84 EPSG:4326 as the CRS->OK
Step 16: Select the Interval values as 5 degrees in both X and Y direction
Step 17: Click Add Item ‣ Add Image-> 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.
Step 18: Click on Add Item ‣ Add Scalebar-> from item properties give properties of your
choice->from segment panel adjust the number of segments and their size.
Step 19: Click on Add Item ‣ Add Label-> Click on the map and draw a box where the label
should be-item properties tab->check the box render as html->type the given code [Map of
Japan]
O/P:
3B: Importing Spread-sheet or CSV file.
Step 1: First create a new file.
Step 2: Layer -> Add Layer -> Add Delimited text layer.
Step 3: Browse file -> Sample(file name).
Step 4: Check Custom delimiters.
Step 5: Set Geometry CRS = EPSG:4326-WGS 84.
Step 6: Add.
Step 6: Search any region in search contains for eg: mumbai (the
region will be visible) .
Practical 4
4A: Woking with attributes
Step 1: Goto "Layer->Add Layer->Raster Layer"
Step 2: Browse file ->"populated_places_simple.zip"-> Add
Step 3: Select layer from layer window -> right click -> "Open
attribute table"
Step 4: Expression window -> "pop_max > 100 and pop_max <
100000 " -> Select feature-> close
Step 5: Expression window -> "pop_max > 100 and pop_max <
100000 and sov0name = 'India' " -> Select feature-> close
4 B.Terrain data and hill shade analysis
Step 1: Go to "Layer->Add Layer->Raster Layer"
Step 2: Browse file ->"
GMTED2010N10E060_300\10n060e_20101117_gmted_mea300.tif
"-> Add
Step 6: layers ->contur ->open attribute table ->select the max value-
>zoom map
Step 3: layer -> ESRI shape File-> Name File -> Coordinate Reference
System Selector -> Filter =102008
Step 2: Browse file ->" IND_adm0.shp "-> Add ->zoom the given area
step5: click on setting -> trasformation Setting -> click on target SRS -
> select EPSG:4326-WSG 84 -> click on ok
step6: click on "edit" point- > click point on image-> click on map
from canvas -> select the point from original map image to get the
georefrence co cordinates -> click on ok->
step:- double click over "mumbai _ modified" and open the property
pan -> open transperancy->reduce transperancy
6(b):Georeferencing aerial imagery
step1: click on web ->open layer plugin-> open street map
step2: click on view ->panels -> OSM place searched ->type gateway
on india in name contain -> click on"->"
step4: click point on image-> click on map from canvas -> select the
point where you select on image and sect another 3 points on map ->
click on ok
6c: Digitizing the data
Step 1: Go to Layer ‣ Add Raster→ Select “Christchurch Topo50 map.tif” from project Folder.
Step 3: Choose the Pyramids tab. Hold the Ctrl key and select all the resolutions offered in the
Resolutions panel-> Click Build pyramids. Then click OK
Step 4: Go to Settings →Options.... Select the Digitizing tab in the Options dialog.
Step 7: Select the name and location for Spatial database eg:
“GIS_Workshop\Practicals\Practical_06\C\MySpatialDataBase.sqlite”
Step 8: Name the Layer as “Digitized_Road-> Set Geometry type as “Line”-> Set CRS EPSG:4167 –
NZGD2000-> Add “Name” and “Class” fields using “Add to Fields List”.
Step 9: Click toggle button-.add feature button->click on map canvas to add new vertex->new
vertices along the road feature-> On Layer Panel Right Click on Digitze_Road, Select the Style tab in
the Layer Properties dialog-> Select appropriate style to see the digitized road feature clearly.
Step 10: Do the same for polygon feature also ( Step 8 and 9 )
Step 11: The Layer will appear on map canvas
o/p:
Practical – 7
practical 7a.(table join)
A) Open the notepad and write the datatype of all the five fields "String" and of the field D001 field
as "Integer" and save this file inside the same folder with the same name as "ca_tracts_pop.csvt"
Step 3 :- Add Layer - Add vector layer- Add text delimited layer (ca_tracts_pop.csv)
Step 4 ;- Open the properties window by double clicking over the "t1_2013_06_tract” - joins -"+"
Step 5 :-Set the field name GEO.ID2 as target field = "GEOID" - Then apply
Step 6 Open properties window - Symbology -choose graduated option And Choose Value = ca-
tracts_pop_D001
Step 7 Select a specific colour ramp, set mode as equal interval, - Click "Classify" - Apply - ok
Op:
Step 5: Use the identify feature button to select a region to view join data on map layer.
o/p:
Practical 7c :- Points in polygon Analysis
Step 2 :- Layer - Add layer - Add delimited Text layer - "Select the Earthquake.txt" file
Step 4 :- Click Geometry Defination - Point Coordinates - X field - longitide , Y field - lattitude -
Geometry CRS - EPSG: 4326 - WSG84
Step 5 :- Add
Step 6:- Layer - Add layer - Add vector layer - Select 'ne_10m_admin_0_countries' file
Step 8:- Vector - Analysis Tool - Count Points in Polygon ( If Analysis tool is not there under vector
then add the plugin (Spatial Analysis Toolbox) )
Step 12 :- Zoom the map for India portion - Click on identify feature
o/p
Practical 7D :- Performing Spatial Queries
Step2 :- Layer - Add layer - Add vector layer - Add zip files 'ne_10m_rivers_lake_centerline' &
'ne_10m_populated_places_simple'
Step 4 :- Go to project - properties - select the co-ordinate by typing 54032 - Apply - OK (If you can't
see the changes click on Zoom full)
o/p