In the Database tab, the database can be manage. This is where the overall characteristics of the layers can be set and the table structure can be changed.
Layer properties can be changed by double-clicking on the grid cell you want to change.
- Type: Layer geometry type, which can be (MULTI)POINT, (MULTI)LINESTRING (MULTI)POLYGON or GEOMETRY. The latter means that the layer may have a mixture of several different types. The layer type can not be changed.
- Name: The technical name of the layer. If the layer is imported from a file, the name match the file name.
- Title: A title for the layer. If a title is applied, this will appear in layer trees, legends, WMS / WFS titles etc.
- Description: A descriptive text for the layer. Applied to WMS / WFS abstracts.
- Group: Groups are used to divide layer trees in the Map tab and in the Viewer. This combo box: Either enter the name of a new group or select an already existing one.
- Sort id: Location of the layer in layer hierarchy. Sets whether a layer is on top of or underneath another layer when they appear together in the Map tab or Viewer.
- Authentication: What level of authentication is required for the individual layers in WMS and WFS services? Write = authentication only when writing, Read/Write = authentication when reading and writing, None = no authentication on the layer.
- Editable: If turned off, the layer can not be edited in the Map tab or through WFS-T.
- Tile cache: Manually bust the layer's tile cache. This is usually not necessary to do since GC2 do it automatically when needed.
When a layer in the layer grid is selected, the structure of the table is shown below. Here you can set properties on columns. Properties can be changed by double-clicking on the cell yo want to change. Columns can also be added and deleted.
- Sort ID: In which order columns appear in click-info queries in the Viewer. Columns with lower Sort ID appear topmost.
- Column: Name of the column. The name can be changed, but consider the use of Alias(4) instead.
- Type: Show the data type the column has. Can not be changed.
- ALLOW NULL:
- Alias: An alias for the column. Displayed when click-info queries is made in the Viewer.
- Queryable: Should the column appear in click-info queries in the Viewer? The starting point is that all columns appear. When changes are made to these properties, only those that are checked off are displayed.
- SHOW IN MOUSE OVER:
- ENABLE FILTERING
- Make Link: If the content of the column are links, they can be made active in the Viewer.
- Link prefix: If links eg. is missing "http: //" it can be added here.
- Properties: May contain any information to be used in custom applications.
- Add new column: Add a new column to the layer table.
- Delete column. Delete the selected column.
Move layers between schemas
- Select one or more layers in the layer grid (hold Shift or Ctrl to select multiple) and click "Move Layers".
- Select a schema to move them to.
- Choose a single layer and click "Rename layer".
- Write a new name for the layer.
Create new schema
- Type in new schema name.
- Click the plus button
- Change to the new schema with the drop-down box