In gvSIG, this tool is used to quickly display available information when working with a view containing visible vector layers (including WFS layers, which are vector layers).
Quick Info is enabled if vector layers are visible in the current view.
Quick Info is disabled if no vector layers are visible in the current view.
With this tool you can select fields from vector layers visible in the current view. Information from these fields is displayed as you move the mouse cursor over the view. The tool works in combination with any other tools selected for the view.
You can access the Quick Info tool in two ways:
When the tool is selected a progress bar is displayed which shows the layers being loaded:
If there were no problems loading the information the Quick info field selection dialog is shown:
Level of the Layer in the TOC: displays icons and grouping nodes containing the layer. The last icon always represents the vector layer.
Name of the layer.
Type of geometry of the layer: five types of geometry layer are supported: point, line, polygon, multipoint, and multi (the latter may contain any of the above).
The units of length and area are displayed using the measurement units of the View.
After selecting the fields, click Ok to enable the tool in the current view. The Quick info tool works in combination with Quick info tools for other Views. Thus, when enabled, it combines with each active View to display information. The tool settings can be changed for each View and are linked to that View.
As the cursor is moved over the geometry of a layer, the information box showing the information is displayed and/or updated. This box disappears when the cursor no longer "points" to any geometry of the layer.
If there is more than one geometry adjacent to the point indicated by the cursor then information is displayed about all of them, as distinguished by the unique internal identifier of the geometry.
Thus, the information is provided in the following order:
ID: unique identifier of the geometry in the data source layer (optional, only visible if you have information on more than one geometry).
Selected fields: those fields selected to display layer information.
Optional fields: those calculated fields selected from the geometries of the layer.
It should be noted that currently gvSIG adds the area and perimeter of islands to the geometry containing them.
The Advanced Hyperlink tool in this version of gvSIG significantly extends the functionality of the hyperlink tool found in version 1.1.
The tool is accessible either from the Layer menu (Layer > Advanced Hyperlink) or by clicking the icon on the toolbar.
Hyperlinks are configured at the layer level, which means that they can be enabled or disabled per layer. To set the hyperlink for a layer, double-click on the layer name in the TOC to open the Layer Properties and select the Hyperlink tab.
The hyperlink configuration screen looks like this:
Remember that the layer's attribute table must be correctly prepared for the hyperlinks to work. To do this, edit the relevant record and insert the path to the hyperlinked file, leaving out the extension.
After the hyperlinks have been setup and enabled, select the Advanced Hyperlink tool and find the item in the View that corresponds to the record associated with the link. Click on the item and a window will open displaying the linked file.
Actions
The Advanced Hyperlink tool provides the following actions:
NOTE 1: When editing the hyperlink fields in the attribute table, if a path longer than the maximum field length is entered, the path will be truncated (without warning) to the maximum field length. By default, fields are created with a maximum length of 50 characters. Fields should be defined to handle long paths when necessary, otherwise only very short paths can be stored.
For example: if we enter
C:/Documents and Settings/My documents/images/villafafila.jpg
and the maximum field length is 50 characters, the path will be truncated to:
C:/Documents and Settings/My documents/images/vill
which is not what is wanted.
NOTE 2: Please note that if the path you enter contains an image or file extension that is registered in the registry, you should not also enter it when configuring the hyperlink properties as this would be duplicating the information.
SELECT ALL
This tool is enabled when one or more vector layers are active in the TOC. The tool selects all the geometries (features/elements) in the active vector layers.
The tool is accessed via the menu:
The tool is not available if the layer is being edited.
SELECT BY POLYLINE
This tool is enabled when there is at least one active vector layer in the TOC.
This tool selects those geometries of the active layers that intersect the polyline defined by the user.
The tool can be accessed in two ways:
With the tool selected, move the mouse over the View and enter a series of clicks to define the polyline. Double-click to end the polyline.
You can use any mouse button to define the points of the polyline, including the final point.
If another polyline is created while holding down the Ctrl key then the geometries thus selected are added to those already selected. If, while doing this, a previously selected geometry is selected again then it will be deselected.
SELECT BY CIRCLE
This tool is enabled when there are one or more active vector layers in the TOC.
This tool selects geometries (features) of the active layers that intersect the circular area defined by the user.
The tool can be accessed in two ways:
In the View click the mouse at the centre of the circle and then move the mouse outwards to define the size of the circle. Click once to finish drawing the circle.
Another circle can be defined while holding down the Ctrl key to add new geometries to those already selected. Previously selected geometries selected again in this manner will be deselected.
SELECT BY BUFFER ZONE
This tool is enabled if there is at least one active vector layer in the TOC.
"Select by buffer zone" tool enabled if there are active vector layers in the current View and these layers have plane coordinates.
"Select by buffer zone" tool disabled if there are no active vector layers in the current View with plane coordinates.
This tool selects geometries of the active layers that intersect buffer zones around selected geometries.
The tool can be accessed in two ways:
When the tool is selected the following configuration panel is displayed:
The new layers are named as follows:
Example
Let's look at a typical example using the "Select by buffer zone" tool and four layers:
http://www.mma.es/secciones/biodiversidad/banco_datos/info_disponible/zip/zepa41.zip/
http://www.mma.es/secciones/biodiversidad/banco_datos/info_disponible/zip/lic41.zip/
WMS Server: http://www.idee.es/wms/PNOA/PNOA/
Layer: PNOA
Style: Default
Format: image/png with transparency and SRS=23030
Now select the bird special protection area called "Tierra de Campiñas", which belongs to Valladolid, Ávila and Salamanca. Also select the Site of Community Importance called "Montes Torozos y Páramos de Torquemada – Astudillo" in Valladolid.
Finally, we want to find the areas of type "lic" and "zepa" close to (up to 15 km) the selected areas so that, for example, they can be taken into account in a future second phase involving work to protect birds.
The following settings have been applied:
The result is shown in the following screenshot. The buffer zones can be turned off so that the selected areas can be seen.
Click the "Show Details" button below the progress bar to show information on the steps that have been performed, including failures.
Sample output from the above process:
Selection is applied to each active layer that meets the requirements.
If the "Multi-layer selection" option is active, then for each buffer zone selections are applied to those layers that also meet the requirements.
If the projection of the layer is not the same as that of the View, an internal reprojection is performed in order to compute the buffer zones. The projection is later restored.
A shape layer is created (one for each active layer that meets the requirements) for storing the buffer zones. The location of each new layer is shown in the line beginning "Creating temporary file".
If the "Add buffer zone layers" option is selected, then the temporary layers are created and added to the TOC, symbolised with a unique symbol and with transparency.
If an active layer is not projected, then the applied selection is discarded.
If a failure occurs, the user is alerted and the selection process is terminated.
If the process is cancelled, the previous selection state in the affected layers is restored.
"New layer with derived geometries" tool.
This tool allows users to generate geometries derived from points or lines in a vector layer, and to store them as a new shape layer.
Icon | Description |
---|---|
Derived geometries tool enabled if the TOC contains at least one visible point or line vector layer that is not in edit mode. | |
Derived geometries tool disabled if the TOC does not contain any visible point or line vector layers that are not in edit mode. |
The tool can be accessed from:
Via the menu: Layer / Derivative geometries
Layer selection dialog and process
Upon choosing the tool a dialog for selecting layers is displayed:
Source layer geometry type | Type of process | Target layer geometry type |
---|---|---|
Points | Points to line | Lines |
Points | Points to polygon | Polygons |
Lines | Close polylines | Polygons |
Process Control Panel
The control panel is associated with the layer and is shown every time the layer is activated in the TOC, as long as the layer is visible and not in edit mode.
The dialog has a semi-modal behavior in order to allow the user to continue working with gvSIG by using the minimize, maximize, resize and hide buttons (use the X, not the Cancel button, to hide the dialog).
The results of the completed process can be viewed by clicking on the "View Details" button. There are three types of data that are of interest here:
This information is recorded in the gvSIG log.
The control panel is hidden during the process but becomes visible again when the progress dialog is closed.
Control Panel Behaviour
The control panel is linked to the source layer from the time it is created until it is cancelled by clicking the cancel button.
Action | GUI Element | Description |
---|---|---|
Maximize | Resizes the dialog so that it fills all available space. | |
Minimize | Minimizes the control panel to a restore button. | |
Collapse | Control panel is hidden but remains linked to both the source and output layers. Further operations between these layers can be performed once the panel is restored. | |
Resize | The size of the control panel can be increased or reduced by selecting and dragging the edge of the panel. | |
Expand / Collapse splitter interface | These controls are used to display only the table of source layer features, or only the table of selected features and associated management controls, or both halves of the control panel interface. | |
Cancel | Closes the tool so that is no longer available for operations between the source and output layers. |
When the control panel is hidden it can be restored it by clicking on the source layer in the TOC.
If the View is closed when control panels are visible, the panels will be hidden and then restored when the View is reopened.
Geometries derived from points do not retain any attribute values but do maintain the columns. Those derived from lines, keep all attributes.
Removing the new layer associated with control panel will result in the tool being ended and a warning being displayed to the user.
Examples
This example will show how to generate a line layer showing the path followed from home to work, and back again. The example uses the following four shape layers:
Once all four layers have been loaded the "Derived Geometries" tool can be selected and the following values entered:
When "OK" is clicked the new process control panel appears. If a file with the same name as the new output layer already exists then the user is asked whether to continue or not. If yes, then the file will be overwritten.
Minimizing the control panel will reveal the View:
The geometries can be selected from the top table in the control panel.
We select the first seven geometry points (1st route: work to home).
Click "Create" to generate the first path:
Modify the symbology so that the route stands out as a thick line.
To generate the route back, activate the control panel and select the remaining points from the source layer so that the line can be generated:
Finally suppose we are interested in the polygon formed by the closure of the routes.
Cancel the tool and then reopen it but this time use the new layer as the source:
Select all the geometries (the two polylines) and generate the polygons.
Since the layer "Route: Work to Home" does not contain data due to the points to line process, we assign a distinguishing identifier to each by editing the layer.
Now apply some changes to the symbolology:
Wizard to print the active View using a template
Adds the ability to print a View using a wizard, which can change basic parameters (title, page size, etc). This option is accessible through the menu View/Quick Print.
You can set:
The result looks something like this:
You can print directly from the wizard, or first preview the result (as shown in the screenshot) and then print from this preview. It is also possible to modify any element in the preview (the width of the map, layers displayed in the legend, etc.) in the same way as amending any Map document in gvSIG.