This project is read-only.

WMS & Proxy

Jul 26, 2016 at 1:47 PM

I'm about to start a new application-development (VB.NET) for my new employer.
I need to load WMS and WFS layers that can only be accessed via proxy.
(Using MapWinGis for years now.)

I don't know how to realise this. Is it even possible?
Any help is appreciated!
Sep 27, 2016 at 2:46 PM
Sorry about the late response.

You can use a GDAL VRT file to load WMS and WFS layers. I think you can add proxies as well.


Oct 22, 2016 at 2:49 PM
Hi do you have an example?
May 4 at 3:23 PM

this is still a problem, I'm working on.
I tried Pauls recommendation, but instead of a GDAL VRT I used a GDAL XML to load then WMS-Service.
The XML looks like this:
  <Service name="WMS">
  <UserPwd>USERNAME:PASSWORD</UserPwd> --Username and Pasword for the HTTP-Proxy
I loaded this XML via AxMap1.LoadLayerFromFilename.

This works on some Services.
It has a number of drawbacks:
  • I can't add this layer to the legend.
  • I need to store a XML-file for every layer.
  • This XML-file contains the username and password (security issue!).
  • Performance is not so nice..
  • Some WMS-Services don't work.