Agregar información geográfica a la capa

Agregar información geométrica a la capa

In gvSIG, the Add geometric info tool is available when there are visible vector layers in the active View.

Icons
Icon Description
habilit Add geometric info tool enabled if there are visible vector layers in the current view.
deshabilit Add geometric info tool disabled if there are no visible vector layers in the current view.

With this tool you can select which geometric properties to calculate for a visible vector layer in the current view, and then save these properties in the layer itself. The information can be saved in either new or existing fields in the layer's attribute table.

Once the above condition is met (i.e. a visible vector layer in the active View), the tool is available:

Via the menu: Layer → Add geometric info

agregar-informacion-geografica-a-la-capa_en.img/IGRutaMenu_en.png

Selecting the Add geometric info tool from the menu

Selecting the tool displays a dialog where the attributes to be added can be selected:

agregar-informacion-geografica-a-la-capa_en.img/IGAgregarInformacion_en.png

Add geometric information

1. Drop-down list for selecting vector layers. Lists the layers in the order that they appear in the TOC of the active view. The following information is shown:

2. Layer information writable. Indicates whether changes can be saved to the selected layer:

Icons
Icon Mode
iconosi Yes, changes can be saved. In this case the attributes to be added can be selected.
iconono No, changes can't be saved. The tool will not list any attributes.

3. List of geometric attributes. List of attributes of the geometry of the layer. These depend on the type of layer:

The geometric attribute will be associated with one type of geometry, which is identified by the icon on the left:

Icons
Icon Geometry type
punto The attribute is characteristic of point geometries.
multipunto The attribute is characteristic of multipoint geometries.
linea The attribute is characteristic of line geometries.
poligono The attribute is characteristic of polygon geometries.

4. Selection buttons. Allow attributes to be added to, or removed from, the list of geometry attributes to be calculated and saved for the vector layer.

Icons
Icon Option
deldel Add all the geometric attributes to the list.
del Add the selected geometric attributes to the list.
tras Remove the selected geometric attributes from the list.
trastras Remove all the geometric attributes from the list.

5. List of added geometric attributes. List of layer geometry attributes to be calculated and added.

Clicking on any of the attributes in this list enables the controls that allow the field to be renamed.

6. New field. This checkbox indicates whether the attribute is added as a new field, or as an update to an existing field in the vector layer.

info By default, every attribute is added as a new field.

7. Field name. New fields can have any name. Otherwise, select a field to update.

advert The length of the field names is limited.

advert1 It is possible that the layer's alphanumeric encoding does not support some characters of the current language.

8. Save field settings. If the checkbox field is changed, or if another field name is specified, the changes can be saved by pressing this button.

agregar-informacion-geografica-a-la-capa_en.img/IGAgregarInformacion2_en.png

Add geometric information

9. Reset. Resets the dialog by reloading the current View's visible vector layers, and by removing any selected attributes and their settings.

Once all the attributes have been selected, click the Ok button to start the process and display a progress bar.

Clicking the Cancel button, on the other hand, will terminate the tool.

agregar-informacion-geografica-a-la-capa_en.img/IGProcesoDeAgregacion_en.png

Progress of the Add geometric information process

  1. Progress bar: percentage of process completed.
  2. Show/Hide Details: show or hide the steps that have been completed.
  3. Cancel: Stops the process.

In the event of a serious problem, the process is terminated and an error message is displayed:

agregar-informacion-geografica-a-la-capa_en.img/ErrorProceso_en.png

Error message

If the process completes successfully, the Accept button is enabled and the tool can be closed.

It is possible to view the steps that were performed by clicking the Show Details button in the dialog:

agregar-informacion-geografica-a-la-capa_en.img/Proceso_en.png

List of steps performed in adding geometric information

advert2 Do not use the gvSIG interface while the process is in progress as this can produce inconsistent data states, and even errors.

advert3 It should be noted that gvSIG currently adds the areas and perimeters of islands to that of the surrounding geometry.

EXAMPLE

Following the steps described in paragraph 5:

agregar-informacion-geografica-a-la-capa_en.img/IGImagenTabla_en.png

Example showing the calculated geometric information


Cached time 11/22/13 04:51:41 Clear cache and reload