Geographic Information Systems (GIS)
Geographic Information Systems (GIS)
Instead of presenting complicated data in a table or chart, GIS allows you to display
that data on a visually pleasing and easy to read map. This can allow a researcher to
present a complex data-based concept in a instantly comprehendible form.
Of course maps are not always the best way to show your data. Depending on what
you are presenting, a table or chart might be best. However when you have data that
haws a geographic component using a map is the best way to go.
Below is a list of some of the ways that people in the Lowell community have used
MapInfo
1
MapInfo is but one of many GIS software programs. MapInfo 6.5 is loaded on all the
Center’s computers which are available for students to use anytime during regular Center
hours.
MapInfo uses several Layers of data to make a map. These MapInfo Layers are data files
called Tables. When browsing files in your computer, you can easily recognize these
MapInfo table files by their .tab extension (e. g., schools.tab).
The map below is made up of three separate Layers of data (or three Table files).
2
Lesson #1
Opening and Managing Tables
Go to >
All Programs
MapInfo
MapInfo Professional 6.5
Zoom in/out
Click and drag with zoom in tool
to zoom in on a specific area
Now hold down <SHIFT> and select all 6 New England States. Zoom in if it makes it
easier to see all the states.
3
On the menu bar go to File > Save Copy As…
Save in My Documents
End Lesson #1
4
Lesson #2
Part 1: Using Layer Control to Change Map Features
On the Menu bar click on File > Close All (always a good idea to start with this since
files can be open in MapInfo and be invisible if all map and browser windows have been
closed)
Click on File > Open Table > GIS Class Maps > New England States
Check Label
(4th column checkbox) for
New England States
Click OK
Now all states will be labeled with
the state name
Click OK, OK
5
See New England States now labeled with 2-letter state abbreviation and new font style.
Use select tool to click and drag a label away from its state. Notice label line is drawn
automatically.
;. .
OK OK
6
OK OK
Layer Control Part 2: Using Layer Control to Work with Multiple Map Layers
File > Open Table > C: (drive) > Program Files > MapInfo > Professional 6.5 > Data
> Tut_Data > Tut_USA > USA > States.Tab
Go to Layer Control
Use Up/Down buttons or click and drag to
move STATES below New England States
Click OK
See New England States within US
File > Close All (choose Discard; we’ll learn about Saving this work in the next lesson)
File > Open Table > New England States. Note that display has gone back to original
style. We’ll learn to save display changes in the next lesson.
7
End Lesson #2
8
Lesson 3
Thematic Mapping: Individual Value (Category Data) Maps
There are many different kinds of thematic maps, each for a different analytical purpose.
We’ll start with a simple one that is useful for looking at category data – e.g., if you had a
table (map) of schools, restaurants, and playing fields, you might want to show each type
of site with a different symbol.
File > Open Table > New England States (see plain old green with black borders)
Window > New Browser Window. See one row for each of the New England States.
Note “State_Name” column. Each row has a different value – the name of the state.
On the Menu bar go to: Map > Create Thematic Map > Individual (2nd button from the
bottom on the left in Step 1). Choose “Region IndValue Default”
Note contents of Preview window in right side of dialog box. With this Default style,
MapInfo will assign a different color to each different value in the column you choose in
step 2.
Click Next.
9
Choose “New England States” for Table and “State_Name” for Field.
Click Next
Since each row in the “State_Name” column has a different value (the name of each
state), MapInfo will assign a different color to each state.
End Lesson #3
10
Lesson 4: Layout
Let’s create another kind of thematic map, and then design a layout for printing.
Go to Layer Control > Uncheck the box in the Label column > OK > OK
11
Go to: Window > New Layout Window.
Choose: No Frames
Click: OK
Choose your New England States Map from the dropdown. Click OK.
Click and drag with the Frame tool again, but create a smaller box for your legend. This
time, when you release the mouse button, choose your map legend (Theme Legend of …)
Click: OK.
12
Your layout should look something like this.
Now use the Text Tool on the Drawing toolbar to add a title to your map.
Highlight your Title and then press the Text Style tool (note the ? on the icon)
End of Lesson 4
13
Lesson 5:
Working with Excel Tables in MapInfo
Often the data you need to work with in MapInfo will be data you have stored in Excel.
MapInfo is able to work with these files directly, so the first step is to copy the file into a
subfolder of your map files (i.e., a folder beneath your workspace folder, MyName
Maps).
On the Menu bar Click on File > Open Table >
Use the Files of Type dropdown and set it to Excel.
14
Now, check “Use Row Above for Column Titles.” This will instruct MapInfo to look
in the first row of your spreadsheet for column headings (also sometimes called “field
names”). Click OK.
Let’s close the table and see what happens the next time we want to use it.
There is no need to save the table at this point. MapInfo has done that automatically.
File > Open Table > Your Chosen Excel Table. TAB
15
Note that your file now appears as a standard MapInfo table in the same folder where
your original Excel file resides.*
Now – how do you get to see this data on a map? There are two ways to accomplish this:
IMPORTANT NOTES:
*Avoid Losing Your Data! DO NOT Move or Delete your Excel table!!!
Now that you have opened this Excel table in MapInfo, you will be able to open it from
now on with the File > Open Table function (without using the Files of Type dropdown
to indicate an Excel table). However, MapInfo is still “looking” at the original Excel file
each time it opens the MapInfo table (.tab) file. It has not created a new copy of the file,
just a MapInfo TAB file to accompany the Excel file and store information about the
Excel data. Therefore, you must always keep the Excel file with the other data files
you intend to use in your maps.
In the case of Excel files and ASCII text files, if you wish to make changes to the data,
you must do so in the original file/application (i.e., open the file in Excel and save your
changes).
MapInfo establishes read/write connections to dbf and Access files. In these cases, you
can make changes to your data through MapInfo. Be careful, though – you will also be
changing your original data file at the same time.
16
Lesson 6
Query > Find
Suppose you have a very large and detailed map and you wish to find a particular
location on your screen.
On the Menu bar, go to: File > Open Table > LowellStreets
First, tell MapInfo what table you wish to search for locations.
17
Now, try finding the Center for Family, Work and Community by typing in the address:
650 Suffolk Street.
Click OK.
A bright circle appears on the map at the location of 650 Suffolk Street.
Click the Info Tool on the Main Toolbar and click on the street next to the circle.
Note the information that MapInfo is storing for this street segment: a range of addresses
for each side of the street.
650 falls on the left side of the street in this block (an even number between 588 and
682).
Try Query > Find again. Note that this time you don’t need to specify the file to be
searched. Try finding a few more addresses.
End of Lesson 6
Lesson 7
18
Geocoding
Suppose you have a list of addresses (for example, a list of program participants in an
Excel file). How do you get those records to show up as points on a map?
Behind the scenes, geocoding is a process very similar to the one you saw in Query >
Find. But this time, MapInfo will create a permanent map object for each row in your
table, and rather than requiring you to enter each address one at a time, MapInfo will read
through your entire table, locate each address, and create a “point object” for each row
(or record) in your table.
8. Change LowellMfg!A1:N143 to
LowellMfg!A2:N143
19
10. Go to Window and click Cascade Windows
Place the two resulting windows next to each
other so that you can see the Address field in the
Lowell Mfg Browser.
When you Geocode you are telling MapInfo where, in a geographic area, your data lie.
MapInfo will use the street data for Lowell (LowellStreets.TAB) to match up the
addresses of the Lowell Manufactures with the streets of Lowell. Once it does so,
MapInfo can display the businesses on a map using a symbol as a location marker
20
PLEASE DO NOT GO ANY FURTHER! Before we go forward there are some things
you need to know about the process of geocoding.
We then click on Table > Geocode for a second time. This time we click the radio
button for Interactive Mode because if MapInfo has “questions” (i.e., it cannot find a
certain street address) you can interact with the program to provide the answers. If
MapInfo does not recognize a street name the process will stop and the unrecognizable
street name will appear in the Street box at the top of the Geocode window. Let’s begin
and you will see what we mean.
When the street number for an address is missing, MapInfo will highlight a range of
numbers. If you know the correct street number pick the range n which it falls, otherwise
just click on the OK button to accept the highlighted range and resume geocoding.
When you have finished, MapInfo will display a pop up window that reads: "Geocoding
of table Lowell_Mfg is complete." It will also show you how many addresses were
geocoded, were not geocoded and were previously geocoded.
21
Note that when geocoding is complete, your site location symbols don’t automatically
show up on the map.
Note: Once your table is geocoded, MapInfo stores each point’s location in a separate
file. You can open the table all by itself or in any combination with other tables and the
points will display in their proper location.
22
Lesson 8
More Thematic Mapping
One of the most common types of thematic maps uses “ranges” to compare numeric data
in different regions. For example, you might want to look at population, income or other
demographic data in different towns or neighborhoods. You might also use a
“graduated symbol” to display this type of data.
In this example, we’ll make two different thematic maps, one showing population the
population change between 1990 and 2000, and the other showing the current population
density.
From Type:
choose Ranges
.Click “Sort by Name” and
choose any
Region Ranges
template.
(Towns are “region” objects).
Click Next
Click Next.
23
In Step 3, you see a preview of the map
data.
24
Now, let’s create a graduated symbol map to show population density along with
population change. Go to: Map > Create Thematic Map.
Click Next.
25
Use the
Columns and Operators
dropdowns to
enter the formula:
POP2000/AREA
This will give us population
divided by area, or people
per square mile.
.
Click OK.
26
Note that your two thematic maps are layered. Together, the two thematic maps give us
much more information than either one could alone. Two of the densest areas are Lowell
and Lawrence (indicated by the largest graduated symbols).
What town with relatively high density had little population growth?
What low density town had the highest growth?
Now, let’s modify the map a bit and see if the story it tells seems to change.
Choose Map > Modify Thematic Map OR double click in the top portion of the Legend
window to modify the MVTowns Ranges map.
27
From the Modify Thematic Map dialog,
click the Ranges button.
28
Does this map tell a different story about population growth in the Merrimack Valley?
Use the “Info Tool” (the “i” button on the Main toolbar) to find out what town had the
highest population growth. The answer is below…
29
Lesson 9
Creating Map Objects
Sometimes you may need to create a new map layer not by geocoding points of data but
to show important routes (polyline objects), neighborhood boundaries (region objects), or
other information.
We’ll do this by creating objects in the Cosmetic Layer (an empty layer MapInfo creates
by default in every map window) and then saving them to a new table.
Locate your Drawing Toolbar. If you’re not sure where it is, go to Options > Toolbars.
Be sure that both “Show” and “Floating” are checked. Click OK. You’ll see four
buttons at the bottom of the Drawing toolbar with question marks (“?”).
30
These are used to set the style for:
• “Point” objects
• text.
Click each style button and set each to a different, bright color.
Now, try out each of the drawing tools (no question marks) on the
toolbar. Hints:
31
Now, go to Layer Control.
You’ll see that PracticeObjects now
appears as a map layer. Click OK
A browser window opens. There will be one row for every object you created.
Challenge:
Try using the “info tool” to enter a unique ID for each object.
Try using Table > Maintenance > Table Structure* to add additional fields to your
table. USE CAUTION! Be careful not to modify any table other than Practice Objects.
When you are finished, use Window > New Brower Window to see your new columns.
*Note: Any time you modify a table’s structure, all views of the table (in both maps and
browsers) will disappear. Use Layer Control > Add to bring the map layer back to your
map window. Use Window > New Browser window to see the browser.
32
Lesson 10
Dealing with Projections
Important Notes on Projections.
What is a projection?
The world is round; our maps are flat. Therefore, there will always be some
distortion. Different “projections” allow us to minimize the distortion in a
particular area we are looking at on a map. For example, we are accustomed to
seeing world maps which greatly exaggerate the size of North America and
Europe. If you have ever viewed a map of the world in which the size of
continents is accurate (accuracy of shape is sacrificed in order to achieve this
effect), you have a sense of how drastically projection can change the position of
an object on a map.
Why do projections matter to me?
For the most part, MapInfo will handle projections for you without you even
knowing. If you open multiple map layers that are stored in different projections,
it will modify the displays as necessary so that the objects line up properly (you
will see all the layers in the projection of the first map opened). If you want to
change the projection of a map, you can use the File > Save Copy As… function.
Click the Projection button in the Save dialog and choose the new projection.
MapInfo will convert all the latitude/longitude coordinates in the file to the new
coordinate system.
However, if you are bringing a non-MapInfo file into MapInfo, you must tell
MapInfo what projection the file is in. If you provide incorrect information, the
file may appear to display properly on its own, but when you try to combine it
with other layers, its position will be incorrect. This is because we have misled
MapInfo about what each latitude/longitude coordinate means.
In this map, we see Merrimack Valley
streets and town borders displayed
with Lowell streets that were translated
with an incorrect projection. The
Lowell Streets that were not projected
properly are the tiny black dot at the
bottom of the map. The larger black
area above contains the properly
projected Merrimack Valley town
boundaries and streets.
33
How can I change a projection?
If the projection was set properly at the time the file was translated, you can use
the File > Save Copy As.. function as described above.
If the projection given at the time of translation was not correct, you must perform
the translation again from the original file in order to correct this problem.
Without returning to the original data, MapInfo has no way of factoring out the
incorrect coordinate transformation it has performed. The error is simply carried
forward in any subsequent transformations.
Good question!
If the file is downloaded from a site like MassGIS, you will need to locate the
“metadata” (or information about the data) on the website or in the files you
download. In the case of MassGIS files, you will notice a file with a .prj
extension included in the downloaded files. Double-click this file to open it in
Notepad. In the text, you will recognize the name of a coordinate system. In
most cases, for MassGIS data, the projection is US State Plane Massachusetts
Mainland Zone 1983 meters.
Go to http://www.mass.gov/mgis/massgis.htm
Choose Data Layers/GIS Database from the map
Click on Available Data Layers
Scroll down to Vector Data and choose County Boundaries
NOTE: <SHIFT> left-click on cntys.exe to download
RUN the exe and make note! of the folder you choose to hold the unzipped files
Start MapInfo
Go to Tools > Universal Translator
For Source Format, choose ESRI Shape File
For File, click the “…” button and browse to the folder you chose to hold the unzipped
files. Choose cntysp1.shp (NOT cntysa1.shp)
34
IMPORTANT!!! Click the Projection button. From Category, choose US State Plane
Coordinate Systems (1983, meters). From Category Members, choose Massachusetts,
Mainland Zone 2001 (1983 meters). See below.
Click OK.
Now, go to File > Open Table. Browse to the folder you chose in the previous step and
open cntysp1.TAB.
One last important step – Open the MV Towns file provided with the tutorial. Go to
layer control and add cntysp1. Click OK.
Right click on the map and choose View Entire Layer > All Layers. You should see town
boundaries within your county boundaries.
35
Lesson 11
Mapping Demographic Data from the US Census
Once you have learned to download files from MassGIS, a world of interesting data
opens up to you – the US Census!
With these instructions, you should be able to download US Census Tract data for
Lowell, MA and then create a “Thematic Map” in MapInfo with the downloaded data.
1. Go to www.census.gov/.
2. Click link Summary_File_3_(SF_3) to the right of “Census 2000” Text Icon.
3. Click link Access to all tables and maps in American Fact Finder.
4. Click third radio button from the top, Census 2000 Summary File 3 (SF3)
Click Comparing SF 3 Estimates… for a useful explanation of the
differences between Summary Files.
5. Click Detailed Tables to the right of the Summary file 3 box.
6. InTract
6. In geographic type, choose Census geographic
from type, choose Census Tracts from
the drop down file list. the drop down file list.
36
13. Available variables are listed by their
corresponding Census number.To find Income
click the by keyword tab.
14. Type Income and click Search.
37
18. Two Excel files will download. Use the file that has data in its filename. After
unzipping and opening the data file, you will notice that the Census tract numbers
are embedded in the Geography Identifier field. After looking closely, you
should recognize the tracts, without decimals, as the last digits of the Geography
Identifier. Print the Excel sheet so that you can use it to input the data into a
MapInfo browser.
38
Census data is available at both the block group and tract level. (See “Census
Geography Overview” in an Appendix to this tutorial.) In this example, suppose we
want to get a sense of where the most new housing has been built in the Merrimack
Valley. We will use a block group level file from the US Census called
housing_structure_age.TAB. (Note that the files unzipped from the download include
“bg_fields.xls,” an Excel file containing an explanation of field names).
Each of these tables includes one row or record for each block group. In order to map the
data on age of housing, we must tell MapInfo which column in each table contains
matching information (i.e., how does MapInfo know which block group is which?).
Note the column titled “LOGRECNO” in each table. This contains a 7-digit unique
identifier for each block group.
Map > Create Thematic Map > Ranges > Choose any Region Ranges template
Click Next
39
MapInfo automatically displays the Update Column for Thematic dialog.
Notice that it has automatically correctly chosen the housing_structure_age table as the
one we wish to join. However, we need to specify how this join will occur. To do so,
click the “Join…” button.
First, you will receive a message that MapInfo can’t figure this out on its own. Click OK
so that we can provide the necessary information.
Just as we did earlier, MapInfo needs to figure out which columns contain the matching
identifying information in the two tables. Set both to “LOGRECNO.”
40
Click OK.
Now, let’s see where the most housing construction occurred in 1999-2000. Leave the
“Calculate” dropdown set at “Value.” Scroll through the field list to find “Built99_00.”
Click OK.
41
Click OK to see your map.
Note the ranges MapInfo has used by default. Let’s see if modifying the ranges would
tell a different story.
42
Use the Method dropdown to change the method to Equal Ranges. Hit Recalc.
43
Now we see that there are just a few pockets of construction activity. Let’s add town
boundaries to this map.
44
Set the Font color to match the town borders. Check “bold” and “halo” to help the
labels stand out.
What areas of the Merrimack Valley had the most new housing construction?
Do areas of high activity span entire towns or are they concentrated in small areas
within towns?
Want to use this data for other maps? File > Save Copy As… > MVTowns as…
MVTownswithHousingData
Challenge:
Can you create a map that shows what areas have the highest percentage of
housing built before 1950?
45
Lesson 12
Sharing Your Maps
File > Open Workspace > open a workspace you created in a previous lesson.
Choose a graphics file type. For PowerPoint or other Microsoft applications, JPEG and
Windows Metafile formats work well.
46
Remember where you save your file!
Now, open PowerPoint or Word. Use the Insert function to open your map image and
place it in the file.
Return to MapInfo.
Make your Legend window active.
Note: It is best to avoid resizing images in the application. This results in a dramatic loss
of quality in your image. If the image is too big or too small, return to MapInfo and
choose File > Save Window As… again. This time, adjust the size of the image to be
saved.
47
Appendix A
A Few Terms and Concepts Related to Census Data
From: http://www.census.gov/main/www/cen2000.html; with modifications
Census block
A subdivision of a census tract (or, prior to 2000, a block numbering area), a block is the
smallest geographic unit for which the Census Bureau tabulates 100-percent data. Many
blocks correspond to individual city blocks bounded by streets, but blocks -- especially in
rural areas – may include many square miles and may have some boundaries that are not
streets. The Census Bureau established blocks covering the entire nation for the first time
in 1990. Previous censuses back to 1940 had blocks established only for part of the
nation. Over 8 million blocks are identified for Census 2000.
Block group (BG)
A subdivision of a census tract (or, prior to 2000, a block numbering area), a block group
is the smallest geographic unit for which the Census Bureau tabulates sample data. A
block group consists of all the blocks within a census tract with the same beginning
number. Example: block group 3 consists of all blocks within a 2000 census tract
numbering from 3000 to 3999. In 1990, block group 3 consisted of all blocks numbered
from 301 to 399Z.
Census tract
A small, relatively permanent statistical subdivision of a county delineated by a local
committee of census data users for the purpose of presenting data. Census tract
boundaries normally follow visible features, but may follow governmental unit
boundaries and other non-visible features in some instances; they always nest within
counties. Designed to be relatively homogeneous units with respect to population
characteristics, economic status, and living conditions at the time of establishment,
census tracts average about 4,000 inhabitants. They may be split by any sub-county
geographic entity.
Census geography
A collective term referring to the types of geographic areas used by the Census Bureau in
its data collection and tabulation operations, including their structure, designations, and
relationships to one another.
100-percent data
Information based on a limited number of basic population and housing questions
collected from both the short form and the long form for every inhabitant and housing
unit in the United States. (less data but collect from all households)
Sample data
Population and housing information collected from the census long form for a one in six
sample of households in the United States and Puerto Rico, and on a continuous basis for
selected areas in the American Community Survey. (more data but collected from fewer
households)
48