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

kirk kirk at nortekresources.com
Sat Jul 31 03:02:02 PDT 2021


Hi StewartI assume you are using a rater as a background layer and therefore you will always end up with a rectangle as your final extent.  If you clip to an irregular polygon, you will still have a rectangle but the outer area that had been clipped out will be transparent.  This is how raters work as they are regular grids.  The disadvantage of clipping to an irregular polygon is that you will create an additional alpha channel which defines the transparency but adds to the file size.I would consider making a number of smaller maps with some overlap to use with avenza.Kirk SchmidtSent from my Galaxy
-------- Original message --------From: Stewart Holt <stewartbholt at gmail.com> Date: 2021-07-30  4:38 p.m.  (GMT-04:00) To: User List QGIS <qgis-user at lists.osgeo.org> Subject: [Qgis-user] Clipping WMS Layer for Export to Geo PDF 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/20210731/235aee3d/attachment.html>


More information about the Qgis-user mailing list