[ckan-dev] ckan-spatial, WMS Viewer

Guillaume Sueur no-reply at neogeo-online.net
Wed Apr 17 10:33:28 UTC 2013


Hi list,

I've been looking for why the WMS preview doesn't work on my fresh CKAN 
2.0 installation. I've found out (in wms_preview.js) that the 
getCapabities URL seems wrong when it gives :
/packages?id=wms-geologie-brgm&resource_id=4a198fbc-0589-4a24-977b-bb037650c229&SERVICE=WMS&REQUEST=GetCapabilities&VERSION=1.1.1

When the getCapabilities request is done, it's the content of the CKAN 
package page which is returned, instead of proxyfying to the WMS service.

I don't understand why it behaves like that. I may have missed a setting.


Any clue ?

Thanks

Guillaume






More information about the ckan-dev mailing list