Hi everyone!

First, I'm using Windows XP + OsGeo4w's Python 2.5, and Mapnik 0.71.

I've been able to get the ogcserver.wsgi app running (under
wsgiref.simple_server) and serving the standard welcome page:

-----------------
Welcome to the Mapnik OGCServer.

Ready to accept map requests...

For more info see: trac.mapnik.org
-----------------

But that's just about all it *ever* returns. It WILL complain if I
request a service, but don't provide a request=

http://localhost:8000/?SERVICE=WMS&;
OGCException: Missing request parameter.

Anything else gets me the welcome message
http://localhost:8000/?SERVICE=WMS&REQUEST=GetCapabilities
http://localhost:8000/?SERVICE=WMS&REQUEST=Fake

I don't know if this is important or not, but when I specify
strict=True in the Factory call to loadXML, it fails with Boost
errors:

---------------------
Traceback (most recent call last):
  File "C:\Documents and Settings\karchner\My Documents\Aptana Studio
Workspace\unicamap\src\wms.py", line 12, in <module>
    application = WSGIApp('ogcserver.conf')
  File "C:\mapnik-0.7.1\python\2.5\site-packages\mapnik\ogcserver\wsgi.py",
line 44, in __init__
    self.mapfactory = getattr(mapfactorymodule, 'WMSFactory')()
  File "C:\Documents and Settings\karchner\My Documents\Aptana Studio
Workspace\unicamap\src\mapnikserv.py", line 9, in __init__
    self.loadXML('map.xml', strict="true")
  File "C:\mapnik-0.7.1\python\2.5\site-packages\mapnik\ogcserver\WMS.py",
line 52, in loadXML
    load_map (tmp_map, xmlfile, strict)
Boost.Python.ArgumentError: Python argument types in
    mapnik._mapnik.load_map(Map, str, str)
did not match C++ signature:
    load_map(class mapnik::Map {lvalue}, class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >)
    load_map(class mapnik::Map {lvalue}, class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >, bool)
------------------------

Any pointers or guidance would be appreciated.
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to