GeoTools
  1. GeoTools
  2. GEOT-3912

PerpendicularOffset for LineSymbolizer unsupported; Bounty for render support

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: 2.7.4, 8.0-M2, 8.0-M3
    • Fix Version/s: 8.8
    • Component/s: main, render
    • Labels:
      None
    • Testcase included:
      yes

      Description

      SE 1.1 describes the possibility to set a PerpendicularOffset for a LineSymbolizer, just like SLD 1.0 does for the LinePlacement. I know that GeoTools is not a reference implementation for SE 1.1, but I know about AtlasStyler users that desire such a function.

      In trunk the LineSymbolizer class has a setter and a getter for PerpendicularOffset, but the settings is lost when transforming the Style to and from XML, as well it is lost when the Style is duplicated with the DuplicatingStyleVisitor.

      Attached are two patches:
      1. Two unit tests showing that LineSymbolizer.set/getPerpendicular settings are lost when transforming/parsing/duplicating the Style.
      2. A patch fixing the three cases above

      The patches are created again '/trunk/modules/library/main'

      What's missing is the implementation in the renderer, as shortly discussed here:
      http://www.mail-archive.com/geotools-gt2-users@lists.sourceforge.net/msg13087.html

      My symbolic offer for funding the renderer-implementation: I sponser this implementation with 200€ via paypal. I will send the money to any email chosen by the one that implements this in the renderer; or I can donate it to any organization of choice. I will not need any bills, as I fund this privately. In case anybody is willing, please tell me before you start via email

      I would be very happy if I could commit the above patches and anybody would take the bounty.

      Steve

      1. perpendicularOffsetImplementation.patch
        3 kB
        Stefan Alfons Tzeggai
      2. perpendicularOffsetTests.patch
        3 kB
        Stefan Alfons Tzeggai
      3. perpoff.diff
        6 kB
        Björn Harrtell
      4. perpoffTest.diff
        5 kB
        Björn Harrtell
      1. narrowbug.png
        2 kB
      2. perpoff.png
        1 kB
      3. perpoff.png
        24 kB

        Activity

        Andrea Aime made changes -
        Field Original Value New Value
        Assignee Jody Garnett [ jgarnett ] Andrea Aime [ aaime ]
        Jody Garnett made changes -
        Fix Version/s 8.0-RC1 [ 18082 ]
        Fix Version/s 8.0-M3 [ 17864 ]
        Jody Garnett made changes -
        Fix Version/s 8.0-RC1 [ 18150 ]
        Fix Version/s 8.0-M4 [ 18082 ]
        Jody Garnett made changes -
        Fix Version/s 8.0-RC2 [ 18530 ]
        Fix Version/s 8.0-RC1 [ 18150 ]
        Björn Harrtell made changes -
        Attachment perpoff.diff [ 60407 ]
        Attachment perpoff.png [ 60408 ]
        Björn Harrtell made changes -
        Attachment perpoffTest.diff [ 60459 ]
        Björn Harrtell made changes -
        Attachment narrowbug.png [ 60467 ]
        Attachment perpoff.png [ 60468 ]
        Justin Deoliveira made changes -
        Fix Version/s 8.0-RC3 [ 18641 ]
        Fix Version/s 8.0-RC2 [ 18530 ]
        Justin Deoliveira made changes -
        Fix Version/s 8.1-RC1 [ 18691 ]
        Fix Version/s 8.0-RC3 [ 18641 ]
        Andrea Aime made changes -
        Fix Version/s 8.2 [ 18766 ]
        Fix Version/s 8.1 [ 18691 ]
        Justin Deoliveira made changes -
        Fix Version/s 8.3 [ 18792 ]
        Fix Version/s 8.2 [ 18766 ]
        Alessio Fabiani made changes -
        Fix Version/s 8.4 [ 18895 ]
        Fix Version/s 8.3 [ 18792 ]
        Justin Deoliveira made changes -
        Fix Version/s 8.5 [ 18994 ]
        Fix Version/s 8.4 [ 18895 ]
        Andrea Aime made changes -
        Fix Version/s 8.6 [ 19030 ]
        Fix Version/s 8.5 [ 18994 ]
        Andrea Aime made changes -
        Fix Version/s 8.7 [ 19070 ]
        Fix Version/s 8.6 [ 19030 ]
        Mauro Bartolomeoli made changes -
        Fix Version/s 8.8 [ 19121 ]
        Fix Version/s 8.7 [ 19070 ]
        Stefan Alfons Tzeggai made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Incomplete [ 4 ]

          People

          • Assignee:
            Andrea Aime
            Reporter:
            Stefan Alfons Tzeggai
          • Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: