Feature request #9456

Improve offset line algorithm

Added by Nyall Dawson over 5 years ago. Updated over 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Symbology
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:18048

Description

The current line offset algorithm used in line symbol layers is prone to extreme jagged spikes and other rendering errors. This could be improved by implementing changes like those in this mapnik pull request:
https://github.com/mapnik/mapnik/pull/1269/files

Or by implementing a similar routine to that used by PostGIS' ST_OffsetCurve function.

issue_9485-results.JPG (120 KB) Alvaro Huarte, 2014-02-20 03:01 PM

Associated revisions

Revision bb7cd405
Added by Martin Dobias over 5 years ago

Merge pull request #1205 from ahuarte47/Issue_9485

Fix #9456 #9485: Line Offset in symbology generates artifacts

History

#1 Updated by Giovanni Manghi over 5 years ago

  • Target version set to Version 2.2

see also #9485

#2 Updated by Alvaro Huarte over 5 years ago

This pull request ( https://github.com/qgis/QGIS/pull/1205 ) improves the offset of lines using GEOSOffsetCurve if GEOS 3.3 is available.

Results:

#3 Updated by Martin Dobias over 5 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF