[QGIS-Developer] Project migration 2.18 > 3.0 - QGIS Server GetMap output very big images compared to a "from scratch" project
kimaidou
kimaidou at gmail.com
Thu Jan 11 05:35:21 PST 2018
Hi,
Bug fixed by René-Luc : https://github.com/qgis/QGIS/pull/6038/files
Cheers,
Michaël
2018-01-11 12:17 GMT+01:00 kimaidou <kimaidou at gmail.com>:
> Hi,
>
> I have seen a difference :
> * in the migrated file, the property <WMSImageQuality type="int">90</WMSImageQuality>
> is kept inside the QGS.
> * in a QGIS 3 project from scratch, this flag is not written if the
> default value is used : menu Project / QGIS Server / WMS Capabilities /
> Qualite for JPEG images. The flag is written only if the value is not the
> default one, for example if value = 80
>
> This means there is a regression in QGIS 3 Server, which uses this
> parameter for PNG and not only for JPEG !
>
> I will search deeper in the code
>
> regards
> Michaël
>
>
>
>
>
>
> 2018-01-11 12:08 GMT+01:00 kimaidou <kimaidou at gmail.com>:
>
>> Hi,
>>
>> I am testing QGIS 3 Server.
>> When I create a project from scratch in QGIS 3, and use it to publish WMS
>> service, the getMap requests return correct PNG images :
>> ~ 100 ko for a size of ~ 1500 X 800 pixels
>>
>> When I open a project made with 2.18 and save it with QGIS 3, and publish
>> it, I get huge PNG files :
>> ~ 4,5 Mo (!) for the same layer, configuration and getMap request.
>>
>> I am wondering what is happening. Here are the files and projects :
>> https://framadrop.org/r/JpTgir91jk#ZHFXi6ejrGQ/1NA2TbV4rD/
>> HEfeqqbzA5XaVjrK+aqQ=
>>
>> I have not been able to see any major difference explaining this
>> behaviour.
>>
>> Thanks in advance
>>
>> Michaël
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180111/12d64966/attachment.html>
More information about the QGIS-Developer
mailing list