Using SIX maps as a WMS

438 views
Skip to first unread message

ia...@jcis.net.au

unread,
Jun 9, 2021, 8:52:06 PM6/9/21
to QGIS Australia User Group
I am working on a project where we use the image layer from NSW Spatial Services Web Services accessing it as a WMS. When it comes to printing via print layout, our wonderful maps we are good down to c1:500 but at scales such as 1:250 the base map stubbornly revises to print! The map still shows the basemap and yes I refreshed the map layer in print layout. 

In contrast it prints ok in ArcGIS where the layer is accessed via a layer file.

Has anyone experienced this issue? Assuming it is an operator error what have I done wrong?? 

Cheers

Iain 


Bill Williamson

unread,
Jun 9, 2021, 9:17:13 PM6/9/21
to australian-qg...@googlegroups.com
Hi Iain, 

it is a known issue. I recall there used to be some fiddle to overcome it, but I am not sure if that is still possible. 

--
You received this message because you are subscribed to the Google Groups "QGIS Australia User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to australian-qgis-use...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/australian-qgis-user-group/dc8ddae5-323d-4153-8933-a886bdec6c27n%40googlegroups.com.

Andrew Jeffrey

unread,
Jun 9, 2021, 9:26:38 PM6/9/21
to Australian and New Zealand QGIS User Group
Hi Iian,

Have you tried lowering the DPI when exporting the map. I have had in the past when the image size being requested from the WMS endpoint is too big due to the default 300dpi.

Try 100dpi to start and work up from there.

Andrew

Ia...@jcis.net.au

unread,
Jun 10, 2021, 12:43:04 AM6/10/21
to australian-qg...@googlegroups.com

Andrew,

 

How and where would you change the DPI??

 

Dr Iain Stuart

JCIS Consultants

P.O. Box 2397

Burwood North

NSW, 2134

 

(02) 9701 0191
(0413) 380116 (m)

Phil Wyatt

unread,
Jun 10, 2021, 1:03:59 AM6/10/21
to australian-qg...@googlegroups.com

Hi Iain,

 

It will be on the Item Properties Tab of the layout, then look for export settings.

 

 

Cheers - Phil

image001.png

Andrew Jeffrey

unread,
Jun 10, 2021, 1:06:43 AM6/10/21
to Australian and New Zealand QGIS User Group
Hi Iain,

Assuming it is related to the DPI, see the following.

From memory in my ArcMap 9.0 days the default DPI for map export was 96dpi, in QGIS the default is set to 300dpi. Crudely the higher DPI is requesting a larger image from the WMS provider, along with your chosen page size. QGIS will warn you about this by printing a map with a WMS layer - unless you have hidden the warning previously.

image.png

There are actually two places in the print layout where you can affect the output DPI.
The First one is in the "Export Settings" shown below - If you don't see the layout tab go to the "View" > "Panels" > 'Layout" menu item.

image.png

The second place you can change the DPI is in the Export Settings when you have chosen to save the file - see screenshot below. This will probably also help explain what an increase to the DPI is doing because when you change the values you see the page width and height change.

image.png

I have in the past experienced successfully printing a problem WMS by reducing the DPI or starting low and incrementally increasing until I get to a usable value.

Andrew



Andrew Jeffrey

unread,
Jun 10, 2021, 1:09:39 AM6/10/21
to Australian and New Zealand QGIS User Group
Ha!

Hey Phil - sorry didn't mean to post the same thing over the top. Didn't see the response until I hit send :)

Ia...@jcis.net.au

unread,
Jun 10, 2021, 1:59:18 AM6/10/21
to australian-qg...@googlegroups.com

Thanks Andrew and Phil,

 

I got it to 200 dpi and decided not to press my luck!

 

Cheers

 

Dr Iain Stuart

JCIS Consultants

P.O. Box 2397

Burwood North

NSW, 2134

 

(02) 9701 0191
(0413) 380116 (m)

 

From: australian-qg...@googlegroups.com <australian-qg...@googlegroups.com> On Behalf Of Andrew Jeffrey
Sent: Thursday, 10 June 2021 3:09 PM
To: Australian and New Zealand QGIS User Group <australian-qg...@googlegroups.com>
Subject: Re: [Aus-NZ-QGIS-group] Using SIX maps as a WMS

 

Ha!

 

Hey Phil - sorry didn't mean to post the same thing over the top. Didn't see the response until I hit send :)

On Thu, Jun 10, 2021 at 3:06 PM Andrew Jeffrey <aljef...@gmail.com> wrote:

Hi Iain,

 

Assuming it is related to the DPI, see the following.

 

From memory in my ArcMap 9.0 days the default DPI for map export was 96dpi, in QGIS the default is set to 300dpi. Crudely the higher DPI is requesting a larger image from the WMS provider, along with your chosen page size. QGIS will warn you about this by printing a map with a WMS layer - unless you have hidden the warning previously.

 

 

There are actually two places in the print layout where you can affect the output DPI.

The First one is in the "Export Settings" shown below - If you don't see the layout tab go to the "View" > "Panels" > 'Layout" menu item.

 

 

The second place you can change the DPI is in the Export Settings when you have chosen to save the file - see screenshot below. This will probably also help explain what an increase to the DPI is doing because when you change the values you see the page width and height change.

 

image001.png
image002.png
image003.png
Reply all
Reply to author
Forward
0 new messages