holoviz / geoviews

Simple, concise geographical visualization in Python
http://geoviews.org
BSD 3-Clause "New" or "Revised" License
591 stars 76 forks source link

Line offset option #431

Open anitagraser opened 4 years ago

anitagraser commented 4 years ago

I'm working on flow maps that show aggregated movement data. Flows between a pair of locations A and B can go in both directions A->B and B->A. The lines therefore overlap:

image

To solve this issue and create better maps, desktop GIS provide a line offset functionality that draws the line left or right of the original location:

image

Usually, negative offset values shift the line to the left and positive offset values shift it to the right. This is an illustration from the FME documentation:

image

ppwadhwa commented 4 years ago

This sounds great. We'd be happy to have this feature in the library, if someone could help us get it started.