In QGIS, is there a way to bypass / ignore an inaccurate WMS bounding box provided by server metadata?

Indeed, for a specific WMS layer I am using, the bounding box provided by server metadata does not match the underlying data's extent (some data exist out of the "official" bounding box delivered by metadata request). Thus, I would like to prevent QGIS from using the inaccurate metadata so that I can see all of the data.

  • Please decide which of QGIS and ArcGIS Desktop you wish to ask about in this particular question. – PolyGeo Apr 12 '19 at 8:25
  • The EX_GeographicBoundingBox is only intended as a hint to the total extent of the data available in the service / or layer. A WMS GetMap request can be made with any bounding box. – nmtoken Apr 12 '19 at 9:31
  • Indeed, a WMS GetMap can be made with any bounding box, thing is QGIS trust the layer's EX_GeographicBoundingBox metadata as factual and seems not to query GetMap requests out of this inaccurate extent. – user140350 Apr 12 '19 at 9:44
  • seems not? Perhaps the service has some restriction that doesn't allow such a query to render output, but it's not a restriction of QGIS. For example here's a GetMap request generated by QGIS ogc2.bgs.ac.uk/cgi-bin/UGA_ARGID/… that's way outside the bounding box of the layer specified in the metadata – nmtoken Apr 12 '19 at 9:55
  • Weird... (my QGIS version is 3.2.2-Bonn). It cannot be a service restriction since a manual WMS request (= with a hard-coded bbox out of metadata extent) give some data but I have no mean in QGIS to see this data (in QGIS I only see data in the metadata extent). – user140350 Apr 12 '19 at 11:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.