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

Print Composer ignores width values from expression #25272

Closed
qgib opened this issue Nov 1, 2017 · 2 comments
Closed

Print Composer ignores width values from expression #25272

qgib opened this issue Nov 1, 2017 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks

Comments

@qgib
Copy link
Contributor

qgib commented Nov 1, 2017

Author Name: zimirrr leonid (zimirrr leonid)
Original Redmine Issue: 17375
Affected QGIS version: 2.14.17
Redmine category:map_composer/printing


Hello. I found strange thing.

I have a project where lines width is calculated with such expression:
@"width_coefficient" + to_real( @TEST_VAR_WIDTH )@
where @"width_coefficient"@ is column and @TEST_VAR_WIDTH global variable in qgis.

Here how layer looks like when @TEST_VAR_WIDTH = 0
!step1.jpg!

And now @TEST_VAR_WIDTH = -0.5
!step2.jpg!

Everything works fine but when I try to print as pdf from composer I get all lines.
See export_pdf.pdf

I've created test qgis project with one layer and composer. You can try it yourself.

QGIS version 2.14.17-Essen
Compiled against Qt 4.8.5
Compiled against GDAL/OGR 2.2.1
Compiled against GEOS 3.5.0-CAPI-1.9.0


@qgib
Copy link
Contributor Author

qgib commented Nov 2, 2017

Author Name: Giovanni Manghi (@gioman)


what about 2.18.14/master?


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Aug 15, 2018

Author Name: Giovanni Manghi (@gioman)


Closing for lack of feedback.


  • resolution was changed from to not reproducable
  • status_id was changed from Feedback to Closed

@qgib qgib closed this as completed Aug 15, 2018
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks labels May 25, 2019
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! Print Layouts Related to QGIS Print Layouts, Atlas or Reporting frameworks
Projects
None yet
Development

No branches or pull requests

1 participant