With QGIS, I have added and configured WMS and WCS connections for parameter queries as per the applicable specifications and I am able to add the layers and view imagery. However, I have a need to make this work with path parameters requests (or path variable requests), such as:{id}/{time}

In this GetCapabilities request, {id} is an application specific identification string and {time} is the time associated with the desired image. This actually works for WMS. QGIS makes that GetCapabilities request, then figures out the right call to make a valid GetMap request, and QGIS receives imagery. However, I have not been able to get this to work for WCS with a similar request, such as:{id}/{time}

The GetCapabilities request works, but then QGIS fails to make the correct DescribeCoverage call. So, I've not been able to find anything in SPECS regarding URLs and path parameters, yet it works for WMS ... ? Does anyone else use URLs with path parameters as above? If someone does something similar, then do you have any guidance on how to make this work for WCS?

  • Parameters like this may work with your software, but such parameters are not part of the OGC WMS and WCS specifications, so it seems unlikely that the QGIS WMS and WCS drivers would work. – nmtoken Oct 27 '20 at 11:23
  • In the request like http://{application-id}&time={time-string}. the id={application-id}&time={time-string} components must surely be ignored. The purpose of the GetCapabilities response of the service, is to give all capabilities, not apply some filter like time or application – nmtoken Oct 27 '20 at 11:34

QGIS (3.16 Hannover) using WCS v1.0.0

Using the mapserver demo (with time) url


Time is selectable only via the Data Source Manager

ID is 0 to 3 in the list with Name and Title.

enter image description here

  • The URL in the answer is a query-parameter request, not a path-parameter request as the URL in the original question. Also, it does not seem correct that time is selectable only via Data Source Manager, because the following query parameter request works just fine: http://{application-id}&time={time-string}. Then, to clarify, "id" is our own application identifier. Sorry, maybe the original question was not worded well. Path-variable request URLs do work with WMS. Can path-variable request URLs also be used with WCS? – sherm008 Oct 27 '20 at 2:05

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.