<div dir="ltr"><div><div><div>Well, I made some checks....<br>I verified that, using osm backgound layers, all projects were reprojected to epsg:3857 from epsg:3003.<br></div>Setting (in GlobalOptions.js) all background layer to false and authid accordingly with project authid (epsg:3003) I verified that I get now right scaled maps (the right scaled pdf is attached).<br></div>Then I confirm that the wrong behaviour (as from Tom email)<br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"><div> happens when projection is set to EPSG3857 for using Google,OSM,...basemaps, and your data is in another projection.<br></div></blockquote><div><br>Qgis server version is 2.10 running under ubuntu.<br><br></div><div>I would suggest Tom to share GeoExt patch!<br><br></div><div>Regards.<br> </div><div><div><div><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2015-12-02 12:20 GMT+01:00 Bernhard Ströbl <span dir="ltr"><<a href="mailto:bernhard.stroebl@jena.de" target="_blank">bernhard.stroebl@jena.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Enrico,<br>
<br>
the scalebar on the pdf obviously does not fit the numerical scale.<br>
Questions:<br>
1) First we have to determine, if a) the numerical scale is wrong but the scalebar is correct or b) vice versa. What happens if you print out the same Layout in the same project from QGIS desktop in scale 1:1000? Does the scalebar fit the numerical scale? Is the displayed map extent the same?<br>
2) What projection(s) do you use?<br>
3) Which version of QGIS server are you running?<br>
<br>
Bernhard<div><div><br>
<br>
Am 02.12.2015 um 11:54 schrieb Enrico Ferreguti:<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>
Hi,<br>
I'm getting prints with wrong scale from qgis web client.<br>
Apparently everything is fine, I select the layout, the scale from the<br>
select box, I place the bounding box in the map and then I print. The<br>
layout contains a numeric scalebar that correclty reports the selected<br>
scale but if I manually measure on paper the printed image appears that<br>
the map has a wrong scale by a 1.43x factor<br>
<br>
I verified the behaviour with different projects and projections on<br>
various servers.<br>
<br>
Should I open a ticket or Am I doing something wrong?<br>
<br>
Attached there is a print with wrong graphical and numeric scalebars.<br>
The location is the following:<br>
<a href="http://www.openstreetmap.org/#map=19/45.3963826129/11.8795777003" rel="noreferrer" target="_blank">http://www.openstreetmap.org/#map=19/45.3963826129/11.8795777003</a><br>
<br>
Regards.<br>
Enrico Ferreguti<br>
<br>
<br></div></div><span>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
<br>
</span></blockquote>
<br>
<br>
<br>
__________ Information from ESET Mail Security, version of virus signature database 12658 (20151202) __________<br>
<br>
The message was checked by ESET Mail Security.<br>
<a href="http://www.eset.com" rel="noreferrer" target="_blank">http://www.eset.com</a><div><div><br>
<br>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></div></div></blockquote></div><br></div></div></div></div></div></div></div></div></div>