gvSIG-Desktop 1.10. User Manual
From version 0.4 onwards, gvSIG allows several layers to be grouped together. This is useful because it means a large number of layers can be kept in the ToC without taking up a lot of space. This option also allows operations to be carried out on all the layers that make up a group at the same time. To group a set of layers together, select the layers, click and hold down the CAPS key and right click on the mouse on any of the layers and select the “Group layers” option.
![la-tabla-de-contenidos-t-o-c-de-gvsig/la-tabla-de-contenidos-t-o-c-de-gvsig-en.img/AgruparCapas_es.png](../../../../../../docusr/acceso-editores/funcionalidades/vistas/la-tabla-de-contenidos-t-o-c-de-gvsig/la-tabla-de-contenidos-t-o-c-de-gvsig/la-tabla-de-contenidos-t-o-c-de-gvsig-en.img/AgruparCapas_es.png)
The following dialogue window appears and a name for the new grouping can be input.
![la-tabla-de-contenidos-t-o-c-de-gvsig/la-tabla-de-contenidos-t-o-c-de-gvsig-en.img/GuardarAgrupacion_24_en.png](../../../../../../docusr/acceso-editores/funcionalidades/vistas/la-tabla-de-contenidos-t-o-c-de-gvsig/la-tabla-de-contenidos-t-o-c-de-gvsig/la-tabla-de-contenidos-t-o-c-de-gvsig-en.img/GuardarAgrupacion_24_en.png)
When the name of the new grouping has been input, it appears in the ToC as shown below.
![la-tabla-de-contenidos-t-o-c-de-gvsig/la-tabla-de-contenidos-t-o-c-de-gvsig-en.img/DesagruparCapas_24_es.png](../../../../../../docusr/acceso-editores/funcionalidades/vistas/la-tabla-de-contenidos-t-o-c-de-gvsig/la-tabla-de-contenidos-t-o-c-de-gvsig/la-tabla-de-contenidos-t-o-c-de-gvsig-en.img/DesagruparCapas_24_es.png)
To undo a grouping, right click on the grouping so that the contextual menu appears. Select the "Ungroup layers" option.