<div dir="ltr">Hi Hilpers,<div>I funded the mask plugin and can explain what it does. In my needs, I didn't not want it to clip the geometries (like the mapinfo clip tool) because I preferer really when users can see the whole map, masked with transparency or blending mode. This also does not add any geometry processing, which can be really heavy for clipping all the displayed object in a map. </div><div>Nevertheless, We extended Mask to be able to filter labels and display them only if the features fall inside the mask zone (with options on spatial operators used). We lacked the ability to compute labels only in the part of the object that is inside the mask (for instance a great river crossing the zone can be labeled outside the zone), so we added that in latest plugin versions, and it reveals to be performant since when it computes a lot of spatial relation, it also make life easier to the labeling engine, and turns to be fastest in the end (not always). </div><div><br></div><div>We chose to stop the plugin dev here and produce QEP to port that inside QGIS core. This assumes quite a lot of changes : </div><div> - find a way to store data in or along the project (we currently rely on memory layer saver plugin)</div><div> - Add ability to draw label on a different geometry than the displayed one (such as a smoothed geometry for a watercourse, or a clipped part of a polygon with mask zone)</div><div>- take the opportunity to improve labeling by the way with native connectors and easiest manual placement</div><div><br></div><div>You can find those QEP here:</div><div><a href="https://github.com/qgis/QGIS-Enhancement-Proposals">https://github.com/qgis/QGIS-Enhancement-Proposals</a>, tickets 27, 47, 46, 62<br></div><div><br></div><div>I since left my job and can't help with funding anymore, but from what I know some funds will be available at least for the label improvements. If you're willing to help or fund, I'll be glad to help coordination with other funders and developpers to fully port a masking feature, and maybe add your use cases in it. </div><div><br></div><div>Cheers</div><div>Régis</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-03-09 12:42 GMT+01:00 hilpers <span dir="ltr"><<a href="mailto:orchestra-mur@web.de" target="_blank">orchestra-mur@web.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It should work dynamically, without processing your data, yes.<br>
I know this functionalityx from ArcMap and Mapinfo, where the user can<br>
specify one layer to serve as masking layer which then hides/masks out all<br>
features of user-specified layers within the same project/ data frame<br>
(Arcmap). I guess this works through spatial relationship filters but I am<br>
not sure.<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Real-Mask-functionality-in-QGIS-tp5311464p5311573.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.<wbr>nabble.com/Real-Mask-<wbr>functionality-in-QGIS-<wbr>tp5311464p5311573.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the QGIS - User mailing list archive at Nabble.com.<br>
______________________________<wbr>_________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a></div></div></blockquote></div><br></div>