#1751: Mapnik python demo error
-------------------------------------+----------------------------
 Reporter:  darkblueb                |       Owner:  live-demo@…
     Type:  defect                   |      Status:  new
 Priority:  normal                   |   Milestone:  OSGeoLive10.0
Component:  LiveDVD                  |  Resolution:
 Keywords:  mapnik, python, jupyter  |
-------------------------------------+----------------------------

Comment (by sebastic):

 Based on the demo code included in Mapnik
 ([https://github.com/mapnik/mapnik/blob/master/demo/python/rundemo.py#L161
 demo/python/rundemo.py]), the notebook code should probably be rewritten
 to:
 {{{
 line_symbolizer = mapnik.LineSymbolizer()
 line_symbolizer.stroke = mapnik.Color('green')
 line_symbolizer.stroke_width = 0.4
 rule.symbols.append(line_symbolizer)
 }}}

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1751#comment:3>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.
_______________________________________________
Live-demo mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/live-demo
http://live.osgeo.org
http://wiki.osgeo.org/wiki/Live_GIS_Disc

Reply via email to