attempts to get vuelayers to show IA State nexrad

fiddles that use wms

page 1: WMS vl-source-image-wms

      <vl-source-image-wms :url.sync='baseURL' :layers.sync='layer' :version="version" :projection='projection' :cross-origin='crossOrigin' :ratio="ratio" :server-type='serverType'>
      </vl-source-image-wms>

page 2: WMS reload the USA states map

      <vl-source-wms ref="wmsSource"
        url="https://ahocevar.com/geoserver/wms"
        layers="topp:states"
        :ext-params="{ TILED: true }"></vl-source-wms>
    </vl-layer-tile>

page 3: source url

    <vl-layer-vector render-mode="image">
      <vl-source-vector ref="vectorSource" :url="currentUrl" />
    </vl-layer-vector>

page 6: wms getFeature

    <vl-layer-tile id="wms">
      <vl-source-wms ref="myWmsSource" url="https://ahocevar.com/geoserver/wms" layers="topp:states" :ext-params="{ TILED: true }" server-type="geoserver"/>
    </vl-layer-tile>

    this.featureInfoUrl = this.$refs.myWmsSource.getFeatureInfoUrl(evt.coordinate)

github issues: Need extParams for vector source #397
with vector sources you can define append custom get parameters to the url string.

github issues: Updating WMS url breaks createTileUrlFunction #357
Release v0.11.28
I'm using v0.11.22

It is being used in the new version of the National Weather Service radar application

from docs

vuelayers:

    Properties
    extParams
    Type: object

Example: {tiled: true, tilesOrigin: [0, 0]}

Extra parameters to be passed to the TileWMS constructor. Corresponds to params except that other properties like layers are specified separately.

OpenLayers:

examples: WMS Time

upgraded rserver

Feb 26, 1:55pm: upgraded vuelayers; got 0.11.31

PROBLEM:

https://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r-t.cgi?TIME=2020-02-19T14:00%3A30%3A00.000Z&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=nexrad-n0r-wmst&WIDTH=256&HEIGHT=256&CRS=EPSG%3A3857&BBOX=-10018754.171394622%2C3757032.814272983%2C-8766409.899970295%2C5009377.085697311

msDrawMap(): Image handling error. Failed to draw layer named 'nexrad-n0r-wmst'. msPostGISLayerWhichShapes(): Query error. Error executing query. Check server logs

BAD (TIME w:

    https://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r-t.cgi?
    TIME=2020-02-19T14:00%3A30%3A00.000Z&
    SERVICE=WMS&
    VERSION=1.3.0&
    REQUEST=GetMap&
    FORMAT=image%2Fpng&
    TRANSPARENT=true&
    LAYERS=nexrad-n0r-wmst&
    WIDTH=256&
    HEIGHT=256&
    CRS=EPSG%3A3857&
    BBOX=-10018754.171394622%2C3757032.814272983%2C-8766409.899970295%2C5009377.085697311

OL example page GOOD:

    https://mesonet.agron.iastate.edu/cgi-bin/wms/nexrad/n0r-t.cgi?
    SERVICE=WMS&
    VERSION=1.3.0&
    REQUEST=GetMap&
    FORMAT=image%2Fpng&
    TRANSPARENT=true&
    LAYERS=nexrad-n0r-wmst&
    TIME=2021-02-26T16%3A30%3A00.000Z&
    WIDTH=256&
    HEIGHT=256&
    CRS=EPSG%3A3857&
    STYLES=&
    BBOX=-15028131.257091932%2C5009377.085697312%2C-12523442.714243276%2C7514065.628545968