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

Line Offset in symbology generates artifacts #18076

Closed
qgib opened this issue Feb 4, 2014 · 8 comments
Closed

Line Offset in symbology generates artifacts #18076

qgib opened this issue Feb 4, 2014 · 8 comments
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

@qgib
Copy link
Contributor

qgib commented Feb 4, 2014

Author Name: mathieu rajerison (mathieu rajerison)
Original Redmine Issue: 9485
Affected QGIS version: 2.0.1
Redmine category:symbology


Line offset in symbology is useful when you have a network with several lines superimposing with others.

But it generates artifacts.

The problem is less visible as the scale is getting bigger.

The problem is also encountered when merging all the lines in a single line.

In the attached file, you have the result with offset and without.


@qgib
Copy link
Contributor Author

qgib commented Feb 4, 2014

Author Name: Alvaro Huarte (@ahuarte47)


This may be due because "simplification" of geometries is enabled.

You can disable it -> Layer properties -> Rendering -> un-check "Simplify Geometry"
Or settings -> options -> rendering -> un-check "Enable feature simplification by default"

@qgib
Copy link
Contributor Author

qgib commented Feb 4, 2014

Author Name: mathieu rajerison (mathieu rajerison)


I am under QGIS Dufour and I can not see none of these options.

In layer properties, does rendering refer to "Style". If yes, I can not see "Simplify Geometry"
In the settings > ... > Rendering, I can not see any mention to feature simplification..

@qgib
Copy link
Contributor Author

qgib commented Feb 4, 2014

Author Name: Nyall Dawson (@nyalldawson)


This relates to #18048

@qgib
Copy link
Contributor Author

qgib commented Feb 4, 2014

Author Name: Alvaro Huarte (@ahuarte47)


mathieu rajerison wrote:

I am under QGIS Dufour and I can not see none of these options.

In layer properties, does rendering refer to "Style". If yes, I can not see "Simplify Geometry"
In the settings > ... > Rendering, I can not see any mention to feature simplification..

My apologies for the confusion, You are right, the simplification will be released in 2.2.
Alvaro

@qgib
Copy link
Contributor Author

qgib commented Feb 6, 2014

Author Name: mathieu rajerison (mathieu rajerison)


Hi,

I took note that a similar issue had already been opened.

Here is a snapshot with and without simplification and with and without offset, just for illustration.

The object is a single line.

Mat


  • 6740 was configured as pb_qgis.jpeg

@qgib
Copy link
Contributor Author

qgib commented Feb 7, 2014

Author Name: Giovanni Manghi (@gioman)


There is no crash or data corruption, so I'm lowering the priority.


  • category_id was configured as Symbology
  • priority_id was changed from High to Normal

@qgib
Copy link
Contributor Author

qgib commented Feb 16, 2014

Author Name: Giovanni Manghi (@gioman)


duplicate of #18048


  • status_id was changed from Open to Closed
  • resolution was changed from to duplicate

@qgib
Copy link
Contributor Author

qgib commented Feb 20, 2014

Author Name: Alvaro Huarte (@ahuarte47)


This pull request ( #1205 ) improves the offset of lines using GEOSOffsetCurve if GEOS 3.3 is available.

Results:
!issue_9485-results.JPG!


  • 6836 was configured as issue_9485-results.JPG

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

No branches or pull requests

1 participant