3

I am trying to create symbol in QGIS using svg. When I place the point in QGIS it symbology remains same.

  1. Is there any possibility to stretch the symbol in QGIS?

  2. Can we make stretchable point symbols in QGIS?

  • 2
    Can you clarify by what you mean by stretching please? Or do you mean increasing the size? – Joseph Oct 10 '16 at 9:48
  • No, stretch means, that we done in ms office to modify the image or word art to increase or decrease size in different directions – Sachin Oct 12 '16 at 13:26
4

You could define the size in map units (often meters) rather than mm or pixels. The size of the symbology on your screen will then vary according to the level of zoom.

You might want to use a size depending on a field in your layer: in this case just select the icon next to the size of the symbology and select the field you want to use.

You might want to use an expression (icon next to the size of the symbology and select expression), which could be based on anything, including the scale of your zoom, using @map_scale for example.

You could use a rule-based symbology and define a different size of symbology for different scales: right click on the symbology (once rule-based selected) => Refine current rule => Add scale to rules.

If you want to stretch a point, you should use an ellipse with a width dependent on scale but not the height.

The only way I have found to stretch a svg would be to use draw effect (at the bottom of the style window) => Transform (as effet type) => and scale. However, it seems it is not possible to make those transformations field or expression dependent.

In rule-based it seems to be possible to add draw effects per symbology (e.g. per scale) and you could therefore define different stretches for different scales for the same symbol. However, it does not seem to work on my computer.

There are many options.
Cheers,

  • Thanks, but it doesnt solve the problem. – Sachin Oct 14 '16 at 5:51
  • @SachinKumar Can you be more specific? – Victor Oct 15 '16 at 3:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.