<div dir="ltr">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.<div><br></div><div>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.</div><div><br></div><div>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.</div><div><br></div><div>Can anyone think of how to accomplish this without exporting the WMTS layer and then clipping it with a polygon?</div><div><br></div><div>Thanks,</div><div><br></div><div>Stewart</div></div>