Hello,
First of all, thank you for developing this great application!
I ran into a problem with a WMS service while building my application that I’m stuck on.
From this Discusion I have been able to successfully implement Stefan’s example. But when transferred to my needed WMS service I get nowhere. Below my Code:
Dim MyWms As New WmsLayer
Dim MyExtents As New Extents
MyExtents.SetBounds(337000, 5670000, 0, 680000, 6000000, 0)
MyWms.BaseUrl = "https://www.geobasisdaten.niedersachsen.de/doorman/noauth/wms_ni_dop"
MyWms.BoundingBox = MyExtents
MyWms.DoCaching = False
MyWms.Epsg = 25832
MyWms.Format = "image/png"
MyWms.Layers = "dop20"
MyWms.Name = "dop20"
MyWms.Version = tkWmsVersion.wv13
intLayerHandle = MyMap.AddLayer(MyWms, True)
MyMap.set_LayerVisible(intLayerHandle, True)
MyMap.Extents = MyExtents
MyMap.Redraw()
And a link to the WMS xml
Because of the log I have attached below, I assume that the image data has been loaded. Threr a few Errors but a lot of Tiles are loaded. Only nothing is displayed. Can someone please help me further?
By the way: In QGIS I can use this WMS Service.
Thanks in advance
Andreas
My Log:
17:46:41.597:
LOAD TILES: xMin=0; xMax=0; yMin=0; yMax=0; zoom =18
17:46:41.601: The same list of tiles can be used.
17:46:41.601:
LOAD TILES: xMin=0; xMax=3; yMin=0; yMax=3; zoom =2
17:46:41.607: The same list of tiles can be used.
17:46:42.823:
LOAD TILES: xMin=0; xMax=7; yMin=2; yMax=6; zoom =3
17:46:42.832: Queued to load from server: 30
17:46:42.834: Tiles requested; generation = 3
17:46:44.205: ERROR: 0; status 404 size 0 b https://www.geobasisdaten.niedersachsen.de/doorman/noauth/wms_ni_dop?request=GetMap&service=WMS&layers=dop20&crs=EPSG:25832&bbox=5752500.000000,465625.000000,5793750.000000,508500.000000&format=image/png&width=256&height=256&version=1.3.0&styles=
17:46:44.253: ERROR: 0; status 404 size 0 b https://www.geobasisdaten.niedersachsen.de/doorman/noauth/wms_ni_dop?request=GetMap&service=WMS&layers=dop20&crs=EPSG:25832&bbox=5793750.000000,379875.000000,5835000.000000,422750.000000&format=image/png&width=256&height=256&version=1.3.0&styles=
17:46:44.261: ERROR: 0; status 404 size 0 b https://www.geobasisdaten.niedersachsen.de/doorman/noauth/wms_ni_dop?request=GetMap&service=WMS&layers=dop20&crs=EPSG:25832&bbox=5835000.000000,422750.000000,5876250.000000,465625.000000&format=image/png&width=256&height=256&version=1.3.0&styles=
17:46:44.268: ERROR: 0; status 404 size 0 b https://www.geobasisdaten.niedersachsen.de/doorman/noauth/wms_ni_dop?request=GetMap&service=WMS&layers=dop20&crs=EPSG:25832&bbox=5835000.000000,551375.000000,5876250.000000,594250.000000&format=image/png&width=256&height=256&version=1.3.0&styles=
17:46:44.485: status 200 size 755 b https://www.geobasisdaten.niedersachsen.de/doorman/noauth/wms_ni_dop?request=GetMap&service=WMS&layers=dop20&crs=EPSG:25832&bbox=5876250.000000,379875.000000,5917500.000000,422750.000000&format=image/png&width=256&height=256&version=1.3.0&styles=
17:46:44.571: status 200 size 755 b https://www.geobasisdaten.niedersachsen.de/doorman/noauth/wms_ni_dop?request=GetMap&service=WMS&layers=dop20&crs=EPSG:25832&bbox=5752500.000000,422750.000000,5793750.000000,465625.000000&format=image/png&width=256&height=256&version=1.3.0&styles=
17:46:44.607: status 200 size 755 b https://www.geobasisdaten.niedersachsen.de/doorman/noauth/wms_ni_dop?request=GetMap&service=WMS&layers=dop20&crs=EPSG:25832&bbox=5752500.000000,508500.000000,5793750.000000,551375.000000&format=image/png&width=256&height=256&version=1.3.0&styles=
17:46:44.643: 17:46:44.643: status 200 size 755 b https://www.geobasisdaten.niedersachsen.de/doorman/noauth/wms_ni_dop?request=GetMap&service=WMS&layers=dop20&crs=EPSG:25832&bbox=5917500.000000,508500.000000,5958750.000000,551375.000000&format=image/png&width=256&height=256&version=1.3.0&styles=status 200 size 755 b https://www.geobasisdaten.niedersachsen.de/doorman/noauth/wms_ni_dop?request=GetMap&service=WMS&layers=dop20&crs=EPSG:25832&bbox=5917500.000000,422750.000000,5958750.000000,465625.000000&format=image/png&width=256&height=256&version=1.3.0&styles=
17:46:45.130: status 200 size 755 b https://www.geobasisdaten.niedersachsen.de/doorman/noauth/wms_ni_dop?request=GetMap&service=WMS&layers=dop20&crs=EPSG:25832&bbox=5793750.000000,551375.000000,5835000.000000,594250.000000&format=image/png&width=256&height=256&version=1.3.0&styles=
17:46:45.212: status 200 size 755 b https://www.geobasisdaten.niedersachsen.de/doorman/noauth/wms_ni_dop?request=GetMap&service=WMS&layers=dop20&crs=EPSG:25832&bbox=5876250.000000,551375.000000,5917500.000000,594250.000000&format=image/png&width=256&height=256&version=1.3.0&styles=
17:46:45.274: status 200 size 755 b https://www.geobasisdaten.niedersachsen.de/doorman/noauth/wms_ni_dop?request=GetMap&service=WMS&layers=dop20&crs=EPSG:25832&bbox=5752500.000000,379875.000000,5793750.000000,422750.000000&format=image/png&width=256&height=256&version=1.3.0&styles=
17:46:45.329: status 200 size 755 b https://www.geobasisdaten.niedersachsen.de/doorman/noauth/wms_ni_dop?request=GetMap&service=WMS&layers=dop20&crs=EPSG:25832&bbox=5752500.000000,551375.000000,5793750.000000,594250.000000&format=image/png&width=256&height=256&version=1.3.0&styles=
17:46:45.331: ERROR: 0; status 404 size 0 b https://www.geobasisdaten.niedersachsen.de/doorman/noauth/wms_ni_dop?request=GetMap&service=WMS&layers=dop20&crs=EPSG:25832&bbox=5917500.000000,551375.000000,5958750.000000,594250.000000&format=image/png&width=256&height=256&version=1.3.0&styles=
17:46:45.334: status 200 size 755 b https://www.geobasisdaten.niedersachsen.de/doorman/noauth/wms_ni_dop?request=GetMap&service=WMS&layers=dop20&crs=EPSG:25832&bbox=5917500.000000,379875.000000,5958750.000000,422750.000000&format=image/png&width=256&height=256&version=1.3.0&styles=
17:46:45.682: status 200 size 755 b https://www.geobasisdaten.niedersachsen.de/doorman/noauth/wms_ni_dop?request=GetMap&service=WMS&layers=dop20&crs=EPSG:25832&bbox=5835000.000000,337000.000000,5876250.000000,379875.000000&format=image/png&width=256&height=256&version=1.3.0&styles=
17:46:45.696: status 200 size 755 b https://www.geobasisdaten.niedersachsen.de/doorman/noauth/wms_ni_dop?request=GetMap&service=WMS&layers=dop20&crs=EPSG:25832&bbox=5835000.000000,594250.000000,5876250.000000,637125.000000&format=image/png&width=256&height=256&version=1.3.0&styles=
17:46:45.717: status 200 size 755 b https://www.geobasisdaten.niedersachsen.de/doorman/noauth/wms_ni_dop?request=GetMap&service=WMS&layers=dop20&crs=EPSG:25832&bbox=5793750.000000,337000.000000,5835000.000000,379875.000000&format=image/png&width=256&height=256&version=1.3.0&styles=
17:46:45.805: status 200 size 755 b https://www.geobasisdaten.niedersachsen.de/doorman/noauth/wms_ni_dop?request=GetMap&service=WMS&layers=dop20&crs=EPSG:25832&bbox=5876250.000000,337000.000000,5917500.000000,379875.000000&format=image/png&width=256&height=256&version=1.3.0&styles=
17:46:45.822: status 200 size 755 b https://www.geobasisdaten.niedersachsen.de/doorman/noauth/wms_ni_dop?request=GetMap&service=WMS&layers=dop20&crs=EPSG:25832&bbox=5793750.000000,594250.000000,5835000.000000,637125.000000&format=image/png&width=256&height=256&version=1.3.0&styles=