Hello, We have the next situation. An SLD is loaded into geoserver with a textSymbolizer with a labelplacement like this:
<LabelPlacement> <PointPlacement> <Displacement> <DisplacementX>-5</DisplacementX> <DisplacementY>0</DisplacementY> </Displacement> <Rotation> <ogc:PropertyName>richting_cw</ogc:PropertyName> </Rotation> </PointPlacement> </LabelPlacement> When we load the SLD with REST we get no content from the SLD, file is empty. When we replace the Displacement with this: <AnchorPoint> <AnchorPointX>-50</AnchorPointX> <AnchorPointY>2</AnchorPointY> </AnchorPoint> Everything works fine. This is what the geoserver log says: 2012-06-15 09:18:26,197 ERROR [geoserver.rest] - Exception intercepted java.io.IOException at org.geoserver.catalog.rest.SLDFormat.write(SLDFormat.java:57) at org.geoserver.rest.format.StreamDataFormat$1.write(StreamDataFormat.java:48) at com.noelios.restlet.http.HttpServerCall.writeResponseBody(HttpServerCall.java:342) at com.noelios.restlet.http.HttpServerCall.sendResponse(HttpServerCall.java:306) at com.noelios.restlet.ext.servlet.ServletCall.sendResponse(ServletCall.java:306) at org.geoserver.rest.GeoServerServletConverter.commit(GeoServerServletConverter.java:53) at com.noelios.restlet.ext.servlet.ServletConverter.service(ServletConverter.java:130) at org.geoserver.rest.RESTDispatcher.handleRequestInternal(RESTDispatcher.java:86) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153) at Met vriendelijke groet, Lucas Heezen [Beschrijving: http://www.covadis.nl/emailkop/logo.gif] Covadis b.v. t: 026 3616600 Geograaf 12 f: 026 3612317 6921 EW Duiven e: hee...@covadis.nl<mailto:hee...@covadis.nl>
<<inline: image001.gif>>
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users