[ http://jira.codehaus.org/browse/GEOT-2725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Alfons Krüger reopened GEOT-2725: ---------------------------------------- My patch broke something. I am sorry! The patch will be attached in a second. Index: modules/library/main/src/main/java/org/geotools/styling/SLDTransformer.java =================================================================== --- modules/library/main/src/main/java/org/geotools/styling/SLDTransformer.java (Revision 33982) +++ modules/library/main/src/main/java/org/geotools/styling/SLDTransformer.java (Arbeitskopie) @@ -218,7 +218,8 @@ start("LabelPlacement"); start("PointPlacement"); pp.getAnchorPoint().accept(this); - pp.getDisplacement().accept(this); + if (pp.getDisplacement() != null) + pp.getDisplacement().accept(this); element("Rotation", pp.getRotation()); end("PointPlacement"); end("LabelPlacement"); > Graphic.setDisplacement is not working and has a typo = setDisplacmeent > ----------------------------------------------------------------------- > > Key: GEOT-2725 > URL: http://jira.codehaus.org/browse/GEOT-2725 > Project: GeoTools > Issue Type: Bug > Components: core main, core render, core styling > Affects Versions: 2.6-M2 > Environment: Java 1.6_016 > Reporter: Stefan Alfons Krüger > Assignee: Jody Garnett > Fix For: 2.6-RC1 > > Attachments: cleanupAndTestAndPartFixInTransformer_2.patch > > > Most important the displacement is not honored, that means it is not > rendered. But looking into org.geotools.styling.Graphic.java, there was also > some typo concerning setDisplacmeent instead of setDisplacement. > The first patch attached cleans the setDisplacmeent typo-error and adds a > JUnit test that will fail because setDisplacement != getDisplacement > I will debug into that and maybe also add a second patch to fix that... -- 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 ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel