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

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

Embed Size (px)

Citation preview

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

Importing your Own Data To display in GIS

Lab 4a: (Table Join) Mapping By State, County, or Nation

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

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 geodatabase4. Add your portfolio Data to an appropriate map (this

involves joining 2 tables)5. Selecting how you want the data to be visually

represented

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

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

mapping software.

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

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.

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

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)

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

To examine how the data is stored for a layer, right click on the layer,

Select Open Attribute Table

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

It looks like a spreadsheet!

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

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.

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

Side Note ends: Continue from here

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

Select the Data in the Sheet You Want

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

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

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

OK to Only Active Sheet

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

OK to Format Change

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

2. Setting up your own personal geodatabase which you can

use to store all data you would like to map.

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

Next Open Up ArcCatalog

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

File, Connect Folder

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

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

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

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

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

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

GeoDatabase

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

Name it

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

Skip the next few slides (it seems to work without them)

i.e. skip to part 3 of instructions

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

Right Click on it, New, Feature Class

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

Name it, Next

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

Default

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

Shape, Spatial Reference, 3 dots

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

Select, Geographic Coordinate Systems

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

North America, North American Datum 1927

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

Apply, OK, Finish.

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

Resume with instructions

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

3. Importing your Lab 4 Data into your geodatabase

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

Next Launch ArcToolbox

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

Pick: Export from Table, Table to Geodatabase

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

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

following…

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

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.

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

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

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

****Be sure that table name is short and no spaces in it!!!! Or

else it won’t convert.

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

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

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

For Output, select your new personal geodatabase

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

Press OK and watch it convert

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

4. Adding your Lab 4 data to an appropriate map

(this involves joining 2 tables)

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

Open Arc Map

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

Select the Existing Map for this Course

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

Open it, Save as…an ArcMap Document –not template-(pick your

own name) in your H Drive

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

Select + by the Entire Us

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

This expands the selection

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

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

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

Insert, Data Frame

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

Right Click on New Data Frame, Add Data

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

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

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

Notice it is now in the left panel

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

Right Click on it and Open

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

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

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

Now you must join the data you imported with the shapes of the

map that already exist in our class template.

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

Right Click on United States, Joins and Relates, Join

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

Choose State Name for 1

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

Select Folder and Browse and Add your new Data for 2

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

Choose State for 3, OK

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

Now Right Click and Open for the US Shape File

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

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)

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

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

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

Next we will represent the imported data by color scheme

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

Right click on US, Properties

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

Select the Symbology Tab

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

Select Quantities, Graduated Colors

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

Select a Variable

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

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

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

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

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

Select Apply and watch the map go from this….

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

…..To this.

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

Or This

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

To make sure it displays your graduated symbols…

Legend

United States

Grassl3.PCTSEC8

18.000000 - 23.000000

23.000001 - 34.000000

34.000001 - 46.000000

46.000001 - 59.000000

Go to the legend on the map, Right Click, Properties,

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

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

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

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

destination, paste.

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

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

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

If you want only a section of a larger map…

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

Right Click, Open Attribute Table

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

Options, Select By Attributes

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

Double Click on Variable

(state Name) =

Get Unique Values,

select the value you want (NY)

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

Apply

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

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

selected.

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

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

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

Double click on the counties selection and re-name it “New York Counties” or as

appropriate for your purposes.

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

Trouble shooting

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

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

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

If No scale is included on your map to show color meanings

• Insert,

• Scale,

• Make sure the layer that you joined to is included.

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

The following 3 not needed

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

Click add Data

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

Open the Geodatabase you created

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

Select the Data that you imported into the Geodatabase (ie your now converted

original excel data), Add

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