Closed rbovard closed 6 years ago
depending the page orientation, the image request done by the mapfish print to mapsever will not be the same, and if you are near the limit of your minscale, chance are that one request is juste above and the other juste under. the only way here is to adjust the minscale value to a lower value till it works in both case.
or, if you want the layer to be effectively not visible, you must increase the minscale value
well, here it will be maxscaledenom and not minscaledenom, sorry
Ok, thanks for this confirmation that the request is not the same depending the page orientation.
I'll adapt my values.
to be precise, it's indirectly caused by the orientation and directly caused by the size of the image itself.
Is it fixed ?
More or less...
In fact, you need to be careful when setting min/max scales because if values are to close to the limit, the printed map will not reflect the displayed map for the same scale.
Maybe add a note in print documentation about it.
Moved to Jira
I have a layer with
MAXSCALEDENOM
defined and it appears in the print depending the orientation of the page.Steps to reproduce:
Is the scale handled differently according to the format? Because it works fine with A4 Portrait, A4 Landscape, A3 Portrait but not with A3 Landscape.