运行程序时出现以下错误:AttributeError:'模块'对象没有属性'stroke_linecap'
sym = mapnik.LineSymbolizer()
sym.stroke = mapnik.Stroke(mapnik.Color(171,158,137), 0.5)
sym.stroke_width = 2
sym.stroke_linecap = mapnik.stroke_linecap.ROUND #Error is here
守候你守候我
相关分类