Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
{section} {column:width=70%} h2. Introduction A *schema* is a type or domain specification for folders and datasets that will filter menus and commands of the same type. Thus only relevant menus will be visible for a specific schema. One can assign schemas to the objects in the project manager in order to add domain specific behavior. A schema contains: * An icon that reflects the domain, such as a multibeam survey or seismic cube. * A set of command objects specifically designed to operate on the domain-spesific datatype By default datasets are organized into data types, such as points and lines (polydata), grids (structured points) etc. Read more about [ug: Geocap Data Types]. These are basic geometric types that contain little information about the domain in which they operate. E.g. coast lines, bathymetric profiles and boundary polygons are all lines (polydata), but the way we work with these types of data are very different and so it is only natural to classify them into different categories. This higher level of classification is made possible by schemas.  !att:_img_gen^schemas_different.png|border=1,width=350! _Notice that the dataset types are the same, while the schemas are different_ Geocap comes with a list of predefined schemas where each schema will have a set of commands that can be performed on datasets with that specific schema. The full list of schemas can be found under *Edit > Schemas*. All schemas are customizable and you can of course create your own schemas. {column} {column:width=30%} \\ \\ *In this section:* {toc} {column} {section} h2. Set/change schema You can set/change the schema of any dataset in the project by right clicking on the dataset and selecting *Set Schema* in the pop-up menu. !att:_img_gen^schema_change.png|width=300! _Changing schema on a grid_ h2. Edit schema To edit a schema go to *Edit > Schemas* on the main toolbar in Geocap. !att:_img_gen^schemas_edit.png|height=500! _Dialog for editing schemas_ All available schemas can be found in the list to the left. By clicking on a schema its associated commands will appear in the lower right of the menu. The commands list enables you to: * !att:_img_icon^page_new.png! \- Add new command * !att:_img_icon^cross.png! \- Remove command * !att:_img_icon^command_rename.png! \- Rename command * !att:_img_icon^application_form.png! \- Edit default values for a command * !att:_img_icon^tick.png! \- Set default execution command * Cut/Copy/Paste commands The default command will be executed when you check an item in the project manager, unless the selected project object has been assigned an [item command|ug:Commands]. Any changes will reflect on all datasets with that specific schema. h2. Create new schema If you are working with special datasets that does not fit with any of the default schemas in Geocap, you can create your own schema by clicking the !att:_img_icon^page_new.png! icon at the top left of the toolbar in the schema editor. This will create a new clean schema to the right in the menu where you can type in schema name, add schema icon, associate with data types and add commands. {pagebreak}
Wiki Markup
Section
Column
width70%

Introduction

A schema is a type or domain specification for folders and datasets that will filter menus and commands of the same type. Thus only relevant menus will be visible for a specific schema.

One can assign schemas to the objects in the project manager in order to add domain specific behavior. A schema contains:

  • An icon that reflects the domain, such as a multibeam survey or seismic cube.
  • A set of command objects specifically designed to operate on the domain-spesific datatype

By default datasets are organized into data types, such as points and lines (polydata), grids (structured points) etc. Read more about Geocap Data Types. These are basic geometric types that contain little information about the domain in which they operate. E.g. coast lines, bathymetric profiles and boundary polygons are all lines (polydata), but the way we work with these types of data are very different and so it is only natural to classify them into different categories. This higher level of classification is made possible by schemas. 

Image Added
Notice that the dataset types are the same, while the schemas are different

Geocap comes with a list of predefined schemas where each schema will have a set of commands that can be performed on datasets with that specific schema. The full list of schemas can be found under Edit > Schemas.

All schemas are customizable and you can of course create your own schemas.

Column
width30%



In this section:

Table of Contents

Set/change schema

You can set/change the schema of any dataset in the project by right clicking on the dataset and selecting Set Schema in the pop-up menu.

Image Added
Changing schema on a grid

Edit schema

To edit a schema go to Edit > Schemas on the main toolbar in Geocap.

Image Added
Dialog for editing schemas

All available schemas can be found in the list to the left. By clicking on a schema its associated commands will appear in the lower right of the menu.
The commands list enables you to:

  • Image Added - Add new command
  • Image Added - Remove command
  • Image Added - Rename command
  • Image Added - Edit default values for a command
  • Image Added - Set default execution command
  • Cut/Copy/Paste commands

The default command will be executed when you check an item in the project manager, unless the selected project object has been assigned an item command.

Any changes will reflect on all datasets with that specific schema.

Create new schema

If you are working with special datasets that does not fit with any of the default schemas in Geocap, you can create your own schema by clicking the Image Added icon at the top left of the toolbar in the schema editor. This will create a new clean schema to the right in the menu where you can type in schema name, add schema icon, associate with data types and add commands.