-
-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
erroneous extra outlines when using WIDTH based on an attribute #7051
Comments
@Skrol29 - it looks like the features are clipped and then the OUTLINECOLOR is applied to the clipped feature. It doesn't seem to address this case, but you could try testing against the main branch, which includes changes relating to attribute binding and WIDTH/OUTLINEWIDTH in #6964. I presume non-titled requests are fine? You could also see if adding a buffer around the edge of the tile (I guess to the max value in your
|
The problem occurs only for polygons that are partially drawn in the frame. Thus, only for framed rendering.
We have lot of layers in our Mapfile, so such a configuration could penalize other layers. |
I’ve tested the main branch, and the problem still occurs. |
@Skrol29 - as the features draw without issues when using a fixed width it is likely to be a combination of not calling |
Expected behavior and actual behavior
Actual behavior :
When displaying polygon outlines, some extra borders are added on the edge of the image,
sometimes like if they should close the partial polygons,
sometimes on a full edge.
This happens when using an outline WIDTH based on an attribute, and when then values of this attribute is equal or higher that 7.
The greater the width is, the more obvious the error is.
Example with a WMS tiled web page (width given with an attribute’s value equal to 9)
Expected behavior :
No extra borders on the edges of the image.
Steps to reproduce the problem
Example :
STYLE OUTLINECOLOR '#00ff00' WIDTH [my_width] END
Attach simple test case
border_issue.zip
Operating system
Rocky Linux release 8.9
Windows 11 - 23H2
MapServer version and installation method
MapServer version 8.0.1
Linux: build from source, on Rocky Linux release 8.9 (Green Obsidian)
Windows: build provided by GisInternals (https://www.gisinternals.com)
Other examples
Layer example with PostGis
Produced tile on BBOX
0,45.0890,2.8125,47.0401
(wgs84) :Other single tile
The text was updated successfully, but these errors were encountered: