title: WMS layer stretched vertically with Cesium
body: <p>I'm trying to serve WMS layers to a website using Cesium, by loading them on a Geoserver.</p>
  <p>The layers are extracted from NetCDF files and are successfully accessible through GetMap requests (<a href="https://i.stack.imgur.com/Mre6v.png" rel="nofollow noreferrer">here is an example of a map obtained with the request</a>).</p>
  <p>The layers are displayed on a globe through Cesium on a Javascript website. Here's the code used to provide the layer to the globe :</p>
  <pre><code>const provider = new Cesium.WebMapServiceImageryProvider({
      url: &quot;http://localhost:8600/geoserver/layers/wms&quot;,
      layers: &quot;temp&quot;,
      parameters: {
          styles: &quot;raster&quot;,
          format: 'image/png',
          transparent: 'true',
          colorscalerange: &quot;20,30&quot;,
          numcolorbands: &quot;254&quot;,
          opacity: &quot;100&quot;,
      }
  });
  this.viewer.scene.imageryLayers.addImageryProvider(provider);
  </code></pre>
  <p>With a previous dataset, I obtained a coherent superposition of the layer and the globe's map (<a href="https://i.stack.imgur.com/RHrfr.png" rel="nofollow noreferrer">correct layer</a>), but with our new one, the layer seems vertically stretched (<a href="https://i.stack.imgur.com/ksJVX.png" rel="nofollow noreferrer">strected layer</a>).</p>
  <p>When I tried to figure the origin of the problem, I noticed that the geographic scope based on the layer's data was lacking some degrees on the latitude with -83~83 instead of -90~90 (<a href="https://i.stack.imgur.com/wtQaa.png" rel="nofollow noreferrer">the geographic scope on Geoserver</a>). I tried to set a geographic scope corresponding to the full bounding box (-180, -90, 180, 90) but nothing changed.</p>
  <p>So my guess is that, since we have a lack of degrees vertically, and not horizontally, Cesium is trying to stretch the layer vertically to fit the entire globe. But what could be a solution to solve this problem, either by prevent Cesium from stretching the layer, or by making Geoserver fill the missing vertical degrees ?</p>