...
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
Example request for a specific forecast using externalForecastTime and layers
Code Block |
---|
http://localhost:8080/FewsWebServices/wms?request=GetMap&version=1.3&externalForecastTime=2019-07-01T00:00:00Z&layers=france_gfs_T_forecasts&crs=EPSG%3A3857&time=2019-07-01T12:00:00Z&width=920&height=500&bbox=-1416930.666816287,5052492.089340451,1765482.757277179,6782064.602434729 |
Example request for a specific forecast using a layer name with external forecast time embedded in the layer name.
Code Block |
---|
http://localhost:8080/FewsWebServices/wms?request=GetMap&version=1.3&layers=france_gfs_T_forecasts-2019-06-24T00:00:00Z&crs=EPSG%3A3857&time=2019-07-01T12:00:00Z&width=920&height=500&bbox=-1416930.666816287,5052492.089340451,1765482.757277179,6782064.602434729 |
...
Get the legend image as png for a specified gridPlotId.
Request parameters
- layers (required): the gridPlotId of the gridPlot which legend should be displayed. Only one gridPlotId is supported.
- width (optional): width of the legend. Default is 150.
- height (optional): height of the image. The default is based on the number of legend items, 15 pixels per item.
Response
Transparent PNG image of the requested legend graphics for the specified gridPlotId and size.
Example request
Code Block |
---|
http://localhost:8181/FewsWebServices/wms?SERVICE=WMS&REQUEST=GetLegendGraphic&LAYERS=Precipitation%20GPM%20%5Bmm%5D&WIDTH=150&HEIGHT=400 |
Example png response
Properties
The following WMS specific properties can be configured in the FewsPiService.properties file. For more information on properties, see: FEWS Web Services configuration FewsPiService.properties
...