Comments (4)
Current version of GSKY can serve legends using the request=GetLegendGraphic
url parameter. I've checked current WMS specs and it does not list GetLegendGraphic
nor GetLeg
as standard functionality.
I think Geoserver implements request=GetLegendGraphic
for publishing color scales and legends, which is what TerriaJS consumes, but I think it's their own standard.
Solving this issue could be as simple as adding GetLeg
as an alternative name for the legends functionality in the WMS switch clause at ows.go
.
@kdruken Could you do some research to find out if the legend output format for GetLeg
is the same as Geoserver's GetLegendGraphic
? Also, is this error caused using QGis native WMS functionalities or is it using a third party plugin?
from gsky.
This appears to be related to issue #15 that I raised, whereby the GetCaps document advertises URLs to legend graphics that don't exist. QGIS looks in the GetCaps document to obtain the legend graphic URL when loading the WMS layer, and is failing on the ones provided with this service because they don't exist.
I'm pretty sure that "GetLeg" above is just "GetLegendGraphic" in the QGIS error message being cutoff, i.e. I don't think QGIS is issuing a "GetLeg" request.
Note that the GetLegendGraphic operation is part of the OGC "Styled Layer Descriptor profile of the Web Map Service Implementation Specification".
from gsky.
@prl900 - apologies, sorry for confusion and not being more clear. Believe that it's just cutoff and is the GetLegend as @asedgmen says above.
Had a feeling it was probably related to one of those OGC issues- thanks @asedgmen!
from gsky.
I had the same issue today (I think):
QGis V3.0.3.
from gsky.
Related Issues (20)
- WCS GetCapabilities validation and content issues
- WCS DescribeCoverage validation and content issues
- WCS GetCoverage requests with large extents timing out HOT 1
- WCS issues of GSKY 1.1 at staging HOT 3
- Artefacts in aggregation over time
- Normalised MAS timestamps
- WMS GetMap and GetFeatureInfo requests erroneously require SERVICE parameter
- `landsat8_nbar_16day` available styles HOT 3
- `502 Server Error: Bad Gateway` when requesting 'large' bbox HOT 3
- timing out for drill() and warp() in gdal-process to avoid hanging IO
- deriving `ows_hostname` from http headers
- Can't get the Jupyter examples to work HOT 1
- WCS specify returned bands HOT 2
- Make all install issue in Ubuntu HOT 1
- Support for categorical colorscale HOT 5
- Problem getting WPS Geometry Drill Process data HOT 8
- Checking for unneccesary width/height parameters? HOT 1
- Clipping/mask WMS GetMap output dynamically using geometry passed in url params HOT 1
- Build failure on Arch Linux HOT 1
- All the documentation is gone! Dead project? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gsky.