Feature request #8517

Possibility to use field for auto offset (for use in conjunction with size scale)... "offset scale"?

Added by Jonas Malaco Filho over 3 years ago. Updated over 3 years ago.

Status:Feedback Start Date:08/25/2013
Priority:Normal Due date:
Assigned to:- % Done:


Target version:Future Release - Nice to have
Platform: Resolution:
Platform version: Pull Request or Patch supplied:No
Status info: Tag:


Especially when trying to view data on roads (such as vehicle counts per hour per segment), it's already very helpful to use automatic size scaling binded to a appropriate field. However, to proper visualize data according to direction of flow it's necessary to use some offset; ideally, the offset should be just enough to balance the line width out of center. Therefore I think It would be a huge improvement to allow the offset field to be set based on a field, in a way similar to size scaling.

If I'm not mistaken, the offset behavior should resemble
because we want
, with width(field)=flat_width*field

Another way to tackle this would be render vector lines optionally off-center (to the right or to the left); than, the offset could remain as is. While this is generally the approach taken by other GIS/modelling software when showing this types of data (Inro Emme, PTV Visum and Caliper TransCAD take the render off-center (to the right) for these cases), I expected the QGIS way of doing to be similar to size scaling. And by allowing offset scaling by field the user would have much more flexibility...

I would very much like to implement this (since I have a particular use for it), but I would need some guidance on where things are/go on the source tree.


Updated by Jonas Malaco Filho over 3 years ago

An example of a traffic volume map in Inro Emme:

Updated by Nathan Woodrow over 3 years ago

Have you tried the latest dev versions because I'm pretty sure you can already do this.

Updated by Giovanni Manghi over 3 years ago

  • Status changed from Open to Feedback
  • Target version changed from Version 2.0.0 to Future Release - Nice to have
  • Platform deleted (All)
  • Platform version deleted (All)

Also available in: Atom