Skip to content

Commit

Permalink
inserted news about comments in expression string builder, joins menu…
Browse files Browse the repository at this point in the history
… etc.
  • Loading branch information
junek committed Feb 16, 2015
1 parent f00591c commit 7447cc0
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 4 deletions.
Expand Up @@ -559,7 +559,7 @@ Simplify Feature
The |mActionSimplify| :sup:`Simplify Feature` tool allows you to reduce the
number of vertices of a feature, as long as the geometry doesn't change. With the
tool you can also simplify multi-part features.
First, select a feature. The vertices will be highlighted in red while the color of the
First, drag a rectangle over the feature. The vertices will be highlighted in red while the color of the
feature will change and a dialog where you can define a tolerance in map units or pixels
will appear. |qg| calculates the amount of vertices that can be deleted while maintaining the
geometry using the given tolerance. The higher the tolerance is the more vertices can be deleted. After
Expand Down
35 changes: 32 additions & 3 deletions source/docs/user_manual/working_with_vector/vector_properties.rst
Expand Up @@ -71,7 +71,7 @@ will get lost.

If the datasource of the layer is a database (PostGIS or Spatialite for example),
you can save your layer style inside a table of the database. Just click on
:guilabel:` Save Style` comboxbox and choose **Save in database** item then fill in
:guilabel:`Save Style` comboxbox and choose **Save in database** item then fill in
the dialog to define a style name, add a description, an ui file and if the style
is a default style. When loading a layer from the database, if a style already
exists for this layer, |qg| will load the layer and its style. You can add
Expand Down Expand Up @@ -127,6 +127,33 @@ and :guilabel:`Rotation`. Here, the layers are joined together.

Single symbol line properties |nix|

If you click on the second level in the :guilabel:`Symbol layers` dialog a 'Data-defined override'
is possible. When using a data-defined color one may want to link the color to a
field 'budged'. Here a comment functionality is inserted.
::

/* This expression will return a color code depending on the field value.
* Negative value: red
* 0 value: yellow
* Positive value: green
*/
CASE
WHEN value < 0 THEN '#DC143C' -- Negative value: red
WHEN value = 0 THEN '#CCCC00' -- Value 0: yellow
ELSE '#228B22' -- Positive value: green
END

.. _figure_symbology_2:

.. only:: html

**Figure Symbology 2:**

.. figure:: /static/user_manual/working_with_vector/symbol_data_defined_edit.png
:align: center

Data-defined symbol with Edit... menu

.. index:: Categorized_Renderer, Renderer_Categorized

**Categorized Renderer**
Expand Down Expand Up @@ -161,11 +188,11 @@ be rendered.
The example in figure_symbology_2_ shows the category rendering dialog used
for the rivers layer of the |qg| sample dataset.

.. _figure_symbology_2:
.. _figure_symbology_3:

.. only:: html

**Figure Symbology 2:**
**Figure Symbology 3:**

.. figure:: /static/user_manual/working_with_vector/categorysymbol_ng_line.png
:align: center
Expand Down Expand Up @@ -1252,6 +1279,8 @@ Additionally, the add vector join dialog allows you to:

* |checkbox| :guilabel:`Cache join layer in virtual memory`
* |checkbox| :guilabel:`Create attribute index on the join field`
* |checkbox| :guilabel:`Choose which fields are joined`
* Create a |checkbox| :guilabel:`Custom field name prefix`

.. _`sec_diagram`:

Expand Down

0 comments on commit 7447cc0

Please sign in to comment.