GeoTools
  1. GeoTools
  2. GEOT-3023

Avoid dumping the defaults when turning a style into a SLD 1.0 document

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.3
    • Fix Version/s: 2.6.4
    • Component/s: main
    • Labels:
      None

      Issue Links

        Activity

        Hide
        Andrea Aime added a comment -
        This patch makes the transformer dump only the non default parts of a style/symbolizer/whatever.
        Makes for much more compact SLD exports, useful for both uDig and the GeoServer CSS module.
        Show
        Andrea Aime added a comment - This patch makes the transformer dump only the non default parts of a style/symbolizer/whatever. Makes for much more compact SLD exports, useful for both uDig and the GeoServer CSS module.
        Hide
        Andrea Aime added a comment -
        Jody, want to review it before I commit?
        Show
        Andrea Aime added a comment - Jody, want to review it before I commit?
        Hide
        Jody Garnett added a comment -
        Looks good; nicely done with the default value.

        We have the default values for SLD in a number of spots now and I can never think of a good way out; having it explicitly in the code is nice and clear about what is going on.
        Show
        Jody Garnett added a comment - Looks good; nicely done with the default value. We have the default values for SLD in a number of spots now and I can never think of a good way out; having it explicitly in the code is nice and clear about what is going on.
        Hide
        Andrea Aime added a comment -
        Fixed on 2.6.x and trunk
        Show
        Andrea Aime added a comment - Fixed on 2.6.x and trunk

          People

          • Assignee:
            Andrea Aime
            Reporter:
            Andrea Aime
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: