Presentation is loading. Please wait.

Presentation is loading. Please wait.

Importing your Own Data To display in GIS Lab 4a: (Table Join) Mapping By State, County, or Nation.

Similar presentations


Presentation on theme: "Importing your Own Data To display in GIS Lab 4a: (Table Join) Mapping By State, County, or Nation."— Presentation transcript:

1 Importing your Own Data To display in GIS Lab 4a: (Table Join) Mapping By State, County, or Nation

2 Lab Overview In this lab you will: 1.Prepare the data you obtained for your portfolio so that it can be imported into Arc GIS mapping software. 2.Set up your own personal geodatabase which you can use to store all data you would like to map. 3.Import your portfolio Data into your geodatabase 4.Add your portfolio Data to an appropriate map (this involves joining 2 tables) 5.Selecting how you want the data to be visually represented

3 1. Preparing the data you created in lab 4 so that it can be imported into Arc GIS mapping software.

4 Create an Excel Spreadsheet that Lists Data By State Make sure that your variable names are along the top row (top 1 row only) and that the state names are down the side column (A). There should be no blank rows above the data and no blank columns to the left.

5 Side Note: Make sure that the primary key (such as state, county, country etc) that you will be linking to in the map are spelled exactly the same way as in the map. (the next 4 slides review this)

6 To examine how the data is stored for a layer, right click on the layer, Select Open Attribute Table

7 It looks like a spreadsheet!

8 Highlight everything (by column) Options, Export, as Text (dbf may work better for your computer) Then you can retrieve these labels and find data that corresponds with them.

9

10 Side Note ends: Continue from here

11 Select the Data in the Sheet You Want

12 Save As…(give it a name) Save As Type: DBF IV

13 OK to Only Active Sheet

14 OK to Format Change

15 2. Setting up your own personal geodatabase which you can use to store all data you would like to map.

16 Next Open Up ArcCatalog

17 File, Connect Folder

18 Select your H and the Specific Folder you want to put it in.

19 Now notice your H is in the left pane, Click on the H drive

20 Right Click in Blank Pane on Right hand side, New Personal GeoDatabase

21 Name it

22 Skip the next few slides (it seems to work without them) i.e. skip to part 3 of instructions

23 Right Click on it, New, Feature Class

24 Name it, Next

25 Default

26 Shape, Spatial Reference, 3 dots

27 Select, Geographic Coordinate Systems

28 North America, North American Datum 1927

29 Apply, OK, Finish.

30 Resume with instructions

31 3. Importing your Lab 4 Data into your geodatabase

32 Next Launch ArcToolbox

33 Pick: Export from Table, Table to Geodatabase

34 If it does not appear as in the previous slide, use the following…

35

36 You may later find it helpful to shorten the data name here (so variable names are shorter, since this is added to existing variable names). To do this, copy and paste it here and give the pasted version a short name like fhdata.

37 i.e. Shorten the target name in the box that opens

38 ****Be sure that table name is short and no spaces in it!!!! Or else it won’t convert.

39 For Input Table, Select the DBF 4 Data you saved in Excel (click the file folder)

40 For Output, select your new personal geodatabase

41 Press OK and watch it convert

42 4. Adding your Lab 4 data to an appropriate map (this involves joining 2 tables)

43 Open Arc Map

44 Select the Existing Map for this Course

45 Open it, Save as…an ArcMap Document –not template-(pick your own name) in your H Drive

46 Select + by the Entire Us

47 This expands the selection

48 3 SLIDES EXCERPTED FROM HERE BECAUSE NO LONGER NEEDED WITH THIS SOFTWARE UPGRADE

49 Insert, Data Frame

50 Right Click on New Data Frame, Add Data

51 Select your original data (again- but this time it is inside your geodatabase!), add

52 Notice it is now in the left panel

53 Right Click on it and Open

54 This will show that you have imported the Data into the Map

55 Now you must join the data you imported with the shapes of the map that already exist in our class template.

56 Right Click on United States, Joins and Relates, Join

57

58 Choose State Name for 1

59 Select Folder and Browse and Add your new Data for 2

60 Choose State for 3, OK

61 Now Right Click and Open for the US Shape File

62 Notice that the New data has been joined with the existing state shapes by matching state names (nulls appear where no match was found –check these for mistakes due to formatting)

63 5. Selecting how you want the data to be visually represented

64 Next we will represent the imported data by color scheme

65 Right click on US, Properties

66 Select the Symbology Tab

67 Select Quantities, Graduated Colors

68 Select a Variable

69 Select the number of (different) classes of colors you prefer, then to the right select classify

70 Classify allows you to adjust the range of values within each color

71 Select Apply and watch the map go from this….

72 …..To this.

73 Or This

74 To make sure it displays your graduated symbols… Go to the legend on the map, Right Click, Properties,

75 Make sure only the layer you used in your join is showing

76

77 To copy and paste maps to powerpoint or MS Word, right click on it, copy map to clipboard. Go to desired destination, paste.

78 Now you can go ahead and follow the same procedure for maps and data of your own choosing. You will both present your maps and explain them informally to the class and hand the following: 1.print-outs of your maps and the sources of your data. 2.You will save your digital maps and data and sources to the following folder. Create a subfolder for your work that includes your name in it. L:\CourseInformation\Ridzi\Utility Folder\Program Evaluation and Policy Analysis Lab 4a Submission Folder

79

80 If you want only a section of a larger map…

81 Right Click, Open Attribute Table

82 Options, Select By Attributes

83 Double Click on Variable (state Name) = Get Unique Values, select the value you want (NY)

84 Apply

85 If you browse the spreadsheet now you will see all NY values are selected.

86 Now return to the side bar, right click, selection, create layer from selected features.

87 Double click on the counties selection and re-name it “New York Counties” or as appropriate for your purposes.

88

89 Trouble shooting

90 If H or L drive does not work, use the C.

91 If No scale is included on your map to show color meanings Insert, Scale, Make sure the layer that you joined to is included.

92 The following 3 not needed

93 Click add Data

94 Open the Geodatabase you created

95 Select the Data that you imported into the Geodatabase (ie your now converted original excel data), Add

96


Download ppt "Importing your Own Data To display in GIS Lab 4a: (Table Join) Mapping By State, County, or Nation."

Similar presentations


Ads by Google