Coder Social home page Coder Social logo

Comments (4)

geographika avatar geographika commented on May 29, 2024

@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 [my_width] attribute).

  WEB
    METADATA
      "tile_map_edge_buffer" "10"
      "tile_metatile_level" "0"
    END #metadata

from mapserver.

Skrol29 avatar Skrol29 commented on May 29, 2024

@geographika

I presume non-titled requests are fine?

The problem occurs only for polygons that are partially drawn in the frame. Thus, only for framed rendering.

You could also see if adding a buffer around the edge of the tile (I guess to the max value in your [my_width] attribute).

We have lot of layers in our Mapfile, so such a configuration could penalize other layers.
Another point is, in this case, the attribute [my_width] is made for the user to freely choose the width of the rendering. So it could theoretically be more than 10 pixel width wanted.

from mapserver.

Skrol29 avatar Skrol29 commented on May 29, 2024

@geographika

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’ve tested the main branch, and the problem still occurs.

from mapserver.

geographika avatar geographika commented on May 29, 2024

@Skrol29 - as the features draw without issues when using a fixed width it is likely to be a combination of not calling msBindLayerToShape in mapdraw.c at the correct place, possibly in combination with the logic in msOutlineRenderingPrepareStyle in maprendering.c.

from mapserver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.