Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#1064 closed task (fixed)

mapnik quickstart python tutorial broken

Reported by: hamish Owned by: live-demo@…
Priority: normal Milestone: OSGeoLive6.5
Component: OSGeoLive Keywords: 6.5, mapnik



the mapnik quickstart tells you to do:

import mapnik
m = manik.Map

but the new version of the package ships as "mapnik2".

possible solutions are s/mapnik/mapnik2/ in the python code snippet, or import mapnik2 as mapnik and leave the rest of the code using mapnik.*.

thanks, Hamish

Change history (3)

comment:1 by hamish, 11 years ago

I have updated the quickstart to use "mapnik2".


comment:2 by hamish, 11 years ago

Resolution: fixed
Status: newclosed

updated & tested.

comment:3 by hamish, 11 years ago

(translations still need fixing though)

Note: See TracTickets for help on using tickets.