8000 mergeLines issues · Issue #13 · mapbox/tile-decorator · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
mergeLines issues #13
Open
Open
@tcql

Description

@tcql

A couple of line merging issues. I've already started digging into these, just recording here:

1. don't join reversed edges

In traffic-maps, each direction of a way is a separate geometry. They aren't offset directly in geometry. The points are simply reversed:

A -> B (northbound)
B -> A (southbound)

Because of this, tile-decorator's mergeLines function is in some cases joining traffic opposites to eachother. This cause some offsetting artifacts in the style depending on line-join setting:

c298c5fe-d28e-11e6-8dd1-0296280398c2

2. adjacent edges

It seems that it's possible for mergeLines to fail merging segments that are adjacent & have identical properties

screen shot 2017-04-19 at 22 03 00

I believe this has been possible before, but a recent regression has made it worse.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0