I have started the installation process again following the instructions at http://trac.mapnik.org/wiki/WindowsInstallation
When I get to step 6, there is no c:\mapnik_0_6_1\demo\python folder so I can't run rundemo.py Please advise. Regards, Peter Peter Spurgeon Corporate GIS Manager Telephone: 020 7974 5614 -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Artem Pavlenko Sent: 20 October 2009 17:12 To: Spurgeon, Peter Cc: [email protected] Subject: Re: [Mapnik-devel] No plugin found for type 'shape' 2009/10/20 Spurgeon, Peter <[email protected]>: > Hi > > Here is the paths.py file > > mapniklibpath="c:\mapnik_0_6_1\lib\mapnik" > inputpluginspath=mapniklibpath + "c:\mapnik_0_6_1\plugins\input" I think inputpluginspath should be : inputpluginspath=mapniklibpath + "\input" !!! Regards, Artem > fontscollectionpath = mapniklibpath + "\fonts" > > > Another issue is that I don't think the mapnik_0_6_1 folder contains all the > required sub-folders. I had to take the demo and plugins folders from the > stable repository. I edited the path.py file so that the paths to lib\mapnik > and plugins are correct but the error is still produced. > > Peter Spurgeon > Corporate GIS Manager > > Telephone: 020 7974 5614 > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Artem Pavlenko > Sent: 20 October 2009 16:52 > To: [email protected] > Subject: Re: [Mapnik-devel] No plugin found for type 'shape' > > Hi Peter, > > Could you post content of : > > C:\mapnik_0_6_1\site-packages\mapnik\paths.py > > Regards, > Artem > > 2009/10/20 Spurgeon, Peter <[email protected]>: >> Hi >> >> >> >> When I run rundemo.py on Windows, I get the following error messages: - >> >> >> >> Traceback (most recent call last): >> >> File "C:\mapnik_0_6_1\demo\python\rundemo.py", line 59, in <module> >> >> provpoly_lyr.datasource = >> Shapefile(file='C:\mapnik_0_6_1\demo\data\boundaries', encoding='latin1') >> >> File "C:\mapnik_0_6_1\site-packages\mapnik\__init__.py", line 132, in >> Shapefile >> >> return CreateDatasource(keywords) >> >> UserWarning: Could not create datasource. No plugin found for type 'shape' >> >> >> >> >> >> Please advise. >> >> Regards, >> >> Peter >> >> >> >> Peter Spurgeon >> Corporate GIS Manager >> Camden Corporate ICT >> Organisation Development >> London Borough of Camden >> >> Telephone: 020 7974 5614 >> Fax: 020 7974 5860 >> Web: camden.gov.uk >> >> 1st floor >> 3 - 5 Cressy Road >> 3 - 5 Cressy Road >> London NW3 2ND >> >> Please consider the environment before printing this email. >> >> >> >> This e-mail may contain information which is confidential, legally >> privileged and/or copyright protected. This e-mail is intended for the >> addressee only. If you receive this in error, please contact the sender and >> delete the material from your computer >> >> _______________________________________________ >> Mapnik-devel mailing list >> [email protected] >> https://lists.berlios.de/mailman/listinfo/mapnik-devel >> >> > _______________________________________________ > Mapnik-devel mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/mapnik-devel > > This e-mail may contain information which is confidential, legally privileged > and/or copyright protected. This e-mail is intended for the addressee only. > If you receive this in error, please contact the sender and delete the > material from your computer > _______________________________________________ > Mapnik-devel mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/mapnik-devel > This e-mail may contain information which is confidential, legally privileged and/or copyright protected. This e-mail is intended for the addressee only. If you receive this in error, please contact the sender and delete the material from your computer _______________________________________________ Mapnik-devel mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-devel
