Closed bunnis closed 8 years ago
The service you are trying to use is a WMTS (tiling service), not a WMS. The generic OpenLayers viewer you are using does not currently support the WMTS standard.
There's a leaflet-based WMTS plugin (named 'wmts_view') you can try.
I thought they were the same! The plugin didn't automatically added the view, so I manually added WMS as teh resource type. Ill tried it out, from WMS to WMTS and i got a 409 error, but I guess that is from the server! thank you
Trying to use a WMS service (http://maps.ipma.pt/mapserv?map=/var/www/maps/forecasts/meteorology/arome_pt_2_10uv.map) produces the same error
Right, that's likely the service proxy that dumps the 'map' parameter when proxying the capabilities. FYI, that's specific to mapserver implementations. Will look into fixing that.
It looks like duplicate of https://github.com/ckan/ckanext-geoview/issues/32
I've made PR https://github.com/ckan/ckanext-geoview/pull/42, please review it.
Thank you Denis, will merge, and apologizes for overlooking your fix.
Ups sorry @pduchesne I didn't saw you were meaning to review and merge #42
no worry, thank you @amercader .
One comment on this fix : stripping parameters in the js lib was on purpose, in the case where OGC services are registered with URL parameters like service, version, request, ... In that case, not stripping the parameters at all may cause such resources to fail being displayed. I'll look into a "smart" stripping strategy.
@bunnis can we close this issue?
Did this get fixed? I see you guys talk about merging PR but nothing got merged, so this issue's still open, right?
Ok! Thanks for the clarification.
@bunnis, are these changes solves your original issue?
Just Tested and they do work, thank you
When trying to view a WMS resource, using http://services.arcgisonline.com/arcgis/rest/Demographics/USE_Population_Density/MapServer/WMTS or other public wms