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.

Chapter 16 Creating Maps 427<br />

Background Maps<br />

To figure out the correct parameters for the background map comm<strong>and</strong>, simply look at the background<br />

map window. The wording is the same as the JSL comm<strong>and</strong>s. To create a background map, simply use the<br />

comm<strong>and</strong> Background Map().<br />

There are two types of background maps that you can specify: Images() <strong>and</strong> Boundaries(). Each of these<br />

then takes a parameter, which is the name of the map to use. The name is one of the maps listed in the<br />

window. For Images(), the choices are Simple Earth, Detailed Earth, NASA or Web Map Service. If you<br />

elect to use Web Map Service, then there are two additional parameters: the WMS URL <strong>and</strong> the layer<br />

supported by the WMS server. For Boundaries(), the choices vary since boundaries can be user-defined.<br />

But a typical choice might be World.<br />

To add a background map that uses the Detailed Earth imagery <strong>and</strong> World as a boundary, the comm<strong>and</strong><br />

would look like this (spacing is not important):<br />

Background Map ( Images ( "Detailed Earth" ), Boundaries ( "World" ) )<br />

To change the script to use a WMS server, the comm<strong>and</strong> would look like this:<br />

Background Map ( Images ( "Web Map Service", "http://<br />

l<strong>and</strong>.visualiser.nt.gov.au/wms/wms", "NTLIS_Mapserver" ), Boundaries (<br />

"World" ) )<br />

You can also create your graph <strong>and</strong> add a background map through the user interface. Then from the red<br />

triangle menu use Script > Save Script to Script Window to see the script that is generated.<br />

Figure 16.22 JSL Scripting Example

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

Saved successfully!

Ooh no, something went wrong!