goat-community / goat

This is the home of Geo Open Accessibility Tool (GOAT)
GNU General Public License v3.0
92 stars 51 forks source link

Polygon-Outline Stacking Problem #3376

Closed SmithU64 closed 3 weeks ago

SmithU64 commented 1 month ago

Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce

1. 2. 3. 4.

Context (Environment)

Detailed Description

Possible Implementation

majkshkurti commented 1 month ago

@SmithU64 Is this related to this issue: https://github.com/goat-community/goat/issues/3333

SmithU64 commented 1 month ago

@majkshkurti : No it is a different/new issue. I managed to reproduce it:

  1. Input Layer: POI ÖPNV Sationen
  2. Buffer with 3 steps; Union: ON, Difference: OFF
  3. Styling the Output Layer with Buffers:
    1. set color palate to "equal interval"
    2. turn on stroke color (fixed color or as palate according to buffer-radius) -> Resulting in Strokes appearing on top of polygons
SmithU64 commented 1 month ago

Screenshot 2024-10-28 at 15 45 37

SmithU64 commented 1 month ago

Screenshot 2024-10-28 at 15 47 30

majkshkurti commented 1 month ago

Can you confirm that "Union" was on ? The layer features don't look unified.

SmithU64 commented 1 month ago

I tried it again and you are right "Union" is off in this scenario. Sorry for the misleading information.

majkshkurti commented 1 month ago

np, thank you for reporting it. This issue I am aware and unfortunately in this case we can't solve it due to the limitation of mapbox library which treats the fill and outlines as different layers with different z-indexes. The same goes for icons too.

https://github.com/mapbox/mapbox-gl-js/issues/3018