If you import or
svg symbols to use them in QGis you
that the color options as well as the outline of
these symbols are disabled
QGis. In fact , these settings
the svg file and , if you want
make them available , you are forced
many symbols as colors desired .
Here is a little tip that will
you time by creating only one symbol
and activating the color controls and contour in QGis for this symbole.
Let’s take the following symbol as an example
The color and border change block is
. The color of the arrows is
black because such is the definition
the svg file .
We will edit simply
the svg file to change this state of affairs.
The change is very simple , you can
use any text editor.
Open the file :
After the header lines, you find
the tag <path
the beginning of the definition of the symbol d
Between the two, you can find
settings such as style = “fill : #
000000″ or others
The trick is to replace all that is
between <path and the text = following
fill = “ param
(fill) #FFF” stroke = “ param (outline)
# 000″ stroke-width = “ param (outline-width)
As we see in the following
new file for your style layer , you will
see that the options that were inactive are
white by default with black outlines but you can
modify them, as well as the thicknesses :