Personal tools
You are here: Home gvSIG Projects gvSIG Desktop Documentation User documentation gvSIG-Desktop 1.11. User manual (online)
gvSIG Desktop
gvSIG Desktop

Cached time 11/22/13 03:22:59 Clear cache and reload

 
Document Actions

gvSIG-Desktop 1.11. User manual

by Mario Carrera last modified 2013-07-30 16:04


Merge
Introduction

This geoprocess acts on one or several layers, generating a new layer which joins all the geometries in the “input layer”. The "result layer" of this geoprocess will keep the attributes of the "input layer" specified by the user. For the rest of the layers which have not been selected, the attributes whose name and type of data coincide with any of the attributes in the selected layer will be kept.

juntar-en.img/juntarNuevoAcceso_en.png

Example:

When a cartographic series arrives which is separated into sheets and you wish to join the content of the different sheets in one layer. This is the case of the Magna series of sheets, published by the Spanish Technological and Geomining Institute (ITGME).


Running the 'Merge' geoprocess

If you select the “Merge” geoprocess, the following dialogue appears:

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

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

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

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

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

The result will be a new layer with all the input layer geometries.


Get freemind document

View source document Get permanent link


Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: