Introduction
Exercises
Exercise
Examine the workflows provided in the Atlantis project.
- In Geocap, click File -> open, and browse to the Atlantis folder, then open the the sub-folder called workflows.
- Double click on the file called Atlantis Basic Workflow.gwf to open it, or single click to highlight it and then click, open.
FIGUR!!
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 icon and then click on the Execute next element icon. (This will initialize the basic display settings and nothing will appear in the display window yet)
- Click on the Execute next element 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 icon until you reach the end of the workflow and observe how different elements of the Atlantis project are displayed.
Note that the user may also execute each element one at a time by right clicking on the command and choosing Execute.
FIGUR!!
Executing individual commands one by one
- Following the steps above, open and examine the other workflows in the workflows folder.
Exercise
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 (pencil) found in the Commands folder.
- Right-click and edit the pencil. Then this panel pops up:
FIGUR!!
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, stick 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. - Go to a seabed surface grid and right-click, select Edit Schema Commands. Then select Map sea and select the Copy-button on top.
- Leave that panel and go to the workflow panel. Press the paste-button
- Again you must edit it and browse your seabed surface into the panel.
- Remember to save the workflow by clicking :