<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Andrea,
    <blockquote type="cite"
cite="mid:CAHEdGZO=L7NrZ+omfU3w_X87fXCcA93BQoYqiht5tBGMh71hsw@mail.gmail.com">
      <div dir="ltr">
        <div>if I run "gdalinfo -json WMSURL -sd 1", I can read a lot of
          info about it, but I do not see Dimension and its Extent in
          the json output (below an example from WMS request).</div>
        <div><br>
        </div>
        <div><Dimension name="time" units="ISO8601"/><br>
          <Extent name="time"
default="2024-03-01T00:00:00Z">2024-01-01T00:00:00.000Z,2024-01-02T00:00:00.000Z,2024-01-03T00:00:00.000Z,2024-01-04T00:00:00.000Z</Extent><br>
        </div>
        <div><br>
        </div>
        <div>I would like to have this, to create a <span
            class="gmail-ng">pipeline</span> automatic testing.<br>
        </div>
        <div><br>
        </div>
        <div>Is there a way to read these informations using gdalinfo or
          some other gdal cli utilities.</div>
      </div>
    </blockquote>
    <p>I don't think so. You'll have to issue the GetCapabilities
      request and parse its output by yourself</p>
    Even<span style="white-space: pre-wrap">
</span>
    <blockquote type="cite"
cite="mid:CAHEdGZO=L7NrZ+omfU3w_X87fXCcA93BQoYqiht5tBGMh71hsw@mail.gmail.com">
      <pre class="moz-quote-pre" wrap=""></pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
  </body>
</html>