<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi Tim,</p>
<p>Are you looking for the "Draw line only inside polygon" feature described at <a href="http://nyalldawson.net/2014/01/qgis-two-neat-features-in-2-2/">http://nyalldawson.net/2014/01/qgis-two-neat-features-in-2-2/</a> ?</p>
<p>In that case you would probably have two symbol levels:</p>
<p>- one for the line pattern fill (cross-hatched)</p>
<p>- a second one on top of the other one drawing an "Outline:simple line" on top of it using the "Draw line only inside polygon" checkbox.</p>
<p>This is only briefly described at <a href="https://docs.qgis.org/3.34/en/docs/user_manual/style_library/symbol_selector.html">https://docs.qgis.org/3.34/en/docs/user_manual/style_library/symbol_selector.html</a></p>
<p>Quote:</p>
<p><em>Outline: simple line: uses a simple line symbol layer to represent the polygon boundary (Rings) which can be the interior rings only, the exterior ring only or all the rings). The Draw line only inside polygon option displays the polygon borders inside the polygon and can be useful to clearly represent adjacent polygon boundaries. The other settings for the outline simple line are the same as for simple line symbols.</em></p>
<p>But perhaps I am totally misunderstanding your request ...</p>
<p>Greetings,</p>
<p>Andreas</p>
<p id="reply-intro">On 2024-06-20 03:26, Tim Malloy via QGIS-User wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div id="replybody1">
<style type="text/css">@font-face
        { font-family: "Cambria Math"; mso-font-charset: 0; mso-generic-font-family: roman; mso-font-pitch: variable; mso-font-signature: -536869121 1107305727 33554432 0 415 0; }
@font-face
        { font-family: Aptos; mso-font-charset: 0; mso-generic-font-family: swiss; mso-font-pitch: variable; mso-font-signature: 536871559 3 0 0 415 0; }
@font-face
        { font-family: "Century Gothic"; mso-font-charset: 0; mso-generic-font-family: swiss; mso-font-pitch: variable; mso-font-signature: 647 0 0 0 159 0; }

#replybody1 p.v1MsoNormal, #replybody1 li.v1MsoNormal, #replybody1 div.v1MsoNormal
        { mso-style-unhide: no; mso-style-qformat: yes; mso-style-parent: ""; margin: 0in; mso-pagination: widow-orphan; font-size: 11.0pt; font-family: "Aptos",sans-serif; mso-ascii-font-family: Aptos; mso-fareast-font-family: Aptos; mso-hansi-font-family: Aptos; mso-bidi-font-family: "Times New Roman"; mso-font-kerning: 1.0pt; mso-ligatures: standardcontextual; }
