Class WPS2DM


  • public class WPS2DM
    extends Object
    Author:
    Giancarlo Panichi
    • Constructor Detail

      • WPS2DM

        public WPS2DM()
    • Method Detail

      • manageBoundingBoxInformation

        public static Parameter manageBoundingBoxInformation​(String title,
                                                             int minOcc,
                                                             int maxOcc,
                                                             int rangeOccs,
                                                             String id,
                                                             String crs)
        Parameters:
        title - title
        minOcc - min occurrences
        maxOcc - max occurrences
        rangeOccs - range occurrences
        id - id
        crs - crs
        Returns:
        parameter
      • manageLiteral

        public static Parameter manageLiteral​(String title,
                                              int minOcc,
                                              int maxOcc,
                                              int rangeOccs,
                                              String defaultValue,
                                              String id,
                                              String uoms,
                                              net.opengis.ows.x11.DomainMetadataType type)
        Parameters:
        title - title
        minOcc - min occurrences
        maxOcc - max occurences
        rangeOccs - range occurrences
        defaultValue - default value
        id - id
        uoms - uoms
        type - type
        Returns:
        parameter
      • manageComplexData

        public static Parameter manageComplexData​(String maxMegaBytes,
                                                  String title,
                                                  int minOcc,
                                                  int maxOcc,
                                                  int rangeOccs,
                                                  String id,
                                                  net.opengis.wps.x100.ComplexDataDescriptionType defaultType,
                                                  net.opengis.wps.x100.ComplexDataDescriptionType[] supportedTypes)
        Parameters:
        maxMegaBytes - max mega bytes
        title - title
        minOcc - min occurrences
        maxOcc - max occurrences
        rangeOccs - range occurrences
        id - id
        defaultType - default type
        supportedTypes - supported type
        Returns:
        parameter
      • convert2DMType

        public static Parameter convert2DMType​(net.opengis.wps.x100.OutputDescriptionType wpsType)
      • buildParameterDescription

        public static String buildParameterDescription​(String title,
                                                       String maxMegabytes,
                                                       String UoM,
                                                       int minElements,
                                                       int maxElements,
                                                       String defaultValue)
        Parameters:
        title - title
        maxMegabytes - max mega bytes
        UoM - UoM
        minElements - min elements
        maxElements - max elements
        defaultValue - default value
        Returns:
        description
      • guessWPSLiteralType

        public static String guessWPSLiteralType​(net.opengis.ows.x11.DomainMetadataType type)
      • guessDefaultValue

        public static String guessDefaultValue​(String type)
      • guessPrimitiveType

        public static String guessPrimitiveType​(String type)