Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[udig-devel] [jira] Created: (UDIG-1562) Changing the symbolizer size does not affect

Changing the symbolizer size does not affect
--------------------------------------------

                 Key: UDIG-1562
                 URL: http://jira.codehaus.org/browse/UDIG-1562
             Project: uDIG
          Issue Type: Bug
          Components: application
    Affects Versions: UDIG 1.2.M4
         Environment: Ubuntu 9.04
java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)

            Reporter: Arto Pastinen
            Priority: Minor
         Attachments: udigtest.zip

http://www.nabble.com/Change-the-style-td24984034.html

Changing the style programmatically does not apply style on screen with current scaledenominator.
If change the style, and zoom in or out, the style has changed with new scale, but if you go back to previous scale, it still has it previous size in symbolizers.

I think it is something with org.geotools.renderer.style.SLDStyleFactory.createStyle, and more precisely its SymbolKey
hashCode & equals methods, because they are using only symbolizer internal pointer and scaleRange values
to compare should previous instance return.

There is plugin project as an attachment, run tst.project, include stuff/timezones.shp, and zoom to some level, push the "Button" to change the style and style should not
change, now zoom to level which you havent been (there is no style object in SLDStyleFactory.staticSymbolizers), and you should see
new style, now go back to previous and original style should be return from SLDStyleFactory.staticSymbolizer.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


Back to the top