[Qgis-user] Unreadable streetnames during export as image from print composer
Sebastian Gutwein
bas at rdgland.com
Fri Feb 12 06:37:48 PST 2021
As Silvio said this is a limitation of the online basemaps. They are not
designed for printing.
As Sivlio mentioned the size is determined by the export resolution In your
Layout window try setting your output resolution under
*layout>properties>export
settings* to 96dpi. This will make your labels the right size but any
rasters you have will be fuzzy.
If rasters being fuzzy is a problem then it is good that you are using
Maptiler because it gives you control over the styles. This means you can
make all of the adjustment to label size in the style tab of the vector
tile. If you are printing at 300 dpi make them 3 times larger than you
think you need.
They will look way too big in QGIS but when you print them they will be the
right size.
I have gone as far as creating a style with a project variable that I can
adjust the scale of the vector tile style tile at any point.
1.
First add tile_zoom_mag as a project property
2.
If you set iit to 1- you will see it as you would expect. For 150dpi
something like 2 might be better. If it is set to a high number in the map
and layout view before printing it will look wrong.
1.
To create the style I added @tile_zoom_mag * (original expression) in
front of all the size expressions for line work.
2.
For label size and lines that did not have an expression I used @value
*@tile_zoom_mag. This takes the currently set value and multiplies it by
the tile_zoom_mag variable.
On Fri, Feb 12, 2021 at 6:06 AM silvio.bentzien <
silvio.bentzien at protonmail.com> wrote:
> Hey,
> that is a common thing to happen when exporting maps using a WM(T)S or
> Tile layer. This is due to the difference in DPI between your monitor
> (probably ~ 96dpi) and the exported map (probably ~300dpi).
>
> Service layers will send you more tiles of a smaller scale instead of
> something that resembles what you see on your screen. A solution would be
> to use service layers that have a fixed scale. I'm not familiar with
> maptiler/pdok but if they have a layer for, let's say, 1:10000, then use
> this one if your map is 1:10000.
>
> Hope this helps.
>
> greetings,
> silvio
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Friday, February 12, 2021 11:54 AM, <ahullegie at gmail.com> wrote:
>
> I’m encountering an issue where the streetnames from maptiler/pdok
> services are barely visible on the exported image but are properly scaled
> when viewed in QGIS-composer. Can anyone recommend a fix for this?
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210212/57fd4da9/attachment.html>
More information about the Qgis-user
mailing list