Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to configure WMS tile source with empty VendorSpecificCapabilities tag

See original GitHub issue

I am trying to configure a WMS provider like such

string url = ",contour2&NUMZOOMLEVELS=22&TYPE=png&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=getcapabilities";
WmscTileSource.CreateFromWmscCapabilties(new Uri(url)).GetEnumerator().Current;

the return value is always null because the provider returns an empty <VendorSpecificCapabilities > tag and then WmscTileSource.ParseVendorSpecificCapabilitiesNode does not detect anything. In the unit tests I found the resource BruTile/Tests/BruTile.Tests/Resources/Wms/NrcsSoilWmsCapabilities_1_1_1.xml which also contains an empty <VendorSpecificCapabilities > tag so I believe there must be a way to configure this provider

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

lehmannkcommented, May 14, 2020

I got it working using @pauldendulk 's hint with the wms tile sample. Luckily the schema is a GlobalSphericalMercator so not too much fiddling was necessary. Thank you so much for your help. Awesome work !!!

FObermaiercommented, May 14, 2020

That service does not seem to work properly. Trying it with QGIS 3.10 does not return any images.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mapbender: failed to load WMS-layer / target elements not ...
Can someone tell me why the WMS layers cannot be loaded or why do I see just an empty screen? I simply cannot...
Read more >
Solved: coordinate system or tiling scheme can't be adjust...
So I choose WGS84 for my empty map. Then go to the Insert tab and choose Connections -> New WMS Server. Paste the...
Read more >
Geoserver sending empty vector tiles to Openlayers
I have setup a geoserver with Postgres/PostGIS data store and enabled the geoserver vectortiles plugin. After loading up layers in the geoserver ...
Read more >
Using WMS service layers—ArcMap | Documentation
The service layer properties Source tab displays information such as the map extent, data (service) type, URL, service name, and default coordinate system...
Read more >
WMS reference — GeoServer 2.24.x User Manual
Describes the operations the WMS service provides and the parameters and output formats for each operation. If desired GeoServer can be configured to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found