{"comment":{"created_at":"2011-10-11T14:53:32Z","body":"[springmeyer] Artem, have you review this issue yet?","updated_at":"2011-10-11T14:53:32Z","url":"https://api.github.com/repos/artemp/tickets2issues/issues/comments/2362421","id":2362421,"user":{"avatar_url":"https://secure.gravatar.com/avatar/941f68386168a8a6b60f2529a7830af7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/artemp","id":59056,"login":"artemp"}},"action":"created","issue":{"number":54,"created_at":"2011-10-11T14:53:30Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"ShieldSymbolizer works fine on linestrings, but causes a hang on 100% CPU when used on points. Textsymbolizer and Pointsymbolizer work fine for the text and icon drawing resectively, but shieldsymbolizer (i.e. combining them) doesn't.\r\n\r\n{{{\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<!DOCTYPE Map>\r\n<Map srs=\"+proj=merc +datum=WGS84  +k=1.0 +units=m +over +no_defs\">\r\n\r\n<Style name=\"shops\">\r\n    <Rule>\r\n      <MaxScaleDenominator>500000000000000000000000</MaxScaleDenominator>\r\n      <Filter>[shop]='bicycle'</Filter>\r\n      <ShieldSymbolizer file=\"/home/osm/vmap/symbols/rcn_nodenet_large.png\" name=\"shop\" face_name=\"DejaVu Sans Book\" type=\"png\" width=\"23\" height=\"23\" allow_overlap=\"true\"/>\r\n    </Rule>\r\n</Style>\r\n\r\n   <Layer name=\"amenity\" status=\"on\" srs=\"+proj=merc +datum=WGS84  +k=1.0 +units=m +over +no_defs\">\r\n    <StyleName>shops</StyleName>\r\n    <Datasource>\r\n      <Parameter name=\"type\">postgis</Parameter>\r\n      <Parameter name=\"host\">/var/run/postgresql</Parameter>\r\n      <Parameter name=\"user\">osm</Parameter>\r\n      <Parameter name=\"dbname\">gis</Parameter>\r\n      <Parameter name=\"table\">(select * from planet_osm_point where shop IS NOT NULL) as amenity</Parameter>\r\n      <Parameter name=\"estimate_extent\">true</Parameter>\r\n    </Datasource>\r\n   </Layer>\r\n</Map>\r\n}}}\r\n\r\nusing generate_image.py from openstreetmap for rendering.\r\n\r\nrev 574","comments":3,"title":"ShieldSymbolizer on points causes 100% cpu hang","updated_at":"2011-10-11T14:53:34Z","url":"https://api.github.com/repos/artemp/tickets2issues/issues/54","id":1875616,"assignee":null,"milestone":null,"closed_at":"2011-10-11T14:53:34Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/941f68386168a8a6b60f2529a7830af7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/artemp","id":59056,"login":"artemp"},"html_url":"https://github.com/artemp/tickets2issues/issues/54","labels":[{"name":"Core_Library","url":"https://api.github.com/repos/artemp/tickets2issues/labels/Core_Library","color":"FFFFFF"}],"state":"closed"},"legacy":{"issue_id":1875616,"comment_id":2362421}}