
[-defdefine LessonName "Adding a Background Map in Shapefile Format"-]
<section id='BaseOps_Tutorial_AddingMap_Shapefile_id'>
    [-include "BaseOps_SetUpStandardWorkbookCase.tutscript"-]
    <title>
        &LessonName;
    </title>
    <section>
        <title>
            &LessonName;
        </title>
        <para>
            BaseOps displays data in a graphical format in the upper-right
            portion of the BaseOps window. For example, when editing a flight
            track, BaseOps displays a graphical representation of the flight
            track.
        </para>
        <para>
            BaseOps is capable of displaying this graphical data over a background
            map. This allows you to see exactly where the components of your
            BaseOps case (runways, flight tracks, etc.) are located.
        </para>
        <para>
            There are several formats used to store background maps. One common
            format is named "Shapefile".
        </para>
        <para>
            This lesson will teach you how to add a shapefile map to your
            BaseOps case. It is presented as a list of step-by-step instructions.
            To begin, press the <bold>First Step</bold> button below.
        </para>
    </section>
    <section>
        <title>
            Step 1
        </title>
        <para>
            Obtain a map in shapefile format. This is a common format ---
            it is likely that some of your installation's base maps are currently
            stored in this format. If not, your local GIS expert may be able
            to convert maps into this format.
        </para>
        <note type='tip'>
            <para>
                The Air Force Center for Engineering and the Environment (AFCEE)
                can assist base planners in obtaining background maps suitable
                for use in BaseOps. Contact either Diane Majors (phone 210-536-4210,
                DSN 240-4210, e-mail judy.majors@us.af.mil) or Nancy Mabie (phone
                210-536-5500, DNS 240-5500, e-mail nancy.mabie@us.af.mil).
            </para>
        </note>
        <para>
            Note that a single shapefile actually consists of three files:
            a main file, an index file, and an attribute file. These files
            should have the extensions <filetext>.shp</filetext>, <filetext>.shx</filetext>,
            and <filetext>.dbf</filetext>, respectively. Only the main (<filetext>.shp</filetext>)
            file is required by BaseOps. The index and attribute files may
            be present, but are not used.
        </para>
    </section>
    <section>
        <title>
            Step 2
        </title>
        <para>
            Choose <menutext>Edit Case Options</menutext> from the <menutext>Case</menutext>
            menu. The "BaseOps Case Options" dialog box is displayed. In the
            list on the left side of the dialog box, click on "Layers". On
            the right side of the dialog box, the controls for managing background
            map layers are displayed.
        </para>
        <exhibit>
            <img
            src='BaseOps_AddingMap_DLG_BaseOpsCaseOptionsDialogBox_ScreenCap.png'/>
        </exhibit>
        <para>
            [-include "BaseOps_ShowMeHowLink.rxl" VideoName='BaseOps_AddingMap_DLG - 2.wcsaf'-]
        </para>
    </section>
    <section>
        <title>
            Step 3
        </title>
        <para>
            Press the "Add Layer" button. The "Select type of map layer to
            add" dialog box appears.
        </para>
        <exhibit>
            <img
            src='BaseOps_AddingMap_DLG_SelectTypeOfMapLayerDialogBox_ScreenCap.png'/>
        </exhibit>
        <para>
            Click on "ARC/INFO Shapefile (SHP)", then press OK. An empty shapefile
            map layer will be added to the list.
        </para>
        <para>
            [-include "BaseOps_ShowMeHowLink.rxl" VideoName='BaseOps_AddingMap_Shapefile - 3.wcsaf'-]
        </para>
    </section>
    <section>
        <title>
            Step 4
        </title>
        <para>
            Click on the "Options" button located to the right of the new
            shapefile map layer. The dialog box for editing the layer's options
            will be displayed.
        </para>
        <exhibit>
            <img
            src='BaseOps_AddingMap_Shapefile_EditDLGLayerOptionsDialogBox_ScreenCap.png'/>
        </exhibit>
        <para>
            [-include "BaseOps_ShowMeHowLink.rxl" VideoName='BaseOps_AddingMap_Shapefile - 4.wcsaf'-]
        </para>
    </section>
    <section>
        <title>
            Step 5
        </title>
        <para>
            In the list on the left side of the dialog box, click on "Shapefile
            Name". Then, in the "Shapefile file name" box, type the full path
            name of the shapefile <filetext>.SHP</filetext> file. Or, if you
            prefer, click on the select button <img
            src='BaseOps_ThreeDotsButton_Figure.png'/> . The standard Microsoft
            Windows dialog box for choosing a file is displayed. Navigate
            to the directory where the shapefile is stored, click on the file,
            then press the Open button.
        </para>
        <para>
            [-include "BaseOps_ShowMeHowLink.rxl" VideoName='BaseOps_AddingMap_Shapefile - 5.wcsaf'-]
        </para>
    </section>
    <section>
        <title>
            Step 6
        </title>
        <para>
            In the list on the left side of the dialog box, click on "Coordinate
            System". Then set the coordinate system used by the shapefile.
            Setting a coordinate system is covered in an earlier tutorial.
        </para>
        <para>
            For this tutorial, we will assume that the shapefile uses longitude
            and latitude, and that the datum is WGS-84.
        </para>
        <note type='tip'>
            <para>
                The person who supplied you with the shapefile should be able
                to tell you the coordinate system and datum. Often, shapefiles
                are distributed with an accompanying text file that has this information.
            </para>
        </note>
        <para>
            [-include "BaseOps_ShowMeHowLink.rxl" VideoName='BaseOps_AddingMap_Shapefile - 6.wcsaf'-]
        </para>
    </section>
    <section>
        <title>
            Step 7
        </title>
        <para>
            Press OK once to close the "Shapefile map layer options" dialog
            box, and again to close the "BaseOps Case Options" dialog box.
            The shapefile will be loaded and displayed on the map.
        </para>
        <exhibit>
            <img
            src='BaseOps_AddingMap_Shapefile_MapDisplayed_ScreenCap.png'/>
        </exhibit>
        <para>
            [-include "BaseOps_ShowMeHowLink.rxl" VideoName='BaseOps_AddingMap_Shapefile - 7.wcsaf'-]
        </para>
    </section>
</section>
