Versions Compared

Key

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

...

Only the EPSG:3857 projection (WGS84 Web Mercator) is supported. Every gridPlot that has been configured in the grid display configuration represents a WMS layer.

ICT requirements

Requirements for the WMS service very much depend on the number of layers that are used and the size of the layer grids.

...

WMS

...

WMS Request methods

The available request methods with their supported parameters are described here.

...

http://localhost:8080/FewsWebServices/wms?SERVICE=WMS&VERSION=1.3&REQUEST=GetLegendGraphic&LAYERS=Wind_forecast_nwp

 


 

ICT requirements

 

Requirements for the WMS service very much depend on the number of layers that are used and the size of the layer grids.

 

To avoid memory issues the number of layers should be restricted and the tomcat server the FewWebServices.war file is running in should have sufficient memory. When many concurrent users are using the WMS service the CPU requirements will increase as well since all images have to be rendered at the same time.

 

Since the WMS service is stateless, it can be easily scaled up by using multiple tomcat instances and a load balancer in front.

 

Tomcat itself can also be tuned by specifying the number of concurrent requests. In case memory errors occur, the tomcat server.xml can be tuned to limit the number of concurrent requests. In the tomcat server.xml the maxThreads parameter specifies the maximum number of concurrent requests that are allowed. For Tomcat 7 this is set to 200 by default, which is quite a lot for a WMS service. See the following example where the tomcat server.xml has been configured with a maximum of 50 threads.

 

 

 

Code Block
<Connector port="8080" maxThreads="50" minSpareThreads="10" maxSpareThreads="20"
               enableLookups="false" redirectPort="4443" acceptCount="100"
               debug="0" connectionTimeout="60000" 
               disableUploadTimeout="true" />


Properties

The following WMS specific properties can be configured in the FewsPiService.properties file.

...