Available commands and actions¶
This document contains a listing of available actions in the GeoServer Explorer.
You can select multiple elements of the same type (i.e. multiple layers), to automate operations. For instance, you can create a new group with a set of selected layers. Just select a set of layers, right–click on them and select Create group.... A new group will be created with those layers, using the default style of each of them. For a more fine-grained definition of the group, remember that you can use the Create new group... option in the Groups item
Double-clicking on tree items¶
Certain items respond to double-clicking. If the corresponding element can be edited, the edition can be started by double-clicking on it instead of using the corresponding context menu entry. For instance, double-clicking on a group item will open the dialog to define the layers that are included in that group.
Drag & drop operations¶
The Explorer tree supports drag & drop, and you can use it to relocate elements, add a style to a layer or edit the configuration of an element, among other tasks
Below you can find more information about the operations that can be performed this way.
- Dragging a GeoServer layer item onto a GeoServer group element. It adds the layer to the group, using its default style.
- Dragging a GeoServer or style item onto a GeoServer layer. It adds the style to the list of alternative styles of the layer.
- Dragging a GeoServer layer item onto the GeoWebCache layers item of the same catalog. It will add the corresponding cached layer for the dragged layer.
Multiple elements can be selected and dragged, as long as they are of the same type.
You can also drag elements from outside of the GeoServer Explorer itself. For instance, you can open the QGIS browser, select some files with raster or vector data and drag and drop them into a GeoServer catalog element in the GeoServer Explorer. That will cause the data in those files to be imported into the corresponding database or catalog. Format conversion will be performed automatically if needed.
If the dragged files are not opened in the current QGIS project, no style will be uploaded along with them when publishing to a GeoServer catalog.
To upload a layer and its style, you can drag and drop an element in the QGIS Layers panel.
Also, elements from the explorer can be dropped onto the QGIS canvas. GeoServer layers can be dropped onto the QGIS canvas to add them to the project. The corresponding WFS/WCS layer will be created as in the case of using the Add to QGIS project menu option, already described. If a group element is dragged from the Explorer and into the canvas, a WMS layer corresponding to that layer group will be added to the tproject.
Table Of Contents
Boundless provides commercial open source software for internet mapping and geospatial application development. We are dedicated to the growth and support of open source software.
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License. Feel free to use this material, but we ask that you please retain the Boundless branding, logos and style.