Hi, I am trying to connect to a remote wms server from QGIS using https with basic authentication. QGIS version is 1.5.0-4.3 for x86_64 on opensuse 11.3 (rpm from Application:Geo repo).
I have not been successful using the Layer > Add WMS Layer tool in QGIS. Ticket #2892 appears to refer to this issue. It looks like this will be fixed in QGIS 1.6.0. This is a show-stopper for me, in encouraging colleagues to use this software. I have come up with a workaround for a **secure** internal network, using mapserver wms client. It might be useful to others. URL: http://localhost/cgi-bin/mapserv?map=myproxy.map Mapfile: /srv/www/cgi-bin/myproxy.map MAP NAME "MyProxy" PROJECTION "init=epsg:1234" END WEB METADATA "wms_title" "Proxy for external https server" END IMAGEPATH "/tmp/ms_tmp/" # check that this is writeable by mapserver IMAGEURL "/ms_tmp" END LAYER NAME "MyRemoteLayer" TYPE RASTER STATUS ON CONNECTION "https://path/to/server?" CONNECTIONTYPE WMS METADATA "wms_title" "MyRemoteLayer" "wms_extent" "418829.9650 511786.6808 786046.9273 964701.5937" # extents from http://spatialreference.org/ref/epsg/1234/ "wms_auth_type" "basic" "wms_auth_username" "XXXXXX" # username here "wms_auth_password" "YYYYYY" # password here "wms_srs" "EPSG:1234" "wms_name" "Remote LayerNameFromCapabilities" "wms_server_version" "1.1.1" "wms_format" "image/jpeg" END END END Vincent Hussey
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users