[Qgis-user] Clipping WMS Layer for Export to Geo PDF

Stewart Holt stewartbholt at gmail.com
Fri Jul 30 12:37:54 PDT 2021


I am working on a GeoPDF map to use in the Avenza map app. It is an 80 mile
hiking trail which stair steps from SW to NE. I am using a WMTS layer as a
background. I want to avoid having the PDF as large as a rectangle
containing this trail. I created a polygon and used it to select the extent
for the map, but it did not clip the map but instead it created a
rectangular extent containing the polygon.

Next I created a larger rectangular polygon covering the area and cut out a
ring for the trail and included this layer in the map. The result was the
inclusion of all of the WMTS  map layer as before with my mask layer able
to block unwanted areas. This does not reduce file size, ofcourse.

I think what that did is the correct behavior. What I need is a way to clip
the WMTS layer on the fly. I think having the export to PDF being able to
do this would be the best approach.

Can anyone think of how to accomplish this without exporting the WMTS layer
and then clipping it with a polygon?

Thanks,

Stewart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210730/2a7c80d2/attachment.html>


More information about the Qgis-user mailing list