#670 closed defect (fixed)
terraserver WMS getcapabilities not understood
Reported by: | Owned by: | homann | |
---|---|---|---|
Priority: | major: does not work as expected | Milestone: | |
Component: | WMS | Version: | Trunk |
Keywords: | wms | Cc: | neteler |
Must Fix for Release: | No | Platform: | RedHat |
Platform Version: | Awaiting user input: | no |
Description
Hi,
when accessing http://terraserver.microsoft.com/ogccapabilities.ashx
QGIS is segfaulting...
Best, Markus
Change History (11)
comment:1 by , 17 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 17 years ago
Summary: | terraserver WMS leads to segfault → terraserver WMS getcapabilities not understood |
---|
The HEAD version, so trunk, updated right now. Ah, it no longer segfaults but returns to the menu. Very good.
Changing the topic to "terraserver WMS getcapabilities not understood".
After clicking "connect", I get
Could not understand the response. The wms provider said:
The file returned from http://terraserver.microsoft.com/ogccapabilities.ashx looks like XML to me (maybe not valid WMS?).
Markus
comment:3 by , 17 years ago
For me, it returns a list of layers. No errors there. This is both in latest trunk and 0.8 branch.
The layers do not draw, however.
comment:4 by , 17 years ago
Milestone: | → Version 0.8.1 |
---|
follow-up: 7 comment:5 by , 17 years ago
The problem is that terraserver uses different urls for GetCapabilities and GetMap:
http://terraserver.microsoft.com/ogccapabilities.ashx
and
http://terraservice.net/ogcmap.ashx
In my opinion, this is a strange interpretation of the WMS specification. Should qgis support several urls? I think if it is only terraserver, then not. If there are more wms servers like this out there, then probably yes.
comment:6 by , 16 years ago
Cc: | added |
---|
comment:7 by , 16 years ago
Replying to mhugent:
The problem is that terraserver uses different urls for GetCapabilities and GetMap:
http://terraserver.microsoft.com/ogccapabilities.ashx
and
http://terraservice.net/ogcmap.ashx
In my opinion, this is a strange interpretation of the WMS specification. Should qgis support several urls? I think if it is only terraserver, then not. If there are more wms servers like this out there, then probably yes.
Yes, this is strange, but legal. FWIW, in practice, I think this is one of the only WMS endpoints I've seen configured like this.
follow-up: 9 comment:8 by , 16 years ago
Apparently the URL has changed in meanwhile, now at: http://terraserver-usa.com/ogccapabilities.ashx
But the problem persits... for me it doesn't crash, just doesn't show any raster.
URL for GetMap request is advertised in GetCapabilities answer in element Capability -> Request -> GetMap -> DCPType -> HTTP -> Get -> OnlineResource
comment:9 by , 16 years ago
Replying to wonder:
Apparently the URL has changed in meanwhile, now at: http://terraserver-usa.com/ogccapabilities.ashx
But the problem persits... for me it doesn't crash, just doesn't show any raster.
URL for GetMap request is advertised in GetCapabilities answer in element Capability -> Request -> GetMap -> DCPType -> HTTP -> Get -> OnlineResource
Correct. The bulletproof thing to do would be to invoke a GetCapabilities request, pick up this value and use that as the GetMap server URL.
comment:10 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
fixed in r9462 by Vita Cizek - thanks for contribution!
Are you using trunk or 0.8 branch?