Tag Info

Hot answers tagged

3

I believe that the url you provide to the QgsRasterLayer needs to be url encoded. Otherwise it seems that the url parameter which you pass to the QgsRasterLayer splits upon the '&' character. The following snippet demonstrates the creation of a QgsRasterlayer for Cochlearia danica L. wmsService = ...


3

Other than tile size, as noted by @Irssvt, you can also set some timeout and tile retry parameters. Default timeout per connection is in Settings->Options->network->Timeout for network requests Retry in case of timeout is in Settings->Options->network->Max retry in case of tile request errors. I coded the last retry parameters in QGIS, ...


2

Sometime that could occurs with slow connection. You could try to set a tile size for your WMS layer. Change Tile size (e.g 256x256) in WMS Connecition dialog and you see if it works for you: Sometime it helped me for large compositions. Hope this helps.


2

basically use &TIME=value at the end of the WMS request. For a range of values you need to use &TIME=start/end. If you look in the GetCapabilities response you will see the values of time that will work. See this tutorial for a brief explanation.


1

The thing is that the legend of a wms service is actually an image. Having said that how can you display an image inside the tree? what I usually do is either use the Legend Panel, which i can understand is neither handy or neat or use an event to manually get the legend of the layer and display it somewhere more handy. for example: ...


1

Add the hyperlink to the legend in the "Link" box in the Lizmap Plug in. in info button will appear next to the layer and clicking on it will bring up the legend.


1

Your problem seems to be investigated on the GeoServer developer mailing list in this thread Summary Cascading WMS from the Polish geoportal is failing because the server does not accept Java as a User-Agent in the http headers. I recommend to contact the administrators of the geoportal because this behavior it preventing the use of the WMS service with ...


1

Using the WMSGetFeatureInfo method, the way to pass along viewparams is by using vendorparams and and assigning the viewparams in the eventlistener before the callback function retrieving the "click result" from the WMS layer click_info = new OpenLayers.Control.WMSGetFeatureInfo({ title: 'Identify features by clicking', layers: ...



Only top voted, non community-wiki answers of a minimum length are eligible