Open martin-bom opened 4 years ago
Hi @martin-bom, Which WMS layer were you trying to access? Could you please give me the url?
Hi @KeyboardSounds Emma,
It returned with "Missing valid BBOX parameter" error.
The image could be displayed successfully. Thank you.
Regards, Martin
I'm not sure if this will help but I ran into this problem when I upgraded Leaflet to 1.4 (from 0.7.7) and the following code (from memory) was a work-around for the bug listed above.
Note the separation of params being sent via the URL (sldParam
) and via Leaflet's params (layerParams
) argument with the addition of Leaflet's uppercase: true
option.
L.tileLayer.wms(config.spatialCacheUrl + sldParam, layerParams)
This will only help if TerriaJS is using LeafletJS code for WMS implementation...
We do use Leaflet for 2D, but our primary renderer is Cesium. Super useful to know though!
Hi Ana,
https://github.com/TerriaJS/terriajs/issues/4223
Recently we tried to submit a WMS request to ALA Australia through Data Viewer but returned the following error: Missing valid BBOX parameter
The underlying request to ALA does have the parameter "bbox" but is in lowercase. May I know if there is a configuration in json which can convert the parameter name to uppercase? Thank you.
Regards, Martin