On 02.05.2011, at 19:46, Rob McCulley wrote:

> Hi All,
>  
> I’ve got a mapnik WMS server setup using WSGI.  The WMS server works fine 
> delivering images, but any XML output from the server includes various ‘ns0:’ 
> and ‘ns1’ items (see GetCapabilities example at the end).  These make it 
> appear as a non-valid WMS server to most applications.  Searching the 
> internet turned up a couple of results regarding this that stated all I 
> needed was to have ‘SERVICE=WMS’ in my request, but it already was in the 
> request.  Any ideas how to get rid of these?

I don't use ogcserver, but the nsX is habit of ElementTree, a Python XML 
library. You clients are broken if they expect a specific prefix (like wms, 
ows, etc.). You could patch the server, which should be easier that fixing the 
clients :)
See http://effbot.org/zone/element-namespaces.htm#element-tree-representation

Regards,
Oliver

-- 
Oliver Tonnhofer    | Omniscale GmbH & Co KG    | http://omniscale.de
http://mapproxy.org | https://bitbucket.org/olt | @oltonn




_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to