Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

start width > end width is ignored when using the "exact" color interpolation method #46371

Closed
1 of 2 tasks
DelazJ opened this issue Dec 5, 2021 · 0 comments · Fixed by #47195
Closed
1 of 2 tasks
Assignees
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Symbology Related to vector layer symbology or renderers

Comments

@DelazJ
Copy link
Contributor

DelazJ commented Dec 5, 2021

What is the bug or the crash?

When applying the interpolated line symbol, with both varying width and varying color, if the start point's width value is greater than the end point's, the output with exact color interpolation method does not take it into account; the end point is always assigned the max width instead.

Steps to reproduce the issue

In the screen cast, I'm trying to get big blue circle on the starting point (the one at the bottom). As you can see, contrarily to the other color methods (where the start point gets bigger size), the rendering with exact method does not change if I switch start and end values (the big circles are always near the end point)
interpolatedExact

Versions

<style type="text/css"> p, li { white-space: pre-wrap; } </style>
QGIS version 3.22.0-Białowieża QGIS code branch Release 3.22
Qt version 5.12.8
Python version 3.8.10
GDAL/OGR version 3.0.4
PROJ version 6.3.1
EPSG Registry database version v9.8.6 (2020-01-22)
Compiled against GEOS 3.8.0-CAPI-1.13.1 Running against GEOS 3.8.0-CAPI-1.13.1
SQLite version 3.31.1
PostgreSQL client version 12.8 (Ubuntu 12.8-0ubuntu0.20.04.1)
SpatiaLite version 4.3.0a
QWT version 6.1.4
QScintilla2 version 2.11.2
OS version Ubuntu 20.04.3 LTS
       
Active Python plugins
trackable_project_files v1.2.2
MapsPrinter 0.6
MemoryLayerSaver 4.0.4
db_manager 0.1.20
processing 2.12.99

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

  • I tried with a new QGIS profile

Additional context

No response

@DelazJ DelazJ added Symbology Related to vector layer symbology or renderers Bug Either a bug report, or a bug fix. Let's hope for the latter! labels Dec 5, 2021
@elpaso elpaso self-assigned this Feb 4, 2022
elpaso added a commit to elpaso/QGIS that referenced this issue Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Symbology Related to vector layer symbology or renderers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants