{"issue":{"pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"state":"closed","user":{"avatar_url":"https://secure.gravatar.com/avatar/6d8bc56f7cf4ebdce66d027a7dbf2572?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"6d8bc56f7cf4ebdce66d027a7dbf2572","url":"https://api.github.com/users/cschissler","login":"cschissler","id":946657},"milestone":null,"labels":[],"updated_at":"2011-11-09T20:37:21Z","assignee":null,"comments":4,"closed_at":"2011-11-07T21:19:12Z","url":"https://api.github.com/repos/springmeyer/geotools2mapnik/issues/1","body":"Below is the output from IDLE after running the SLD to Mapnik converter.  Not sure what is going on.  All other SLD's without the  TextSymbolizer styling converts just fine.\r\n\r\n<pre>\r\n> c:\\users\\cschissler\\desktop\\testlsld_xml_conv\\geotools2mapnik.py(219)main()\r\n-> face_name = 'DejaVu Sans Book'\r\n(Pdb) \r\n\r\n</pre>\r\n","html_url":"https://github.com/springmeyer/geotools2mapnik/issues/1","title":"SLD to Mapnik <TextSymbolizer> issues","number":1,"id":2167465,"created_at":"2011-11-07T21:12:24Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/6d8bc56f7cf4ebdce66d027a7dbf2572?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"6d8bc56f7cf4ebdce66d027a7dbf2572","url":"https://api.github.com/users/cschissler","login":"cschissler","id":946657},"updated_at":"2011-11-09T20:37:21Z","url":"https://api.github.com/repos/springmeyer/geotools2mapnik/issues/comments/2686891","body":"Finally got the SLD to post by encoding the less than signs with html=)  Below is one of the complete SLDs which has the &lt;TextSybolizer&gt;\r\n\r\n<pre>&lt;StyledLayerDescriptor version=\"1.0.0\" xmlns=\"http://www.opengis.net/sld\" xmlns:ogc=\"http://www.opengis.net/ogc\"\r\n  xmlns:xlink=\"http://www.w3.org/1999/xlink\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\r\n  xsi:schemaLocation=\"http://www.opengis.net/sld http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd\"&gt;\r\n  &lt;NamedLayer&gt;\r\n    &lt;Name&gt;Default Polygon&lt;/Name&gt;\r\n    &lt;UserStyle&gt;\r\n      &lt;Title&gt;Default polygon style&lt;/Title&gt;\r\n      &lt;FeatureTypeStyle&gt;\r\n    &lt;Rule&gt;\r\n      &lt;MaxScaleDenominator&gt;18056&lt;/MaxScaleDenominator&gt;\r\n      &lt;PolygonSymbolizer&gt;\r\n        &lt;Stroke&gt;\r\n          &lt;CssParameter name=\"stroke\"&gt;#734C00&lt;/CssParameter&gt;\r\n          &lt;CssParameter name=\"stroke-linecap\"&gt;butt&lt;/CssParameter&gt;\r\n          &lt;CssParameter name=\"stroke-linejoin\"&gt;miter&lt;/CssParameter&gt;\r\n          &lt;CssParameter name=\"stroke-opacity\"&gt;.75&lt;/CssParameter&gt;\r\n          &lt;CssParameter name=\"stroke-width\"&gt;0.2&lt;/CssParameter&gt;\r\n          &lt;CssParameter name=\"stroke-dashoffset\"&gt;0&lt;/CssParameter&gt;\r\n        &lt;/Stroke&gt;\r\n      &lt;/PolygonSymbolizer&gt;\r\n    &lt;/Rule&gt;   \r\n    &lt;Rule&gt;   \r\n      &lt;MaxScaleDenominator&gt;3600&lt;/MaxScaleDenominator&gt;\r\n      &lt;TextSymbolizer&gt;\r\n        &lt;Label&gt;\"parcelid\"&lt;/Label&gt;\r\n        &lt;Font&gt;\r\n          &lt;CssParameter name=\"font-family\"&gt;DejaVu Sans Book&lt;/CssParameter&gt;\r\n          &lt;CssParameter name=\"font-size\"&gt;12&lt;/CssParameter&gt;\r\n          &lt;CssParameter name=\"font-style\"&gt;normal&lt;/CssParameter&gt;\r\n          &lt;CssParameter name=\"font-weight\"&gt;normal&lt;/CssParameter&gt;\r\n        &lt;/Font&gt;\r\n        &lt;LabelPlacement&gt;\r\n          &lt;PointPlacement&gt;\r\n            &lt;AnchorPoint&gt;\r\n              &lt;AnchorPointX&gt;.5&lt;/AnchorPointX&gt;\r\n              &lt;AnchorPointY&gt;.5&lt;/AnchorPointY&gt;\r\n            &lt;/AnchorPoint&gt;\r\n            &lt;Rotation&gt;0&lt;/Rotation&gt;\r\n          &lt;/PointPlacement&gt;\r\n        &lt;/LabelPlacement&gt;\r\n        &lt;Halo&gt;\r\n          &lt;Radius&gt;1.5&lt;/Radius&gt;\r\n          &lt;Fill&gt;\r\n            &lt;CssParameter name=\"fill\"&gt;#FBF8F8&lt;/CssParameter&gt;\r\n            &lt;CssParameter name=\"fill-opacity\"&gt;1.0&lt;/CssParameter&gt;\r\n          &lt;/Fill&gt;\r\n        &lt;/Halo&gt;\r\n        &lt;Fill&gt;\r\n          &lt;CssParameter name=\"fill\"&gt;#000000&lt;/CssParameter&gt;\r\n          &lt;CssParameter name=\"fill-opacity\"&gt;1.0&lt;/CssParameter&gt;\r\n        &lt;/Fill&gt;\r\n        &lt;VendorOption name=\"spaceAround\"&gt;3&lt;/VendorOption&gt;\r\n        &lt;VendorOption name=\"maxDisplacement\"&gt;100&lt;/VendorOption&gt;\r\n      &lt;/TextSymbolizer&gt;\r\n    &lt;/Rule&gt;\r\n      &lt;/FeatureTypeStyle&gt;\r\n    &lt;/UserStyle&gt;\r\n  &lt;/NamedLayer&gt;\r\n&lt;/StyledLayerDescriptor&gt;</pre>","id":2686891,"created_at":"2011-11-09T20:37:21Z"}}