Introduction
A schema is a type or domain specification for folders and data sets 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 data sets 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.
Notice that the data set 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.
In this section:
Set/change schema
You can set/change the schema of any data set in the project by right clicking on the dataset and selecting Set Schema in the pop-up menu.
Changing schema on a grid
Edit schema
To edit a schema go to Edit > Schemas on the main toolbar in Geocap.
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:
- - Add new command
- - Remove command
- - Rename command
- - Edit default values for a command
- - 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 data sets with that specific schema.
Create new schema
If you are working with special data sets that does not fit with any of the default schemas in Geocap, you can create your own schema by clicking the 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.