Help visualizing WMS layer
See original GitHub issueI am trying to render the following WMS layer into ipyleafle, but I can get it to workt:
from owslib.wms import WebMapService
wms_url = 'http://nbstds.met.no/thredds/wms/NBS/S3A/2019/09/27/OLCI/S3A_OL_1_EFR____20190927T095206_20190927T095506_20190927T114949_0180_049_350_1800_LN1_O_NR_002.nc?'
wms = WebMapService(wms_url, version='1.3.0')
wms_layers = list(wms.contents)
"""
wms_layers
['Oa01_radiance',
'Oa02_radiance',
'Oa03_radiance',
'Oa04_radiance',
'Oa05_radiance',
'Oa06_radiance',
'Oa07_radiance',
'Oa08_radiance',
'Oa09_radiance',
'Oa10_radiance',
'Oa11_radiance',
'Oa12_radiance',
'Oa13_radiance',
'Oa14_radiance',
'Oa15_radiance',
'Oa16_radiance',
'Oa17_radiance',
'Oa18_radiance',
'Oa19_radiance',
'Oa20_radiance',
'Oa21_radiance',
'altitude',
'quality_flags'
"""
wms['Oa01_radiance'].crsOptions
"""
['EPSG:900913',
'CRS:84',
'EPSG:3408',
'EPSG:27700',
'EPSG:32661',
'EPSG:32761',
'EPSG:3409',
'EPSG:3857',
'EPSG:41001',
'EPSG:4326']
"""
wms_layer = WMSLayer(url=wms_url, layers=wms_layers[21], format='image/png')
m = ipyleaflet.Map(zoom=5, center=(66, 8))
m.add_layer(wms_layer)
m
The wms loads correctly in GIS (e.g.: QGIS) this its GetCapabilities
I tried settings several options like CRS
- with no luck.
Do you have any advice on how to render one of its layer?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Using WMS service layers—Help | Documentation
Right-click the WMS service layer in the table of contents and click Properties. · Click the Layers tab. · Click Just the layers...
Read more >How to add a WMS layer to your project - YouTube
Selected web map services ( WMS ) layers are provided as georeferenced map images to assist with visualisation of models.
Read more >Add and visualize web map service (WMS) layers - Geokov
Add web map service ( WMS ) data layers from different sources and create a mashup with Geokov map maker. Geokov - http://geokov.com, ......
Read more >Correct parameters to visualize WMS layers in Leaflet and ...
I have QGIS installed, and I can successfully add the layers into a QGIS project and visualize them by doing "Layer -> Add...
Read more >Choosing the best model to visualize WMS data in LuciadRIA
You have two options for visualizing Web Map Service (WMS) data in LuciadRIA: you can either visualize it as tiled data or as...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Should we close this issue?
Indeed, this would be on the LeafletJS side.