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.

426 Creating Maps Chapter 16<br />

Background Maps<br />

Figure 16.21 Set Background Map Window<br />

2. To display a background, do one of the following:<br />

– Select Simple Earth, Detailed Earth or NASA server, in the Images column.<br />

– Select Web Map Service <strong>and</strong> paste a WMS URL next to URL. Type the layer identifier next to<br />

Layer.<br />

3. To display geographic borders on the map, select an option in the Boundaries column (If you installed<br />

your own boundary shapefiles, they are also listed in this column).<br />

4. Click OK.<br />

If the NASA or WMS map does not appear after you add it, the map server might not be available. View<br />

the error log to verify the problem.<br />

Custom Map Images<br />

There are two ways to use your own map images:<br />

• Assign the Map Role column property in a data table <strong>and</strong> specify the path to the map. For details, see<br />

“Map Role” on page 414.<br />

• You can create a map image in a graphics program <strong>and</strong> drag <strong>and</strong> drop the image onto a report.<br />

After you add a map image, you can change certain display properties, such as adding state boundaries <strong>and</strong><br />

setting the transparency level.<br />

JSL Scripting<br />

Background maps can be scripted in JSL. You can write a script that creates a graph, <strong>and</strong> then turns on the<br />

background map in the script. For more information about scripting, see the Scripting Guide.<br />

To access the background map functionality through JSL, find an example in the Samples Data directory.<br />

For example, run JMP <strong>and</strong> open the sample data file called Hurricanes.jmp. Edit the script called Bubble<br />

Plot with Map. Look for the comm<strong>and</strong> in the script that begins with Background Map.

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

Saved successfully!

Ooh no, something went wrong!