Project

General

Profile

Bug #6090

Polygon rendering issue

Added by Philippe May over 3 years ago. Updated over 2 years ago.

Status:
New
Priority:
Low
Assignee:
Target version:
-
Start date:
25/06/2018
Due date:
% Done:

0%

Close

Description

Some filled polygon's rendering on the mapbox-gl map don't look nice.

Screenshot from 2018-06-25 15-07-28.png View (162 KB) Philippe May, 25/06/2018 15:09

3929

Related issues

Related to GIS - Bug #7937: Retention wall is not properly display in GIS, Resolved 20/03/2019

History

#1 Updated by Philippe May over 3 years ago

3929

See attached screenshot.

It seems it's an issue related to triangulation, an algorithm used to fill polygons: https://github.com/mapbox/mapbox-gl-js/issues/3545 .

This needs more investigation, but it seems that Mapbox-gl uses an algorithm found in https://devhub.io/zh/repos/mapbox-earcut.

It mentions: "JS triangulation library that is fast enough for real-time triangulation in the browser, sacrificing triangulation quality for raw speed and simplicity, while being robust enough to handle most practical datasets without crashing or producing garbage".

#2 Updated by Philippe May over 3 years ago

  • Assignee set to Philippe May

#3 Updated by Philippe May almost 3 years ago

Next version of Mapbox (will be pushed to Gisaf in next few days) might have a fix (see https://github.com/mapbox/mapbox-gl-js/releases)

#4 Updated by Philippe May almost 3 years ago

No improvement after upgrade to mapbox-gl 0.53

#5 Updated by Philippe May over 2 years ago

  • Priority changed from Normal to Low

#6 Updated by Philippe May over 2 years ago

  • Related to Bug #7937: Retention wall is not properly display in GIS, added

Also available in: Atom PDF