#replybody1 a:link, #replybody1 span.v1MsoHyperlink
        { mso-style-noshow: yes; mso-style-priority: 99; color: #467886; text-decoration: underline; text-underline: single; }
#replybody1 a:visited, #replybody1 span.v1MsoHyperlinkFollowed
        { mso-style-noshow: yes; mso-style-priority: 99; color: #96607D; text-decoration: underline; text-underline: single; }
#replybody1 span.v1EmailStyle17
        { mso-style-type: personal-compose; mso-style-noshow: yes; mso-style-unhide: no; mso-ansi-font-size: 12.0pt; mso-bidi-font-size: 11.0pt; font-family: "Century Gothic",sans-serif; mso-ascii-font-family: "Century Gothic"; mso-hansi-font-family: "Century Gothic"; mso-bidi-font-family: "Times New Roman"; color: windowtext; font-weight: normal; font-style: normal; }
#replybody1 span.v1SpellE
        { mso-style-name: ""; mso-spl-e: yes; }
#replybody1 span.v1GramE
        { mso-style-name: ""; mso-gram-e: yes; }
#replybody1 .v1MsoChpDefault
        { mso-style-type: export-only; mso-default-props: yes; font-size: 11.0pt; mso-ansi-font-size: 11.0pt; mso-bidi-font-size: 11.0pt; mso-ascii-font-family: Aptos; mso-fareast-font-family: Aptos; mso-hansi-font-family: Aptos; mso-bidi-font-family: "Times New Roman"; }
@page WordSection1
        { size: 8.5in 11.0in; margin: 1.0in 1.0in 1.0in 1.0in; mso-header-margin: .5in; mso-footer-margin: .5in; mso-paper-source: 0; }
#replybody1 div.v1WordSection1
        { }</style>
<div lang="EN-US" style="tab-interval: .5in; word-wrap: break-word;">
<div class="v1WordSection1">
<p class="v1MsoNormal"><span style="font-size: 12.0pt; mso-bidi-font-size: 11.0pt; font-family: 'Century Gothic',sans-serif;">Fellow QGIS Users –</span></p>
<p class="v1MsoNormal"><span style="font-size: 12.0pt; mso-bidi-font-size: 11.0pt; font-family: 'Century Gothic',sans-serif;"> </span></p>
<p class="v1MsoNormal"><span style="font-size: 12.0pt; mso-bidi-font-size: 11.0pt; font-family: 'Century Gothic',sans-serif;">I’m trying to determine if its possible to have QGIS render the exterior boundary of polygon features only once when that boundary is shared with an adjacent feature (don’t render overlapping exterior boundaries for both polygon features).<span style="mso-spacerun: yes;">  </span>The data I’m working with is a county parcels layer and the symbology I’m using for this layer is a cross hatched line fill with a separate component for the outline of the polygons.<span style="mso-spacerun: yes;">  </span>I’ve tried a couple of expressions (examples below) including one geometry generator and one data defined override for the stroke width of the boundary line but none of them achieves my objective.<span style="mso-spacerun: yes;">  </span>I’m using QGIS <span class="v1GramE">3.34.7</span> and my coding skills are limited.<span style="mso-spacerun: yes;">  </span>I feel like I’ve seen this issue covered somewhere but have been unable to find a solution after extensive online exploration.<span style="mso-spacerun: yes;">  </span></span></p>
<p class="v1MsoNormal"><span style="font-size: 12.0pt; mso-bidi-font-size: 11.0pt; font-family: 'Century Gothic',sans-serif;"> </span></p>
<p class="v1MsoNormal" style="text-indent: .5in;"><strong><span style="font-size: 12.0pt; mso-bidi-font-size: 11.0pt; font-family: 'Century Gothic',sans-serif;">Method #1:<span style="mso-tab-count: 1;">  </span>“</span></strong><span style="font-size: 12.0pt; mso-bidi-font-size: 11.0pt; font-family: 'Century Gothic',sans-serif;">boundary( difference( $geometry, aggregate( 'union', 'intersects', $geometry, other_layer := @layer)))”<span style="mso-spacerun: yes;">  </span>This expression was used on the outline component of the symbology described above.<span style="mso-spacerun: yes;">  </span></span></p>
<p class="v1MsoNormal"><span style="font-size: 12.0pt; mso-bidi-font-size: 11.0pt; font-family: 'Century Gothic',sans-serif;"> </span></p>
<p class="v1MsoNormal" style="margin-left: 1.0in; text-indent: -.5in;"><strong><span style="font-size: 12.0pt; mso-bidi-font-size: 11.0pt; font-family: 'Century Gothic',sans-serif;">Method #2:<span style="mso-tab-count: 1;">  </span></span></strong><span style="font-size: 12.0pt; mso-bidi-font-size: 11.0pt; font-family: 'Century Gothic',sans-serif;">“CASE WHEN intersects( $geometry, geom_to_wkt( boundary( $geometry ))) THEN 0 <span style="mso-spacerun: yes;"> </span>ELSE 1 END”<span style="mso-spacerun: yes;">  </span>Here I switched to using an expression on the stroke width of a simple fill, but I got an error message <span class="v1GramE">saying</span> “Cannot convert to geometry”.<span style="mso-spacerun: yes;">  </span></span></p>
<p class="v1MsoNormal" style="margin-left: 1.0in; text-indent: -1.0in;"><span style="font-size: 12.0pt; mso-bidi-font-size: 11.0pt; font-family: 'Century Gothic',sans-serif;"> </span></p>
<p class="v1MsoNormal" style="margin-left: 1.0in; text-indent: -1.0in;"><span style="font-size: 12.0pt; mso-bidi-font-size: 11.0pt; font-family: 'Century Gothic',sans-serif;">Any input would be greatly appreciated.</span></p>
<p class="v1MsoNormal" style="margin-left: 1.0in; text-indent: -1.0in;"><span style="font-size: 12.0pt; mso-bidi-font-size: 11.0pt; font-family: 'Century Gothic',sans-serif;"> </span></p>
<p class="v1MsoNormal" style="margin-left: 1.0in; text-indent: -1.0in;"><span style="font-size: 12.0pt; mso-bidi-font-size: 11.0pt; font-family: 'Century Gothic',sans-serif;">Tim</span></p>
<p class="v1MsoNormal"><span style="font-size: 12.0pt; mso-bidi-font-size: 11.0pt; font-family: 'Century Gothic',sans-serif;"> </span></p>
<p class="v1MsoNormal"><span style="font-size: 12.0pt; mso-bidi-font-size: 11.0pt; font-family: 'Century Gothic',sans-serif;"> </span></p>
</div>
</div>
</div>
<br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">_______________________________________________<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" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br />Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></div>
</blockquote>
<p><br /></p>

</body></html>