Hi
Usualy,I have no problem with WMS but with a URL, I have.
public WmsOverlay LoadWMSscanIGN(string _cheminProjet, string _crs)
{
var dbcache = System.IO.Path.Combine(_cheminProjet, "Cachetiles.db");
var wmsOverlay = new WmsOverlay();
wmsOverlay.ServerUris.Add(new System.Uri("http://mapsref.brgm.fr/wxs/refcom-brgm/refign?"));
wmsOverlay.Parameters.Add("LAYERS", "FXX_SCAN1000,FXX_SCANREG,FXX_SCAN100,FXX_SCAN25TOPO");
wmsOverlay.Parameters.Add("SRS", _crs);//"EPSG:2154"
wmsOverlay.Parameters.Add("FORMAT", "image/png");
wmsOverlay.Parameters.Add("STYLES", "");
wmsOverlay.Parameters.Add("VERSION", "1.3.0");
wmsOverlay.Name = "IGN";
wmsOverlay.TileCache = new SqliteBitmapTileCache(dbcache, "scanign");
return wmsOverlay;
}
On the screen, I have an error:
msWMSLoadGetMapParams:WMS server error:invalid format application/vnd…
I have not problem with QGIS or Mapinfo
Regards
Laurent M