You are not logged in.

#1 2021-05-31 08:28:20

Jan Chal
New Member
Registered: 2021-05-16
Posts: 1

Offset Lines to avoid clipping?

Hi,

I'm generating a touristic map where a trail can have several touristic marking colors (red, green, blue).

If I use the same style for the trail marking line (with just a different color), the lines are covering each other on the map and only one is visible.


Here you can see an official Garmin map where the green, blue and red trails are "next" to the actual road (in black)

Screenshot-2021-05-31-at-09-13-25.png


I inspected the Garmin style.typ and they use exactly the same definition for the markings (except the color) and yet they are all offset.

Garmin style for red and blue trails:

Screenshot-2021-05-31-at-09-24-22.png

Screenshot-2021-05-31-at-09-24-28.png


My current workaround is to use a 16px bitmap for the trails and offset the line in the bitmap itself.


My Red

Screenshot-2021-05-31-at-09-24-12.png

My Blue

Screenshot-2021-05-31-at-09-24-35.png


I was wondering of there is a better way of achieving an offset of lines that would otherwise be displayed on top of each other.

cheers

Jan

Offline

Board footer

Powered by FluxBB