1

I have a problem with labels in QGIS. I'm using a background svg for some labels (street numbers). In QGIS, it's all ok but when I use the composer there is a bug (I suppose), because I see some strange artifacts.

image

svg

Squares and elipse on the right are the artifacts

If I disable the layer with the street numbers, or if I remove the svg background, the artifacts disappear. The problem is reproducible only with svg, if I use the rectancle or another option, I don't see any problems. The artifacts can be seen in the composer preview too.

Can someone confirm this problem?

Tested with QGIS 2.6.1 and 2.8.1 Nightly

8
  • Can you add a screenshot of the artifacts?
    – Branco
    Jun 16, 2015 at 13:50
  • 1
    there is... i.stack.imgur.com/Irqkn.jpg Can't you seen it? The artifacts are the big rectangle and ellipse in the image.
    – Sergio
    Jun 16, 2015 at 13:51
  • 1
    Can you edit your question and add the image link there, too?
    – Branco
    Jun 16, 2015 at 13:52
  • Have you tried re-testing this for QGIS 2.8.2? I tested labels with a svg background and it seems fine (this was for a line vector layer on QGIS 2.8.2).
    – Joseph
    Jun 16, 2015 at 14:03
  • No, because I work with 2.6.1 but I'm quite sure the bug still persists because it's old and I haven't seen tickets about this.
    – Sergio
    Jun 16, 2015 at 14:04

1 Answer 1

1
+100

Your SVG files have issues. Try opening them in Inkscape and selecting View -> Zoom -> Drawing. There's polygons present WAY outside the document area. These are showing up in the composer map, causing the artefacts.

1
  • THANK YOU! I haven't notice them becouse they are outside the page. I still don't understand why I saw them only in the composer map and not in the qgis view but the problem seems to be solved.
    – Sergio
    Jun 18, 2015 at 12:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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