Właściwości warstwy wektorowej

Okno dialogowe pozwala na pracę z ustawieniami i właściwościami warstwy wektorowej. Dostępnych jest pięć zakładek:

Symbology
Labels
Attributes
General
Metadata
Actions
Diagram Overlay

Symbolika

Aby zmienić styl wyświetlania warstwy, kliknij na nazwie warstwy w legendzie dwa razy. Pojawi się okno dialogowe .

Za pomocą tego dialogu możesz nadawać style warstwie wektorowej. W zależności od wybranej opcji wizualizacji, możesz również dokonać klasyfikacji obiektów na warstwie.

Typ legendy
QGIS obsługuje wiele sposobów wizualizacji danych. Obecnie dostępne są następujące:
Nowa symbolizacja
Click button to use new symbology implementation for the layer.
Vector transparency
QGIS allows to set a transparency for every vector layer. This can be done with the slider . This is very useful for overlaying several vector layers.
Saving styles
Once you have styled your layer you also could save your layer-style to a separate file (with *.qml ending). To do this, use the button . No need to say that loads your saved layer-style-file.
If you wish to always use a particular style whenever the layer is loaded, use the button to make your style the default. Also, if you make changes to the style that you are not happy with, use the button to revert to your default style.

Labels

The Labels tab allows you to enable labeling features and control a number of options related to fonts, placement, style, alignment and buffering.
Check the checkbox to enable labeling.
Basic Label options
Choose the field to label with.

Select the use the and buttons to set the font and color. You can also change the angle and the placement of the text-label.

If have labels extending over several lines, check . QGIS will check for a true line return in your label field and insert the line breaks accordingly. A true line return is a single character \n, (not two separate characters, like a backlash \ followed by the character n).

Placement
Change the label placement by selecting one of the radio buttons in the group.
Font size units
The allows you to select between or .
Buffer labels
To buffer the labels means putting a backdrop around them to make them stand out better. To buffer the lakes labels:
  1. Click the checkbox to enable buffering.
  2. Choose a size for the buffer using the spin box.
  3. Choose a color by clicking on and choosing your favorite from the color selector. You can also set some transparency for the buffer if you prefer.
  4. Click to see if you like the changes.
Notice you can also specify the buffer size in map units if that works out better for you.
Data defined placement, properties, buffer, position
The remaining entries inside the tab allow you control the appearance of the labels using attributes stored in the layer. The entries beginning with allow you to set all the parameters for the labels using fields in the layer.

Attributes

Within the tab the attributes of the selected dataset can be manipulated. The buttons and can be used, when the dataset is in editing mode. The OGR library supports to add new columns, but not to remove them, if you have a GDAL version >= 1.6 installed. Otherwise only columns from PostGIS layers can be edited.

The button toggles this mode.

Within the Attributes tab you also find an edit widget column. This column can be used to define values or a range of values that are allowed to be added to the specific attribute table column. If you click on the button, a dialog opens, where you can define different widgets. These widgets are:

General

The General tab allows you to change the display name, set scale dependent rendering options, create a spatial index of the vector file (only for OGR supported formats and PostGIS) and view or change the projection of the specific vetor layer.

If your vector layer has been loaded from a PostgreSQL / PostGIS datastore, you can also alter the underlying SQL for the layer - either by hand editing the SQL on this tab or by invoking the .

Subset
The button allows you to create a subset of the features in the layer.

Metadata

The tab contains information about the layer, including specifics about the type and location, number of features, feature type, and the editing capabilities. The Layer Spatial Reference System section, providing projection information, is displayed on this tab. This is a quick way to get information about the layer.

Actions

QGIS provides the ability to perform an action based on the attributes of a feature. This can be used to perform any number of actions, for example, running a program with arguments built from theattributes of a feature or passing parameters to a web reporting tool.
Actions are useful when you frequently want to run an external application or view a web page based on one or more values in your vector layer. An example is performing a search based on an attribute value.

See the User Guide for further information.

Using Actions
Actions can be invoked from either the dialog or an dialog.

Diagram Overlay

The Diagram tab allows you to add a grahic overlay to a vector layer. To activate this feature, open the and select the plugin. After this, there is a new tab in the vector dialog where the settings for diagrams may be entered.

The current implementation of diagrams provides support for pie- and barcharts and for linear scaling of the diagram size according to a classification attribute.

Ogólne

Metadane

Etykiety

Akcje