Hi,
I made some tests with two servers (http://demo.mapserver.org/cgi-bin/wms) and our own Mapserver v. 6.4.
I feel that Andrea managed to resolve at least most problems. There may be something left with schema validation though https + basic auth but I am not sure about that. There is also a trouble with cascading GetFeatureInfo: Geoserver is sendind the request by using INFO_FORMAT=application/vnd.ogc.gml and there is probably no way to change that. Mapservers usually (ever?) do not support that info_format and GetFeatureInfos fail. Most common info_formats are text/plain and text/html. I believe this is a missing feature and not a new bug in Geoserver.
Tests results:
-
An old Mapserver version 5.6.5 in (http://demo.mapserver.org/cgi-bin/wms). It seems to be easier to set up test servers than to update them to recent versions, demo.opengeo.org is running Geoserver 2.4 SNAPSHOT.
-
First SRS is EPSG:4326, supports also EPSG:3857 and a few other.
-
The server contains http://demo.mapserver.org/cgi-bin/wms?service=WMS&version=1.3.0&request=GetSchemaExtension
in WMS 1.3.0 GetCapabities.
-
Connection as WMS 1.3.0 PASSED
-
Connection as WMS 1.1.1 PASSED
-
Cascading WMS 1.3.0 as EPSG:4326 PASSED
-
Cascading WMS 1.3.0 as EPSG:3857 PASSED
-
Cascading WMS 1.1.1 as EPSG:4326 PASSED
-
Cascading WMS 1.1.1 as EPSG:3857 PASSED
-
Cascading WMS 1.1.1 as EPSG:3067 (not natively supported) PASSED, Geoserver sends requests as EPSG:4326 and re-projects into target SRS
Our own Mapserver 6.4.
-
Must be connected with https and basic auth
-
Supported projections for the test layer
EPSG:2393
EPSG:3067
EPSG:4326
EPSG:3857
Server contains https://xxx.fi/cgi-bin/xxx?service=WMS&version=1.3.0&request=GetSchemaExtension” in WMS 1.3.0 GetCapabilities
- Connection as WMS 1.3.0 NOT PASSED
Error is “Connection test failed: Failed to resolve https://xxx.fi/cgi-bin/xxx?service=WMS&version=1.3.0&request=GetSchemaExtension”
This works with demo.mapserver.org and announced URL returns a document to browser. Could it be that schema resolving is not successful because of https + basic auth because that seems to be the only difference?
-
Connection as WMS 1.1.1 PASSED
-
Cascading WMS 1.1.1 as EPSG:4326 PASSED
-
Cascading WMS 1.1.1 as EPSG:3857 PASSED
-
Cascading WMS 1.1.1 as EPSG:2393 PASSED (SRS natively supported by remote WMS)
-
Cascading WMS 1.1.1 as EPSG:3067 PASSED (SRS natively supported by remote WMS)
Test with another layer which does not support natively EPSG:3857
- Cascading WMS 1.1.1 as EPSG:3857 PASSED (not natively supported), Geoserver sends requests as EPSG:2393 which is the first on the list and re-projects into target SRS.
-Jukka Rahkonen-
···
Lähettäjä: Andrea Aime [mailto:andrea.aime@…1268…]
Lähetetty: 17. syyskuuta 2014 20:52
Vastaanottaja: Geoserver-devel
Aihe: [Geoserver-devel] Testing WMS cascading fixes
Hi,
I’m managed to squeeze in some time to look at the cascading issue (mostly by reducing
sleep hours, and a bit by keeping eclipse open in between customer meetings and
madly trying to get something done there), and believe I’ve committed a working solution
for this in geotools.
The next nightly build should have the fixes, can anybody try them out? I probably
won’t have any further time to look at this for the next… hum… 5-7 days.
Also, if anybody could kick the nightly build manually so that we have something
user testable today, that would be great.
Sorry it’s not much, but for this week it’s all I’ve managed to offer
Cheers
Andrea
–
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://twitter.com/geosolutions_it