Opened 18 years ago
Closed 18 years ago
#50 closed defect (fixed)
WMS: Failure connecting to http://www.premis.cz/atlaszp/isapi.dll
Reported by: | gregboone | Owned by: | gregboone |
---|---|---|---|
Priority: | major | Milestone: | 3.2.2 |
Component: | FDO API | Version: | 3.2.1 |
Severity: | 2 | Keywords: | WMS |
Cc: | External ID: |
Description ¶
Connect to the following WMS server:
http://www.premis.cz/atlaszp/isapi.dll
The WMS provider throws the following error:
"A WMS layer has no name or title. "
Change History (2)
comment:1 by , 18 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Author: gregboone Date: 2007-03-22 22:51:12 -0400 (Thu, 22 Mar 2007) New Revision: 2708 Reviewed By: romicadascalesu
Modified:
trunk/Providers/WMS/Src/Provider/FdoWmsConnection.cpp
Log:
Ticket #50: WMS: Failure connecting to http://www.premis.cz/atlaszp/isapi.dll
Note:
See TracTickets
for help on using tickets.
After examining the WMS Server’s GetCapabilities response
<http://www.premis.cz/atlaszp/isapi.dll?service=wms&version=1.3&request=getcapabilities>
I believe the error is caused by the following XML element in the response
-<Layer queryable="0" opaque="0" noSubsets="0">
The FDO WMS Provider expects that a layer have a name or title defined and throws an error if one is not found. If I relax the check inside the provider, the connection can be made and WMS layer retrieved.