Wiki Markup |
---|
{section} {column:width=70%} h2. Introduction {column} {column:width=30%} h2. Exercises {toc:minLevel=4|maxLevel=4} {column} {section} {panel:title=Exercise|borderStyle=dashed|borderColor=#404040|borderWidth=1|bgColor=#F0F0F0} h4. Examine the workflows provided in the Atlantis project. # In Geocap, click *File* \-> *Open* \-> *File*, and browse to the Atlantis folder, then open the the sub-folder called *workflow*. # Double click on the file called *Atlantis Basic Workflow.gwf* to open it, or single click to highlight it and then click, *Open*. This will open the workflow below the project. !att:_img_shelf^atlantis_basic_workflow.png|border=1,width=300! _Atlantis Basic Workflow_ # Examine the contents of the workflow items by clicking on the triangles next to the root folders. # Click on the *Go to first executable element* !att:_img_icon^resultset_first.png! icon and then click on the *Execute next element* !att:_img_icon^resultset_next.png! icon. (This will initialize the basic display settings and nothing will appear in the display window yet) # Click on the *Execute next element* !att:_img_icon^resultset_next.png! icon again and notice everything in the *Base map* folder will be displayed along with a short *flight tour* (animation). # Continue clicking on the *Execute next element* !att:_img_icon^resultset_next.png! icon until you reach the end of the workflow and observe how different elements of the Atlantis project are displayed. {tip} Note that the user may also execute each element one at a time by right clicking on the command and choosing *Execute*. !att:_img_shelf^wf_execute_single.png|border=1,width=300! _Executing individual commands one by one_ {tip} * Following the steps above, open and examine the other workflows in the *workflows* folder. {panel} {panel:title=Exercise|borderStyle=dashed|borderColor=#404040|borderWidth=1|bgColor=#F0F0F0} h4. Create a new workflow In this exercise we will create a workflow that displays seabed and land and some important lines from the project. * Click *File* \-> *New* \-> *Workflow*. Then a browser pops up. The workflow is saved as a single file on disk with file extension **.gwf*, (Geocap Work Flow). A good idea may be to create a folder in your project called *Workflows* and put the workflow there. # Press the *New Element* icon to create the first entry. That may also be achieved by a right-click *New Element*. # Select the *Display* !att:_img_icon^pencil.png! command found in the *Commands* folder and click *OK*. # Right-click the *Display* !att:_img_icon^pencil.png! command in the workflow and select *Edit*. Then this panel pops up: !att:_img_shelf^wf_display_edit.png|border=1,width=300! _The Display edit panel_ In a workflow, you will need to browse in an object from the project. The command usually requires a dataset to do an action on (such as a type of display). # Browse to the coastline folder under *1. Maritime lines*, highlight *The Kingdom of Atlantis* and click *OK*. # Choose the display settings you like (color, glue to surface or not, etc.) and click *OK* again. # Right click the element in the workflow and choose *Execute*. Alternatively, click the *Execute* icon. # Examine how your display looks and edit the command if necessary to achieve the results you want by right clicking on the command and choosing *edit*. # In order to keep your workflow organized it is recommended to change the name of the newly added commands from *Display* to something more descriptive like, *Display Coastline Yellow* which is done by right clicking the command and choosing *Rename*. Note that commands may be copied from *Shared commands*, *Item commands* and *Schema commands* and pasted into the workflow. # Right click the *Map sea* command in the *Toolbox* and select *Copy* !att:_img_icon^copy.png!. (It should be located under *Schema Commands* if you have selected a *Seabed Surface*.) # Click the *Paste* !att:_img_icon^paste.png! button in the workflow. # Again you must edit it and browse your seabed surface into the panel. # Remember to save the workflow by clicking !att:_img_icon^save.png! {panel} {pagebreak} |
Page Comparison
General
Content
Integrations