Class GetMapParameters

  • Direct Known Subclasses:
    GetFeatureInfoParameters

    public class GetMapParameters
    extends Object
    Object representing a request to the GetMap operation. This simply parses the request and only does very basic sanity checking on the parameters (e.g. checking for valid integers).
    Author:
    Guy Griffiths
    • Constructor Detail

      • GetMapParameters

        public GetMapParameters​(RequestParams params,
                                WmsCatalogue catalogue)
                         throws EdalException
        Creates a new instance of GetMapParameter from the given RequestParams
        Parameters:
        params - A RequestParams object representing the URL parameters to parse
        catalogue - A WmsCatalogue. This is used to determine the Chronology of the dataset being referred to so that the time values can be parsed correctly
        Throws:
        EdalException - if the request is invalid
    • Method Detail

      • getWmsVersion

        public String getWmsVersion()
      • isAnimation

        public boolean isAnimation()
      • getAnimationTimesteps

        public List<org.joda.time.DateTime> getAnimationTimesteps()
      • getFrameRate

        public int getFrameRate()
      • getFormatString

        public String getFormatString()
        Returns:
        The supplied format string, regardless of whether it represents a supported image type