You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that the GetPrint Request on QGIS server of Atlas Layout doesn't return the same result of a QGIS desktop print.
the setting the scale of a map item with "controlled by atlas/predefined scale (best fit)" doesn't work and the applied scale is the same of "fixed scale" option.
Steps to reproduce the issue
Put the attached dataset and project on a path accessible by qgis server and make a GetPrint request on TEST_ps template: http://[path_to_server]?MAP=[path_to_test_dataset]/test_atlas.qgs&SERVICE=WMS&REQUEST=GetPrint&TEMPLATE=TEST_ps&ATLAS_PK=*&FORMAT=pdf&CRS=EPSG:32632&DPI=100
the resulting pdf will have all map frames at the same wrong fixed scale.
instead, the following request on template TEST_sf: http://[path_to_server]?MAP=[path_to_test_dataset]/test_atlas.qgs&SERVICE=WMS&REQUEST=GetPrint&TEMPLATE=TEST_sf&ATLAS_PK=*&FORMAT=pdf&CRS=EPSG:32632&DPI=100
will return a pdf with a correct representation, the same of the desktop print test_project_and_dataset.zip
.
Versions
tested on dockerized QGIS server 3.22 instance: image: 3liz/qgis-map-server:3.22
Supported QGIS version
I'm running a supported QGIS version according to the roadmap.
New profile
I tried with a new QGIS profile
Additional context
No response
The text was updated successfully, but these errors were encountered:
enricofer
added
the
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
label
Aug 22, 2022
What is the bug or the crash?
It appears that the GetPrint Request on QGIS server of Atlas Layout doesn't return the same result of a QGIS desktop print.
the setting the scale of a map item with "controlled by atlas/predefined scale (best fit)" doesn't work and the applied scale is the same of "fixed scale" option.
Steps to reproduce the issue
Put the attached dataset and project on a path accessible by qgis server and make a GetPrint request on
TEST_ps
template:http://[path_to_server]?MAP=[path_to_test_dataset]/test_atlas.qgs&SERVICE=WMS&REQUEST=GetPrint&TEMPLATE=TEST_ps&ATLAS_PK=*&FORMAT=pdf&CRS=EPSG:32632&DPI=100
the resulting pdf will have all map frames at the same wrong fixed scale.
instead, the following request on template
TEST_sf:
http://[path_to_server]?MAP=[path_to_test_dataset]/test_atlas.qgs&SERVICE=WMS&REQUEST=GetPrint&TEMPLATE=TEST_sf&ATLAS_PK=*&FORMAT=pdf&CRS=EPSG:32632&DPI=100
will return a pdf with a correct representation, the same of the desktop print
test_project_and_dataset.zip
.
Versions
tested on dockerized QGIS server 3.22 instance:
image: 3liz/qgis-map-server:3.22
Supported QGIS version
New profile
Additional context
No response
The text was updated successfully, but these errors were encountered: