[mapserver-commits] [MapServer/MapServer] 421e2b: Enable offset for polygons (#6211)

Even Rouault noreply at github.com
Wed Jan 20 13:43:07 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/MapServer/MapServer
  Commit: 421e2b9ac70fb9c775e777698f4c7a188596ba20
      https://github.com/MapServer/MapServer/commit/421e2b9ac70fb9c775e777698f4c7a188596ba20
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2021-01-20 (Wed, 20 Jan 2021)

  Changed paths:
    M mapgeos.c
    M msautotest/renderers/expected/polygon-as-line-offset.cairo.png
    M msautotest/renderers/expected/polygon-as-line-offset.pdf
    M msautotest/renderers/expected/polygon-as-line-offset.png
    M msautotest/renderers/expected/polygon-as-line-offset.svg
    M msautotest/renderers/polygon-as-line-offset.map

  Log Message:
  -----------
  Enable offset for polygons (#6211)

Allow OFFSET working on polygon layers by changing shape type to line before passing it to geos, which will throw 'BufferBuilder::bufferLineSingleSided only accept linestrings' otherwise.

Co-authored-by: Martin Kofahl <martin.kofahl at gmail.com>
Co-authored-by: Thomas Bonfort <thomas.bonfort at gmail.com>
Co-authored-by: Edward Nash <e.nash at dvz-mv.de>




More information about the mapserver-commits mailing list