...
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. In this section we will have a look at one of the workflows provided with the Atlantis project and then we will create a workflow our self. It is up to you if you want to create a workflow from the Atlantis project or from the new project you built.
Exercises
Tip |
---|
Note that the user may also execute each element one at a time by right clicking on the command and choosing Execute, see the image below. |
Workflows are saved as single files on disk with file extension *.gwf, (Geocap Work Flow). It is a good idea to store them in a folder called workflows next to the db folder on disk. In the next exercises we will create a new empty workflow.
Panel |
---|
borderColor | #404040 |
---|
bgColor | #F0F0F0 |
---|
borderWidth | 1 |
---|
borderStyle | dashed |
---|
title | Exercise |
---|
|
Create a new workflow- Go to File > New > Workflow.
- Browse for workflow folder or create a new one.
- Give your workflow a name and click Save.
- The new empty workflow window will pop up below the project
|
We are now going to add different commands to our workflow. There are a number of ways to do this. You can turn on the recorder and start executing commands and they will end up in the workflow or you can copy commands from the Toolbox and paste them into the workflow. You can also add elements from the workflow toolbar.
Panel |
---|
borderColor | #404040 |
---|
bgColor | #F0F0F0 |
---|
borderWidth | 1 |
---|
borderStyle | dashed |
---|
title | Exercise |
---|
|
Build the workflow- Select a dataset in your project that you want to display.
- In the Toolbox right click the display command you want to use in your workflow and select Image AddedCopy
- Click the Image Added button in the workflow. The command will now be opened in edit mode.
- Check the settings and click OK
- Continue to add elements to your workflow by selecting a dataset and copying a command into the workflow.
|
Panel |
---|
borderColor | #404040 |
---|
bgColor | #F0F0F0 |
---|
borderWidth | 1 |
---|
borderStyle | dashed |
---|
title | Exercise |
---|
|
Execute the workflow- Click the Image Added icon.
- Click the Image Addedicon to execute next element or the Image Added icon to execute all elements in the workflow.
|
A flight tour collects a series of camera positions and moves the camera smoothly through these positions. In order to create a camera position all you need to do is right click a folder and select New > Camera Position.
Panel |
---|
borderColor | #404040 |
---|
bgColor | #F0F0F0 |
---|
borderWidth | 1 |
---|
borderStyle | dashed |
---|
title | Exercise |
---|
|
Create a flight tour- In your project, create a new generic folder called Cameras
- Zoom to an area you want to save as a camera position.
- Right click the folder Cameras and select New > Camera Position
- Repeat the last two steps to create more camera positions.
- Select the Cameras folder in your project.
- In the Toolbox go to Shared Commands > Visualization,right click Flight Tour and select Copy.
- Paste the command into your workflow. The command will open and it should have selected the Cameras folder as input.
- Set the flight time between every camera position to 5 seconds and make sure Collect cameras in folder to smooth flight tour and Single flight tour is checked
- Click OK
- Select the Flight Tour command in the workflow and click theImage Addedicon to run the flight tour.
Tip |
---|
To update a camera position, set the view in the graphics window, right click the camera position and select Assign View. |
|
Info |
---|
It is possible to group elements in a folder. Add folders by clicking New workflow element on the workflow toolbar and selecting Group under General . |