I have added a new WMS Service, and while I am able to query the capabilities, it is not able to show the layers. I am hoping to display USGS DRG's.
Service: http://www.terraservice.net/ogccapabilities.ashx?
It finds three layers, DOQ, UrbanArea, and DRG. But when displayed, it also shows the following messages:
* Error loading images for DOQ.
* Error loading images for UrbanArea.
* Error loading images for DRG.
I actually get this on many WMS servers I try, including NASA onearth...
Do I get this because I'm trying to view these maps at certain (unsupported) resolutions or extents? I realize this is likely not a Mapping Kit issue, but figure you probably know why I get this message.
Comments
Comment #1
jpulles commentedTo find out what is happening you can have a look at the result of the capabilities request and also try find out what is the response to the image requests done by the page (see in firefox the media tab of the page info).
Problem with this wms is that the getmap image request must be done to a different service according to the capabilities: the capabilities url is http://www.terraservice.net/ogccapabilities.ashx?request=getcapabilities... while a map can be request by e.g. http://www.terraservice.net/ogcmap.ashx?LAYERS=DOQ&FORMAT=image%2Fjpeg&S....
The wms content type expects the same url for capabilities and map requests, and cannot handle this at this time.
Comment #2
dpw commentedThanks, I really appreciate your comment. This helped me, so I am closing this request.
I will pay a bit more attention to the getcapabilities, and the example URL your provided was very helpful in that I hadn't been adding other attributes to the URL when using the Map Context type. I have been able to get the DRG working now. It seems that some services require extra parameters while some don't.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.