Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
MapBox GL can fail with very small triangular rings... #5731
MapBox GL fails silently when it encounters a small triangular rings with an area of .5 pixels although very thin triangles also cause issues. It simply stops drawing rings for the feature in question. It's arguable if this is a MapBox GL bug or something inherent to MapServer MVT encoding.
Big Sandy lake in the mvt-demo is the best example I've run across. That geometry has a second tiny outer ring that transforms to a 1/2 pixel area triangle at many resolutions. Because it's an outer ring any subsequent inner rings aren't being drawn so it's very obvious there is an issue. At lower resolutions that outer ring is degenerate and the issue goes away. However, even a narrow triangle (area=3) seems to break things - this is with version 0.31, need to try latest and greatest.