3

I've been getting perpendicular lines through my basemap imagery in my QGIS layout exports to PDF (see photo).

Some notes:

  • The lines do not appear on the export screen.
  • I have guides built into the layout, but they are not aligned with the lines.
  • They appear across different imagery sources both WMS and downloaded .TIFF and .JPEG raster files.
  • They do not appear when I export the composer as an image.
  • They are not unique to the print layout, when I create another layout from scratch they still show up.
  • They do not appear in my colleagues' exports using the same .qgis template files.
  • The lines do not go through the shapes which make up the frame surrounding the basemap.
  • The lines are in the same spot every time, towards the bottom and right.

I haven't been able to find anyone else with this issue on line.

My QGIS version is 3.20.3 and I'm on Windows 10 Home, 10.0.19043 Build 19043

enter image description here

3 Answers 3

1

You can remove the grid lines if you disable the tiled raster layer export in the PDF Export Options:

enter image description here

BTW: it would be cool if QGIS Server will support this feature one day (https://github.com/qgis/QGIS/issues/51238).

1
  • Unfortunately, this didn't work. I am on QGIS 3.24.3 and still experiencing this issue.
    – JackP
    Commented Jul 6, 2023 at 4:56
0

In layout view go to 'Layout' tap > 'Export Settings' and check 'Always export as vectors' Had same problem at that moment ;-)

2
  • Unfortunately, this didn't work. I am on QGIS 3.24.3 and still experiencing this issue.
    – JackP
    Commented Jul 6, 2023 at 4:56
  • Very strange. Maybe a complete reinstall with OSGeo4W could help in your case. Would recommend to delete the old installation completely.
    – christoph
    Commented Jul 6, 2023 at 5:24
0

This worked for me:

From print layout, go to Settings > Layout Options ...

enter image description here

Then change under Grid Appearance, change Grid Colour to transparent

enter image description here

On PDF Export Options, I have the following:

enter image description here

Now the grid lines have disappeared!

Your Answer

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

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