14.03.2014 Views

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - SAS

Basic Analysis and Graphing - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

276 Interactive Data Visualization Chapter 10<br />

Create Map Shapes<br />

Related Information<br />

• “Creating Maps” chapter on page 403<br />

• “Example of Creating Map Shapes” on page 287<br />

Built-in Map Files<br />

When you use the Map Shape zone, JMP searches through its built-in map files for matching names.<br />

Built-in map files include the following:<br />

• world countries<br />

• states <strong>and</strong> counties in the United States<br />

• first-level divisions for Canada, China, the United Kingdom, France, Italy, Japan, <strong>and</strong> Germany<br />

By default, JMP installs built-in map files in the following directory:<br />

• Windows: C:\Program Files\<strong>SAS</strong>\JMP\10\Maps<br />

• Macintosh: /Library/Application Support/JMP/10/Maps<br />

Each map consists of two JMP data files with a common prefix:<br />

• -Name file that contains the unique names for the different regions<br />

• -XY file that contains the latitude <strong>and</strong> longitude coordinates of the boundaries<br />

The two files are implicitly linked by a Shape ID column. For example:<br />

• The World-Country-Name.jmp file contains the exact names <strong>and</strong> abbreviations for different countries<br />

throughout the world.<br />

• The World-Country-XY.jmp file contains the latitude <strong>and</strong> longitude numbers for each country, by<br />

Shape ID.<br />

Note: If JMP does not recognize the names in your data, check the built-in map files for the spelling that<br />

JMP recognizes. For example, United Kingdom is a country name, but not Great Britain.<br />

Create Custom Map Files<br />

You can create your own map files by following the same pattern as the built-in files. In order for JMP to<br />

automatically find your files, place them in the following directory:<br />

• Windows XP: \Local Settings\Application Data\<strong>SAS</strong>\JMP\Maps<br />

• Windows 7 <strong>and</strong> Vista: \AppData\Local\<strong>SAS</strong>\JMP\Maps<br />

• Macintosh: /Library/Application Support/JMP/Maps<br />

Or, you can link the map files to your data files explicitly with the Map Role column property.<br />

Note the following when creating map files:<br />

• Each set of map files that you create must contain a -Name file <strong>and</strong> a -XY file.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!