Hi,

Hopefully you will get encouraging response from this list and someone says 
that it is actually pretty easy to install Mapnik as WMS on Windows.  I did not 
manage to do it myself but it was a long time ago and I have not tried to do it 
lately.
For comparison, I have been preparing a a Mapserver OSM starter package and 
manual for setting up your first OpenStreetMap WMS server in ten minutes.  The 
draft of the manual is here
http://latuviitta.org/documents/Super_easy_WMS_server.pdf
and the starter package which is not totally the same as described in the 
manual is here
http://hip.latuviitta.org/tiedostot/Latuviitan_superhelppo_WMS_OSM_versio.zip

The zip is 227 MB because it comes with demo data (OSM data from Berlin as 
Spatialite database, Hamburg shapefiles and Finland shapefiles).  I hope there 
will be just as easy way to install Mapnik on Windows sometimes in the future. 
If Mapnik already renders faster from PostGIS than Mapserver the next thing to 
do could be to make it faster to install, too!

-Jukka Rahkonen-
________________________________________
Lähettäjä: [email protected] 
[[email protected]] käyttäjän Jill 
[[email protected]] puolesta
Lähetetty: 21. syyskuuta 2011 20:18
Vastaanottaja: [email protected]
Aihe: [Mapnik-users] Unable to make Mapnik work as WMS OGC server

Hello!

I installed Mapnik with OSGeo4W, so I have Mapnik v0.7.0 and Python 2.5.2...
Mapnik seems to work from the OsGeo4W shell, in fact I completed the first
Mapnik tutorial on the website. After that, I managed to install the Mapnik
OGCServer package (having previously installed PIL v1.1.7, lxml v2.2 and
Jon's python modules).

On the other hand, I have an Apache 2.2 server running, and I tried to
follow these steps to get the wms service running:

http://code.google.com/p/mapnik-utils/wiki/WmsInstallGuide

but I always get this message in Apache's log:

"[Wed Sep 21 18:59:39 2011] [error] [client 127.0.0.1] Premature end of
script headers: mapnikwms.py
[Wed Sep 21 18:59:39 2011] [error] [client 127.0.0.1] 'import site' failed;
use -v for traceback\r
[Wed Sep 21 18:59:39 2011] [error] [client 127.0.0.1] Traceback (most recent
call last):\r
[Wed Sep 21 18:59:39 2011] [error] [client 127.0.0.1]   File
"C:/appserv/Apache2.2/htdocs/mapnikserv/mapnikwms.py", line 7, in <module>\r
[Wed Sep 21 18:59:39 2011] [error] [client 127.0.0.1]     from
mapnik.ogcserver.cgiserver import Handler\r
[Wed Sep 21 18:59:39 2011] [error] [client 127.0.0.1] ImportError: No module
named mapnik.ogcserver.cgiserver\r"

What am I missing? Please I need help with this issue, it is the first time
I try to setup a WMS server...

Thanks!

--
View this message in context: 
http://gis.638310.n2.nabble.com/Unable-to-make-Mapnik-work-as-WMS-OGC-server-tp6816958p6816958.html
Sent from the Mapnik Users mailing list archive at Nabble.com.
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to