uDIG
  1. uDIG
  2. UDIG-828

SimpleRasterConfigurator problems

    Details

      Description

      There are several problems with raster styles:

      1) RasterViewer.get(..) returns null as a Symbolizer.. Later it leads to impossibility to persist style by SLDTransformer and following errors to load style:

      java.lang.RuntimeException: Internal transformation exception
      at org.geotools.styling.SLDTransformer$SLDTranslator.encode(SLDTransformer.java:669)
      at org.geotools.xml.transform.TransformerBase$XMLReaderSupport.parse(TransformerBase.java:611)
      at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:584)
      at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:638)
      at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:279)
      at org.geotools.xml.transform.TransformerBase$Task.run(TransformerBase.java:293)
      at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:126)
      at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:114)
      at org.geotools.xml.transform.TransformerBase.transform(TransformerBase.java:155)
      at net.refractions.udig.style.sld.SLDContent.save(SLDContent.java:127)
      at net.refractions.udig.project.internal.impl.StyleBlackboardImpl.put(StyleBlackboardImpl.java:224)
      at net.refractions.udig.style.sld.SimpleRasterConfigurator.synchronize(SimpleRasterConfigurator.java:141)

      2) Opacity value in RasterViewer is not persisted during changes of active layer in "Layers" view.

      3) This problem is more related to rendering: at the current moment the buffered image of WMS layer is not cleared and newly loaded image is rendered on the top of old. If the opacity value of raster style is 25% - then images are overlapped with 75% of transparency..

        Issue Links

          Activity

          Hide
          Jody Garnett added a comment -
          Now that the rendering system makes use of RasterSymbolizer we have fixed the problems with SLDParser and SLDTransformer as far as I know.

          We should try and reproduce this bug and close it if it cannot be reproduced. Emily may be able to just say this one is fixed and close it off the top of her head?
          Show
          Jody Garnett added a comment - Now that the rendering system makes use of RasterSymbolizer we have fixed the problems with SLDParser and SLDTransformer as far as I know. We should try and reproduce this bug and close it if it cannot be reproduced. Emily may be able to just say this one is fixed and close it off the top of her head?
          Hide
          Emily Gouge added a comment -
          A quick test shows that an error still exists with setting opacity on wms layers.
          Show
          Emily Gouge added a comment - A quick test shows that an error still exists with setting opacity on wms layers.

            People

            • Assignee:
              Emily Gouge
              Reporter:
              Vitali Diatchkov
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: