{"comment":{"created_at":"2011-10-11T16:11:02Z","body":"[mishok13] This patch implements get_dash method for Stroke objects, which is not exactly requested, but Dane didn't see any point in having read-only property.","updated_at":"2011-10-11T16:11:02Z","url":"https://api.github.com/repos/artemp/mapnik/issues/comments/2366215","id":2366215,"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":317,"created_at":"2011-10-11T16:11:02Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"{{{\r\n#!python\r\nimport mapnik\r\n\r\ns = mapnik.Stroke()\r\ns.add_dash(0.5, 0.5)\r\n}}}\r\n\r\nI propose a 'dashes' property for the Stroke object so that the user can see dashes that have been added (or remove them).\r\n\r\nFrom the LineSymbolizer page:\r\n\r\n\"A pair of length values [a,b], where (a) is the dash length and (b) is the gap length respectively. More than two values are supported as well (e.g. to start the line not with a stroke, but with a gap).\"","comments":1,"title":"Python bindings for Stroke don't have access to dash array","updated_at":"2011-10-11T16:11:03Z","url":"https://api.github.com/repos/artemp/mapnik/issues/317","id":1877461,"assignee":null,"milestone":{"number":7,"created_at":"2011-10-11T15:50:22Z","due_on":"1970-01-01T09:20:47Z","title":"0.6.1","creator":{"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"},"url":"https://api.github.com/repos/artemp/mapnik/milestones/7","open_issues":1,"closed_issues":37,"description":"== Bugfix and Usability Release ==\r\n\r\n (For all the details see the [http://trac.mapnik.org/wiki/Release0.6.1 CHANGELOG])\r\n\r\n * Major push on python pickling support (#345)\r\n * Smoother Scons builds through improved Auto-Detection of Boost install\r\n * Adding a testing framework that uses nose:\r\n{{{\r\nsudo easy_install nose\r\npython tests/run_tests.py\r\n}}}\r\n * Optional Serialization of default values in xml\r\n * Lots of PPC/endian fixes (still some needed for color support in milestone:0.6.2)\r\n * Fixes to the OGR/GDAL/SQLite and Raster plugins\r\n * libxml2 is the new xml parser in Windows binaries and requires escaping otherwise illegal characters with entities like &gt; and &lt; for > and <\r\n * All relative paths in the xml file used for datasources and symbols are now interpreted as relative to the XML file (r1124). Use\r\n{{{\r\n<Map paths_from_xml=\"false\">\r\n}}}\r\nto maintain previous behavior which was to interpret paths relative to the location of the script calling load_map().","state":"open"},"closed_at":null,"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/mapnik/issues/317","labels":[{"name":"Boost_Python_Binding","url":"https://api.github.com/repos/artemp/mapnik/labels/Boost_Python_Binding","color":"FFFFFF"}],"state":"open"},"legacy":{"issue_id":1877461,"comment_id":2366215}}