Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{section}
{column:width=70%}

h2. Introduction

A workflow in Geocap is a way of combining datasets and actions or visualizations in sequence to produce visualizations, movements and powerpoint style 3D presentations. The Atlantis Project is used throughout this tutorial.

{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_Mini project.

# In Geocap, click *File > Open > File*, and browse to the Atlantis_Mini folder, then open the the sub-folder called *Workflows*.
# Double click on the file called *sample_workflow.gwf* to open it, or single click to highlight it and then click, *Open*. This will open the workflow below the project.
# 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 *Display Grid* 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_Mini project are displayed.
{panel}

{tip}
Note that the user may also execute each element one at a time by right clicking on the command and choosing *Execute*.
{tip}


{panel:title=Exercise|borderStyle=dashed|borderColor=#404040|borderWidth=1|bgColor=#F0F0F0}
h4. Create a new workflow
Workflows are saved as single files on disk with file extension **.gwf*, (Geocap Workflow). A good idea may be to create a folder in your project called *Workflows* and put the workflow there.

# Click *File > New > Workflow*. Then a browser pops up.
# 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*. 
# In a workflow, you will need to select a dataset from the project. The command usually requires a dataset to do an action on (such as a type of display).
# In your project, select a line and click the green arrow in the Display edit menu.
# 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*.
# Continue to add different commands to your workflow
# Remember to save the workflow by clicking !att:_img_icon^save.png!
{panel}
{tip}
Commands may also be copied from *Shared commands*, *Item commands* and *Schema commands* and pasted into the workflow.
{tip}
{pagebreak}