[Live-demo] [OSGeo] #1751: Mapnik python demo error
OSGeo
trac_osgeo at osgeo.org
Mon Jul 11 23:03:00 PDT 2016
#1751: Mapnik python demo error
-----------------------+-------------------------------------
Reporter: darkblueb | Owner: live-demo@…
Type: defect | Status: new
Priority: normal | Milestone: OSGeoLive10.0
Component: LiveDVD | Keywords: mapnik, python, jupyter
-----------------------+-------------------------------------
build 196; mapnik3 python;
run Jupyter, execute
http://localhost:8883/notebooks/projects/FIONA/fiona-shapely-
mapnik.ipynb
{{{
ArgumentError Traceback (most recent call
last)
<ipython-input-7-dd353890fe83> in <module>()
9 rule = mapnik.Rule()
10
---> 11 line_symbolizer = mapnik.LineSymbolizer(mapnik.Color('green'),0.4)
12 rule.symbols.append(line_symbolizer)
13
ArgumentError: Python argument types in
LineSymbolizer.__init__(LineSymbolizer, Color, float)
did not match C++ signature:
__init__(_object*)
}}}
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1751>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.
More information about the Live-demo
mailing list