Professional Documents
Culture Documents
Basic GIS Training Exercise Manual: National Project Service Unit (NPSU) MOA Meret Project
Basic GIS Training Exercise Manual: National Project Service Unit (NPSU) MOA Meret Project
By Henok Mulugeta
MOA MERET Project Basic Training on Application GIS in Watershed Management Table of Contents
1. Exploring ArcCatalog, ArcMap, and ArcToolbox................................ ................................ ..................... 1 1.1 Exploring ArcCatalog ................................ ................................ ................................ ................... 1 Viewing data in ArcCatalog ................................ ................................ ................................ ... 1 Managing your data in ArcCatalog ................................ ................................ ........................ 2
Exploring ArcMap ................................ ................................ ................................ ........................ 3 Displaying and viewing Spatial Datasets in ArcMap ................................ .............................. 3 Changing how features are drawn ................................ ................................ .......................... 5
1.2.2 1.2.3
1.2.4 Adding labels to a map ................................ ................................ ................................ ................. 5 1.2.4 Displaying Attribute tables behind the maps ................................ ................................ .......... 5
1.2.5 Querying data in ArcMap ................................ ................................ ................................ ............. 6 1.2.6 Advanced Query ................................ ................................ ................................ .......................... 6 1.3 Exploring ArcToolbox ................................ ................................ ................................ ........................ 8 1.3.1 Creating Buffer zones................................ ................................ ................................ ................... 8 1.3.2 Overlay Analysis:................................ ................................ ................................ ......................... 8 1.3.3 Changing projection from one coordinate system to another................................ ....................... 9 2. Georeferencing ................................ ................................ ................................ ................................ ....... 10 3. Create and edit features using a variety of Arc map editing tools ................................ ............................. 11 3.1 Creating new features................................ ................................ ................................ ....................... 11 3.1.1 Create your shapefile in ArcCatalog................................ ................................ ............................ 11 3.1.2 Creating new features in ArcMap ................................ ................................ ............................... 11 3.2 4. Editing existing features ................................ ................................ ................................ .............. 12
Create and edit metadata ................................ ................................ ................................ ................... 13 4.1 Adding documentation ................................ ................................ ................................ ..................... 13 4.2 Using Model Builder................................ ................................ ................................ .......................... 14
5. Cartographic Applications of ArcGIS................................ ................................ ................................ ........ 16 5.1 Working with Symbology in ArcMap ................................ ................................ ................................ . 16 5.1.1 Classifying data ................................ ................................ ................................ .......................... 16 5.2 Symbolizing data in Arc map ................................ ................................ ................................ ............. 17 5.2.1 Symbolizing point data ................................ ................................ ................................ ............... 17 5.2.2 Symbolizing linear data ................................ ................................ ................................ .............. 17 ii E-mail:- henamulu@gmail.com : - henamulu@yahoo.com Mob:- 0913186182
8. Using handled GPS................................ ................................ ................................ ................................ . 29 iii E-mail:- henamulu@gmail.com : - henamulu@yahoo.com Mob:- 0913186182
8.2 Store the data on the GPS ................................ ................................ ................................ .................. 30 8.3 Map in ArcGIS ................................ ................................ ................................ ................................ . 30 8.4 8.5 Digitizing ................................ ................................ ................................ ................................ .... 32 How to calculate area ................................ ................................ ................................ .................. 34
iv
Mob:- 0913186182
1) Start Programs ArcGISArcCatalog. 2) In the catalog tree navigate to D: or C: drive (depending on your working drive) and click the plus sign next to it to expand the contents. 3) Click the plus sign next to folder Meret Training\ Data \GIS\Administration\ to view the contents of the folder, and then click Ethio_Weredaor Amhara_Wereda shapefile 4) Click preview tab. Now the Ethio _Wereda/Amhara_Wereda shapefile is displayed
Ex. Apply the above procedure for the rest of the data in Meret Training\ Data\GIS\...\ folders
New, and click Folder. 2. Rename the folder by typing GIS_Proj over the highlighted text. 3. Press Enter.
1.1.2.2 Copying an item 1. Click Meret Training \Data\GIS\Administration folder to list its content Select all contents of Meret Training \Data\GIS\Administration
except Topo250.tif and click the Copy button or (Ctrl + C) or right-click on the selected files to copy the files 3. Click the Meret Training \GIS_Proj folder and click the Paste button (Ctrl + V). 4. Click on Meret training\GIS_Proj and see data copied to the folder
1.1.2.3 Renaming an item 1. Click River shapefile in the folder Hydrology then click File and click Rename by typing Amhara_river then press Enter 1.1.2.4 Deleting an item 1. Click the Gambela_Towns shapefile in the folder Infrastructure 2. Click the Delete button to delete. Note: Once you delete an item you cannot undo the delete. So, be careful! 2 E-mail:- henamulu@gmail.com : - henamulu@yahoo.com Mob:- 0913186182
Notice the following window with its various components. There are different ways of accessing commands in Arcmap: using the Menu bar, Toolbar and short cuts.
Mob:- 0913186182
and move the map in the display window to select features on your map
Take measurement
1. Display Amara_wereda in ArcMap 2. Right- click in the display window of ArcMap and click properties 3. In the Data Frame Properties click General tab and set Display unit to Kilometers 4. Click Ok 5. Place the measure too at one corner of Amhara_wereda and click once 6. Move the pointer to the other corner and double click. The distance is reported on the status bar Note: You can save your work as a map document. Click on File save Browse to your working directory and type My First Doc Ok The Next time you start ArcMap click on An Existing Map and My First Doc
4 E-mail:- henamulu@gmail.com : - henamulu@yahoo.com Mob:- 0913186182
1. Click the Find tool 2. In the find window, for find click DEBUB GONDER 3. For in, click Amhara_Zones 4. Right-click a raw in the context menu, then Select feature(s) option. The feature is selected
1.2.5.3 Exporting the Selected data Once you have selected a feature from a layer, you can export only the selected features to a new file. To do so: 1. Right click on Amhara_Zones in the table of contents 2. Click Data then click Export Data 3. Then navigate to D:\ Meret Training\GIS_Proj\then type Debub_Gonder_Zone as output file Name
Mob:- 0913186182
1.2.6.2 Advanced Query by Location While the DEBUB GONDER is still selected 1) On the menu bar, click selection Select By Location 2) In the field I want to: choose select features from 3) Check Amhara_Wereda under the following layers 4) In the field that: select, are contained by 5) In the field the features in this layer: select, Amhara_Zone 6) Use selected features should be checked. 7) Click Apply, Close. 8) On the menu bar click Selection, and then Click Clear Selected Feature. This unselects the selected features! In the display areas; observe that all Amhara_Weredas in DEBUB GONDER are highlighted.
Ex. Apply the above procedures and do the same for other Oromia_Zone, SNNP_Zone, Tigray_Zone,. Etc
Mob:- 0913186182
1.3.1 Creating Buffer zones Buffers create a zone of specified distance a feature. This allows analyzing proximity of other features. You can make buffers around point, line or polygon features.
1. Click on ArcToolbox window from the Toolbar of ArcMap 2. Double-Click on Analysis Tools Proximity Buffer 3. Click on Box in front of Input feature Browse D:\MeretTraining\Data\GIS\Infrastructure\Amhara_Roads.shp 4. Click on Box in front of Output feature Class Browse D:\...\GIS_Proj\and type 5kmRoad_buf as a file name 5. Select Kilometers for the distance Unit from the dropdown list under Linear Unit 6. Type the buffer distance =5 7. Choose any of the optional items OK
Mob:- 0913186182
MOA MERET Project Basic Training on Application GIS in Watershed Management 2. Georeferencing
This can be done with the Georeferencing toolbar
Add a raster image to your map from (D:\MERET TRAINING DATA\DATA\GI\Administration\Topo250.tif) 2. Click View Toolbars Georeferencing
3. Right-click on Topo250.tif in the table of contents to set the coordinate system 4. Click properties, then Click on Coordinate System 5. Select a coordinate system from the Predefined list: 6. Predefined Projected Coordinate Systems Utm WGS 1984 WGS 1984 UTM Zone 37N OK 7. Select Topo250.tif in the box in front of Layer: 8. Click on the align button sign
9. Click on the view Link Table button to display the points as you enter them 10. Uncheck the Box in front of Auto Adjust 11. Now start locating the GCPs Click at the location of the first GCP Right-click Input X and Y Enter the X and Y coordinates of the GCP OK (If you made a mistake while digitizing then right-click
Cancel point) Continue until you have located all the GCPs
(minimum of 4 points) 12. Click on Georeferencing Auto Adjust 13. if the map disappears from the view click on Full Extent button 14. See the Residuals (in map units) and Total RMS error in the Table 15. If Residual of some of the points is too high select that point and press delete 16. Re-digitize the GCP again and check again RMS error 17. If RMSE is acceptable, click on Georeferencing Rectify 18. In the output file name browse D:\...\GIS_Proj\.typeGeoref_Topo250 OK 19. You have georefernced your scanned map!! 20. You can now add your newly rectified image to your map.
10 E-mail:- henamulu@gmail.com : - henamulu@yahoo.com Mob:- 0913186182
MOA MERET Project Basic Training on Application GIS in Watershed Management 3. Create and edit features using a variety of Arc map editing tools
ArcMap is the application for creating and editing geographic data as well as tabular data. With ArcMap, you can edit shapefiles, coverages, and geodatabases all with one common user interface.
1. Open ArcCatalog
2. Navigate to D:\...\GIS_Proj\and create a folder called First_Project 3. Next Click the File menu (rightclickFirse_Project), point to New, and click Shapefile. 4. Click in the Name text box and type Road2008 for the new shapefile. 5. Click the Feature Type dropdown arrow and click polyline 6. Click Edit to define the shape files coordinate system. 7. Predefined Projected coordinate systems UtmWGS 1984 WGS 1984 UTM Zone 37N OK Or, you can click Import and choose the data source whose coordinate system you want to copy. Or, click New and define a new, custom coordinate system. 8. Check Coordinates will contain m values. 9. Click OK. The new shapefile appears in the folder's Contents. Ex. Apply the above procedure and create shapefiles (Rivers, Ethio bound, Awash_basin, and TigrayTowns)
3.2
1. Task: Modify feature 2. Target: The feature class (shapefile) to be modified ( eg Road2008) 3. Click on Edit Button 4. Click on a feature (Road2008) to be modified (Notice that the vertices become visible)
12 E-mail:- henamulu@gmail.com : - henamulu@yahoo.com Mob:- 0913186182
13
Mob:- 0913186182
4. Click and drag Lake tana from the table of contents and drop in the Model Builder window. Lake tana is automatically displayed as a blue oval, indicating that it is an input variable. Drag the oval to the left side of the window. 5. Double-click Analysis Tools in ArcToolbox, double-click Proximity, and drag and drop the Buffer tool in the ModelBuilder window. When you add the Buffer tool, it automatically creates a derived data elementin this case the output Feature class. Both the tool and derived data elements stay white, indicating that the tool is in a not-ready-to run state until it is connected to input data. 6. Click the Add Connection button on the Model toolbar .
14
Mob:- 0913186182
15
Mob:- 0913186182
5.1.1.4 Excluding features from the classification 23. Display and Right-click Amhara_Wereda in the table of contents and click Properties. 24. Click the Symbology tab and click Classify.
16 E-mail:- henamulu@gmail.com : - henamulu@yahoo.com Mob:- 0913186182
Notice that the menu bar changes. Now you can change the page layout and other features of your map. While viewing the layout, a Layout toolbar appears. These tools can be used to navigate around the map layout. Note: Once you are in toolbar to zoom your map. To move the maps inside Layout view, you have to use this the Layout data frame use the Pan
2. Click the data frame to select it. The data frame is now outlined with a dashed line and has selection handles at its corners and edges. 3. Click the center of the data frame and drag it to the direction you want the layout. 4. Point to the selection handle at the lower-right corner of the data frame. The mouse pointer becomes a two pointed resize arrow. Click the corner and drag it to any direction.
21
Mob:- 0913186182
click
22
Mob:- 0913186182
23
Mob:- 0913186182
MOA MERET Project Basic Training on Application GIS in Watershed Management 6. Extensions of ArcGIS 9.x
In addition to the core ArcGIS 9.x, there are a number of Extensions (specialized modules) that are both commercial and free. Of these, ESRIs Saptial Analyst, 3D Analyst, Geostatistical Analyst, and ArcPress are the most commonly used ones and will be discussed in this manual. Extensions provide you with additional GIS functionality. Most extensions are optional products that are registered or licensed individually.
Enabling extensions
To use an extension for which you are registered or licensed, you must enable it in the Extensions dialog box for the application you will use it in. To open the Extensions dialog box, choose the Extensions command from the Tools menu in ArcMap, ArcCatalog and ArcScene (the application that comes with the ArcGIS 3D Analyst extension). The Extensions dialog lists the extensions currently installed on your system that work with the application you are using. For example, if you are using ArcCatalog, you'll only see extensions listed that work with ArcCatalog. Extensions are listed in this dialog whether or not you have registered them or whether or not licenses are currently available for them on your License Manager. To enable an extension, check the box next to it: Spatial Analyst If the extension is successfully enabled, the box will appear checked: Spatial Analyst Enabling an extension does not cause the extension's user interface to appear automatically; it simply enables any controls that the extension provides. If the extension's controls are on a toolbar, such as the Spatial Analyst extension's toolbar, you will still need to display the toolbar by choosing it from the Toolbars pull right in the View menu.
26
Mob:- 0913186182
MOA MERET Project Basic Training on Application GIS in Watershed Management 7. Hydrological Applications of GIS in Watershed Management
GIS improves calculations for watershed characteristics, flow statistics, debris flow probability, and facilitates the watershed delineation by using Digital Elevation Models (DEMs). It provides a consistent method for watershed analysis using DEMs and standardized datasets such as land cover, soil properties, gauging station locations, and climate variables. ArcGIS with Arc Hydro gives you the flexibility to combine watershed datasets from one map source with stream and river networks. Use ArcGIS Spatial Analyst for hydrologic analysis such as calculating flow across an elevation surface, which provides the basis for creating stream networks and watersheds; calculating flow path length; and assigning stream orders.
7.1
Watershed Delineation
The suite of tools in Arc Hydro facilitates the delineation of watersheds by using Digital Elevation Models (DEMs). DEMs consist of a sampled array of elevations for ground positions at regularly spaced intervals. GIS uses these DEMs to define the direction of the flow according to the topography and the drainage areas. The DEMs may not always yield a good representation of the real world, and additional tools may be used to edit the DEM to improve the resulting delineations. With the tools in Arc Hydro, you can burn in streams or building walls at that effect.
Add a DEM from your working directory. If the DEM is in TIN format you need to convert it to GRID format. Start ArcToolBox Goto Spatial Analyst Tools and double-click on Hydrology You will see the following Tools:
Tool Basin Fill Flow Accumulation Flow Direction Flow Length Sink Snap Pour Points Stream Link Stream Order Stream to Feature Watershed Description Creates a raster delineating all drainage basins Fills sinks in a surface raster to remove small imperfections in the data Creates a raster of accumulated flow to each cell Direction from each cell to its steepest downslope neighbor Calculates distance, or weighted distance, along a flow path Creates a raster identifying all sinks or areas of internal drainage Snaps pour points to the cell of highest flow accumulation within a specified distance Assigns unique values to sections of a raster linear network between intersections Assigns a numeric order to segments of a raster representing branches of a linear network Converts a raster representing a linear network to features representing the linear network Determines the contributing area above a set of cells in a raster
27
Mob:- 0913186182
1. Start the 3DEM software: StartProgram Files Visualization 3DEM 2. FileLoad Terrain Model 3. Click on SRTM Data radio button from the list OK 4. Browse to your working directory and Select the files you want to work with from the list: 5. Most of the SRTM data has some missing data points where no data was recorded by the mission due to some problems. Therefore, we need to correct these errors. To do so: a. Once you have loaded one or more SRTM data b. Press F7 key (or click on Operations F7 Patch Missing Data) c. Select the area to be patched and press enter d. It will tell you how many points were patched e. Repeat the above until it says 0 points patched 6. Click on File save USGS ASCII DEM Browse to the output directory and give it a name 7. You need to import the USGS DEM file you just created in 3dem to ArcGIS: Start ArcMap start ArcToolBox Conversion Tools To Raster DEM to Raster Input: the USGS DEM file, Output: Give it a new name 8. This file can now be loaded to Arcmap and can be used to generate hydrological parameters using Hydrology tool of the Spatial Analyst extension: a. ArcToolBox Spatial Analyst Hydrology b. Start by using Fill to fill any holes in your DEM c. Create Flow Direction from the filled DEM name it flowdir d. Create Flow Accumulation from the Flow Direction name it flowacc e. To generate stream network raster data, Use the following formula in Map Algebra to create a raster Stream network Spatial Analyst ToolsMap Algebra Single Output Map Algebra Type: Con(flowacc > 100, 1 )
Where flowacc is the flow accumulation that you calculated using the hydrology tool
f. Generate Stream order from the stream raster you created in step e g. Convert the stream raster to a vector data using Stream to feature h. Create watershed
28
Mob:- 0913186182
MOA MERET Project Basic Training on Application GIS in Watershed Management 8. Using handled GPS
Press and hold a few second the red button on the GPS Look the screen, when the globe is appear release the button Press the page button repeatedly until you get Main Menu In the main menu select Setup Menu using down arrows key Press enter In the setup menu window select Navigation Press enter In the navigation window select appropriate o Position format o Map datum o Units Press page to quit navigation window Now you are ready to collect the data by using GPS
0 1
0 2
1 2
1 3
1 4
2 1
2 2
2 3
Count the number of the satellite appear to your screen at least four for our purpose Check the visibility of the satellite Press enter then record the position value Example 37P 0386643 for the X-value or east coordinate UTM 19943210 for the Y-value or North coordinate
29
Mob:- 0913186182
As we see a Global Positioning System (GPS) is a useful tool to collect geographic coordinates that can be plotted on a map. To map the collected data we may have different option but for this training we will use either ArcGIS or OutoCAD software.
Now you get your data base in ArcGIS table window 30 E-mail:- henamulu@gmail.com : - henamulu@yahoo.com Mob:- 0913186182
On the Display XY data window select the appropriate table, X and Y value in your data
Click ok
Click on the edit button on the bottom of the display XY data window to set the coordinate system for the input data In the spatial reference properties window click on select to select the appropriate coordinate system
31
Mob:- 0913186182
Click on geographical coordinate system select Africa select Adindan.prjclick addclick applyClick OKclick ok on the display XY data window
In the view window series of points appear but our interest is to get polygon and area. To get the polygon it need digitizing this points on screen
8.4 Digitizing
Right click on the Menu Bar Check on Editor Tool The editor tool window appear
32
Mob:- 0913186182
On Editor menu click on start editing icon and click on sketch tool icon
Now you can connect your points by sketch tools, when you closed the polygon double on the last point
33
Mob:- 0913186182
Once you finished the digitizing you have to save your work as project Click on the file select in the down drop list save project as in appropriate directory In stop editing window Click Yes
34
Mob:- 0913186182
In option window in the down drop list select add field and click on it.
In the Add Field window write area in type down drop list select long integer or double click ok In attribute table window right click on area column
35
In the calculate geometry window select the appropriate unit (sq km), ha,
Now the area is field in the attribute window appear based on your measurement of unit in this case square mater.
36
Mob:- 0913186182