artemp/mapnik — Issue #425: GetCapabilities don't work with common WMS clients
Author: artemp
Created: 2011-10-11 16:17:52+00:00
State: open
Labels: OGC_Server__WMS_

I tried the wms feature of mapnik under debian 5.0 with Apache mod_python. If I will open the GetCapabilities request in a WMS client like OpenJUMP or uDig, I got errors like NullPointerException and so on. The reason is the broken GetCapabilities XML which is generated by mapnik. I have to make several manual changes to get OpenJUMP parse the document error free. The problems are:

* There are many tags from the WMS namespace without a namespace prefix in the xml but there ist no default namespace defined.
* The href attribute lacks in the OnlineResource tag of the request descriptions for GetMap, GetCapabilities and GetFeatureInfo.
* The first layer element lacks a LatLonBoundingBox and BoundingBox element.
* The layer elements must have a title tag. If no title is set than you should use the name.