Adding an Event layer
Introduction

A new layer can be created from a table in gvSIG by using “Add event layer”.

There are two ways to do this: you can add a table to the project or you can work with a table associated with one of the layers in the view in which you are working at a particular time.


Adding an event layer from a table

Firstly, the table needs to be loaded. To do so, go to the gvSIG “Project manager” and select "Tables" in document types. Then click on "New".

anadir-capa-de-eventos/anadir-capa-de-eventos-en.img/gestorDeProyectosTablas_en.png

A search dialogue opens to add the table you require. Click on "Add".

anadir-capa-de-eventos/anadir-capa-de-eventos-en.img/anyadirNuevaTabla_en.png

A dialogue box appears in which you can choose two types of data sources: dbf and csv.

anadir-capa-de-eventos/anadir-capa-de-eventos-en.img/abrirTabla_en.png

When you have found the table you require, select it and click on “Open”.

gvSIG automatically returns to the "New table" window and adds the table you require to create the event layer in the text box.

anadir-capa-de-eventos/anadir-capa-de-eventos-en.img/nuevaTablaAnyadida_en.png

Click on “Ok” to finish the process.

anadir-capa-de-eventos/anadir-capa-de-eventos-en.img/tablaCargada_en.png

When the table has been added, a view must be active to create its corresponding event layer and load it. If no view is active, you can return to the “Project manager” and add one or create a new blank one. When you have activated this view, go to the “Add event layer” by using the corresponding button in the tool bar:

anadir-capa-de-eventos/anadir-capa-de-eventos.img/botonAnyadirCapaEventos_es.png

A window with three pull-down menu bars appears.

We can select the table we need to add the new layer from the first pull-down menu bar.

Then, we can select the table fields which will become the X and Y values.

anadir-capa-de-eventos/anadir-capa-de-eventos-en.img/anyadirXYdeCapaDeEventos_en.png

If you click on “Ok”, a new points layer will appear based on the coordinates contained in the initial table.

anadir-capa-de-eventos/anadir-capa-de-eventos-en.img/capaEventosEnLaVista_en.png

Adding an event layer from a table associated with a layer in the view

If you wish to work with a table associated to the layers in the view, you will firstly have to activate the attribute table of this layer. To do so, click on the following button in the tool bar:

anadir-capa-de-eventos/anadir-capa-de-eventos-en.img/botonTablaAtributos_es.png

If you click on “Add event layer”

anadir-capa-de-eventos/anadir-capa-de-eventos-en.img/botonAnyadirCapaEventos_es.png

you will see that the table has been added.


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