Giter VIP home page Giter VIP logo

Comments (4)

prl900 avatar prl900 commented on June 5, 2024

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.

asedgmen avatar asedgmen commented on June 5, 2024

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.

kdruken avatar kdruken commented on June 5, 2024

@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.

juan-guerschman avatar juan-guerschman commented on June 5, 2024

I had the same issue today (I think):
QGis V3.0.3.
image

from gsky.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.