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

offset < 0 for simple outline line symbology for polygon creates rounded corners #19009

Closed
qgib opened this issue Jun 16, 2014 · 2 comments
Closed
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Symbology Related to vector layer symbology or renderers

Comments

@qgib
Copy link
Contributor

qgib commented Jun 16, 2014

Author Name: Mathieu Pellerin - nIRV (Mathieu Pellerin - nIRV)
Original Redmine Issue: 10605
Affected QGIS version: master
Redmine category:symbology
Assignee: Martin Dobias


During the development of upcoming QGIS 2.4, offset for a polygon layer's simple outline line symbology was improved and now relies on a GEOS buffer operation. While it's an overall improvement, it has a create a huge change in rendering:

  • Under QGIS 2.2, a negative offset value will keep the offset'ed line's original angles (see QGIS_22-straight_angles.png)
  • Under QGIS 2.4, a negative offset value will created rounded angles (see QGIS_24-rounded_angles.png)

While the rounded angle is expected when outputting a buffer, I don't think the user expects that behavior when offsetting a polygon outline. I have mixed feelings as to what should be the appropriate behavior, but after giving it some thoughts, I think the QGIS 2.2 drawing is the right. The 2.2 drawing of polygon's simple outline line with negative offset value also behaves the same as if your offsetting a line layer, which IMO is important.

In addition to the above, any project relying on this styling prior to 2.4 will obviously render very differently too, which should be considered.

Crossing fingers GEOS can do straight angle buffers :)


@qgib
Copy link
Contributor Author

qgib commented Jun 17, 2014

Author Name: Martin Dobias (@wonder-sk)


  • assigned_to_id was changed from Alvaro Huarte to Martin Dobias

@qgib
Copy link
Contributor Author

qgib commented Jun 17, 2014

Author Name: Martin Dobias (@wonder-sk)


Fixed in changeset "ed1d08d435091e2890773b984c64fa96202b9f51".


  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Symbology Related to vector layer symbology or renderers labels May 25, 2019
@qgib qgib closed this as completed 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! High Priority Symbology Related to vector layer symbology or renderers
Projects
None yet
Development

No branches or pull requests

1 participant