gvSIG-Desktop 1.12. Manual de usuario
If you select the “Merge” geoprocess, the following dialogue appears:
![juntar-en.img/introduccionDatosJuntarNuevo_en.png](../../../../../../docusr/acceso-editores/funcionalidades/herramientas-de-geoprocesamiento/Juntar/juntar-en.img/introduccionDatosJuntarNuevo_en.png)
The geoprocess allows any of the layers loaded in the layer tree in the gvSIG active view as an input layer. To run the process, first select the layers you wish to merge in the "Input layers" text box. Then, click on the "Select” button. A new window will open in which you can give the new layer file a name or choose a target file.
![juntar-en.img/guardarJuntar_en.png](../../../../../../docusr/acceso-editores/funcionalidades/herramientas-de-geoprocesamiento/Juntar/juntar-en.img/guardarJuntar_en.png)
Click on the "Save" button when you have finished and gvSIG will return you to the geoprocess window. Click on the "Ok" button. This will start the geoprocess.
![juntar-en.img/geoprocesandoJuntar_en.png](../../../../../../docusr/acceso-editores/funcionalidades/herramientas-de-geoprocesamiento/Juntar/juntar-en.img/geoprocesandoJuntar_en.png)
A new layer will be created at the end of the process which will be added to the view.
![juntar-en.img/juntarfinal_en.png](../../../../../../docusr/acceso-editores/funcionalidades/herramientas-de-geoprocesamiento/Juntar/juntar-en.img/juntarfinal_en.png)
However, in the example of the sheets in a cartographic series, it would be awkward to load all the pages in the series one by one. Thus, there is an extra option to select a directory and to add all the layer files (with extensions supported by gvSIG) contained in this directory to the geoprocess input layer list. The only layer files currently supported are shp format files. If you click on the “Folder with files...” button and select a directory, a list of the layer files contained in it are shown and can be selected as part of the geoprocess input layers.
![juntar-en.img/carpetaCApas_en.png](../../../../../../docusr/acceso-editores/funcionalidades/herramientas-de-geoprocesamiento/Juntar/juntar-en.img/carpetaCApas_en.png)
Until you select at least one layer to merge with one of the two possible lists (the layer list in the gvSIG layer tree and the layer list contained in the specified directory), no layer will be shown in the pull-down list. This list allows you to select which layer is going to define the attributes of the result layer’s attributes. When you select the layers to merge in one of the two lists, the layer whose attributes we wish the result layer to have and when you have specified the file you wish to save the result layer in, you can run the geoprocess. An initial requirement is that all the geoprocess input layers have the same type of geometries.
![juntar-en.img/juntarCapasCarpeta_en.png](../../../../../../docusr/acceso-editores/funcionalidades/herramientas-de-geoprocesamiento/Juntar/juntar-en.img/juntarCapasCarpeta_en.png)
The result will be a new layer with all the input layer geometries.