You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have a issue on MapLibre when I want to apply a line-offset to LineStrings representing a relation (to display hiking routes)
Since ways in a relation are (indeed ordered but) not oriented, the line keeps switching from one side of the road to the other one, because the offset is apply based on the direction of the way/LineString, which is sometimes not consistent with the overall direction of the relation.
I guess we could solve this by re-ordering the nodes of the relation, which means re-orienting the ways whose direction is not consistent with the overall direction of the relation.
Is this something that would be feasible in tilemaker when processing a relationship?
my mistake, the issue happens only when these LineString are added during way_function() because in this case, the orientation of the way in the relation is unknown. But when the LineString is added during relation_function() it works as expected.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hello,
I have a issue on MapLibre when I want to apply a
line-offsetto LineStrings representing a relation (to display hiking routes)Since ways in a relation are (indeed ordered but) not oriented, the line keeps switching from one side of the road to the other one, because the offset is apply based on the direction of the way/LineString, which is sometimes not consistent with the overall direction of the relation.
I guess we could solve this by re-ordering the nodes of the relation, which means re-orienting the ways whose direction is not consistent with the overall direction of the relation.
Is this something that would be feasible in tilemaker when processing a relationship?
If not, is there any tool able to do so?
Thanks!
All reactions