https://issues.qgis.org/https://issues.qgis.org/favicon.ico2019-01-25T12:39:58ZQGIS Issue TrackingQGIS Application - Bug report #21092: Marker line with custom dashhttps://issues.qgis.org/issues/21092?journal_id=989572019-01-25T12:39:58ZSergey Chernyshovsergey.chernyshoff@gmail.com
<ul></ul><p>BTW check/uncheck flag "clip features to canvas extent" in Advanced doesn't solve it</p> QGIS Application - Bug report #21092: Marker line with custom dashhttps://issues.qgis.org/issues/21092?journal_id=989662019-01-25T13:08:07ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Easy fix?</strong> changed from <i>Yes</i> to <i>No</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>In Progress</i></li><li><strong>Regression?</strong> changed from <i>Yes</i> to <i>No</i></li></ul><p>Please try the latest version available, 3.4.4</p> QGIS Application - Bug report #21092: Marker line with custom dashhttps://issues.qgis.org/issues/21092?journal_id=990872019-01-28T05:46:02ZSergey Chernyshovsergey.chernyshoff@gmail.com
<ul></ul><p>Giovanni Manghi wrote:</p>
<blockquote>
<p>Please try the latest version available, 3.4.4</p>
</blockquote>
<p>In ver 3.4.4 result is the same.</p> QGIS Application - Bug report #21092: Marker line with custom dashhttps://issues.qgis.org/issues/21092?journal_id=990932019-01-28T08:00:01ZSergey Chernyshovsergey.chernyshoff@gmail.com
<ul></ul><p>I see the problem is because rendering uses different algorythmes for draw Marker line and Simple line with Custom dash pattern.<br />For Marker line I set Marker placement parameter = "with interval" and Units for this interval are "Map units". Rendering algorythm calculates position of each markers from the beginning of line.<br />I expected the the same algorythm for dashed line. But it differs! <br />Pen object uses Custom Dash Pattern (qgslinesymbollayerv2.cpp):<br /> mPen.setStyle( Qt::CustomDashLine );<br /> ...<br /> mPen.setDashPattern( scaledVector );</p>
<p>Then beninning of dashes / spaces depends on current visible frame, visible part of feature, etc.</p> QGIS Application - Bug report #21092: Marker line with custom dashhttps://issues.qgis.org/issues/21092?journal_id=990952019-01-28T09:52:12ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Open</i></li><li><strong>Affected QGIS version</strong> changed from <i>3.4.2</i> to <i>3.4.4</i></li></ul> QGIS Application - Bug report #21092: Marker line with custom dashhttps://issues.qgis.org/issues/21092?journal_id=991532019-01-28T16:00:21ZAlexis Roy-Lroya2@premiertech.com
<ul></ul><p>Did some tests, on my end, only font marker seem to behave this way. Typical symbols and SVGs are ok and maintain their scale when zoomed out.</p> QGIS Application - Bug report #21092: Marker line with custom dashhttps://issues.qgis.org/issues/21092?journal_id=992242019-01-29T12:16:06ZSergey Chernyshovsergey.chernyshoff@gmail.com
<ul></ul><p>Alexis Roy-L wrote:</p>
<blockquote>
<p>Did some tests, on my end, only font marker seem to behave this way. Typical symbols and SVGs are ok and maintain their scale when zoomed out.</p>
</blockquote>
<p>The problem is with custom dashes and spaces (in map units!). In my tests all types of symbol were rendered correct.</p>