Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

GetCapabilities: get the available layers and times available for each layer at the current system time. GetCapabilties will return its content as XML by default. A json format is supported as well, which is more convenient for web development.

GetMap

Get the plot image as png for a layer for a requested time, image size and extent. Only untiled images are supported, which means the complete image has to be requested for the complete extent.

 

Request parameters

  • LAYERS (string): id of the gridPlot that should be rendered. Only one id is allowed. 

documentVersion (string): File format version.

  • LAYERS (required): the layerId of the plot to display. Only one layerid is supported.
  • TIME (required): the time for which the grid has to be plotted. Only one time is supported. Time ranges are NOT supported. Time has to be 
  • WIDTH (optional): width of the image. Default is 800. 
  • HEIGHT (optional): height of the image. Default is 600
  • VERSION (optional): supported version is 1.3 and is the default if not set. Older versions might work, but are not supported
  • CRS (required): the output projection of the plot. Only supported projection is: EPSG:3857
  • BBOX (required): the bounding box (in the projection as defined by the SRS parameter) of the extent that should be plot

...

Example request

Code Block
"http://localhost:8080/FewsWebServices/wms?service=WMS&request=GetMap&version=1.1.13&layers=gissTemp_e2_h_grid%20decennially%201time=1859-01forecast_nwp&crs=EPSG%3A3857&time=2018-09-01T00%3A00%3A00.000Z&srs=EPSG%3A3857&width=920&height=500&bbox=-178850411261269.62627868140637805,-68878934786137.4928338025922323937,181198561921144.177170746283455659,126799856515710.748171324"435418212

Example

...

png response

Code Block
<?xml version="1.0" encoding="UTF-8"?>

...

Code Block
<?xml version="1.0" encoding="UTF-8"?>

 

GetMap

Get the plot image as png for a layer for a requested time, image size and extent. Only untiled images are supported, which means the complete image has to be requested for the complete extent.

Request parameters

  • LAYERS (string): id of the gridPlot that should be rendered. Only one id is allowed. 

documentVersion (string): File format version.

  • LAYERS (required): the layerId of the plot to display. Only one layerid is supported.
  • TIME (required): the time for which the grid has to be plotted. Only one time is supported. Time ranges are NOT supported. Time has to be 
  • WIDTH (optional): width of the image. Default is 800. 
  • HEIGHT (optional): height of the image. Default is 600
  • VERSION (optional): supported version is 1.3 and is the default if not set. Older versions might work, but are not supported
  • CRS (required): the output projection of the plot. Only supported projection is: EPSG:3857
  • BBOX (required): the bounding box (in the projection as defined by the SRS parameter) of the extent that should be plot

Supported vendor parameters:

  • SHOWCONTOURS (optional): Display contour lines if enabled in the gridplot. Default is false. Set to true to show contour lines.

Restrictions:

  • The product of width and height is limited to the full HD resolution of 1920x1200 to avoid memory issues. In case a GetMap request is done where WIDTH*HEIGHT > 2304000 a bad request error will be returned.

Response

Transparent PNG image of the requested gridPlot for the specified timeStep, size and extent.

Example request

Code Block
http://localhost:8080/FewsWebServices/wms?service=WMS&request=GetMap&version=1.3&layers=Temp_forecast_nwp&crs=EPSG%3A3857&time=2018-09-01T00%3A00%3A00.000Z&width=920&height=500&bbox=-1261269.140637805,4786137.922323937,1921144.283455659,6515710.435418212

Example png response

Image Added

GetLegendGraphic

GetLegendGraphic: Get the legend image as png for a layer.

...