com.supermap.distributeanalystservices

Class SummaryRegionOnline

    • Constructor Summary

      Constructors 
      Constructor and Description
      SummaryRegionOnline()
      The constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void execute()
      run analyst
      void setBounds(Rectangle2D bounds)
      sets analyst range.
      void setDatasetSource(java.lang.String datasetName)
      set imported source dataset (required).
      void setLengthOrArea(boolean lengthOrArea)
      Sets whether count length or area true means do, false means do not
      void setMeshSizeUnit(java.lang.String meshSizeUnit)
      Sets mesh unit mesh size unit: Meter (the default), Kilometer, Yard, Foot, Mile
      void setMeshType(int meshType)
      Sets mesh type 0: Quadrilateral grid, 1: hexagonal grid
      void setNumericPrecision(int numericPrecision)
      Sets numeric precision
      void setRegionDataset(java.lang.String regionDataset)
      Sets the summary dataset when the summary type is polygon summary
      void setResolution(int resolution)
      Sets mesh size.
      void setStandardFields(java.lang.String fieldsName, java.lang.String statisticModes)
      Sets standard property field count statistic field number should as same as statistic mode number, the optional statistic mode include max, min, average, sum, variance, stdDeviation
      void setSummaryType(java.lang.String summaryType)
      Sets the summary type SUMMARYMESH, SUMMARYREGION
      void setWeightedFields(java.lang.String fieldsName, java.lang.String statisticModes)
      Sets weight field statistic statistic field number should as same as statistic mode number, the optional statistic mode include max, min, average, sum, variance, stdDeviation
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SummaryRegionOnline

        public SummaryRegionOnline()
        The constructor.
    • Method Detail

      • setDatasetSource

        public void setDatasetSource(java.lang.String datasetName)
        set imported source dataset (required).
        Parameters:
        datasetName - The source dataset name.
      • setBounds

        public void setBounds(Rectangle2D bounds)
        sets analyst range.
        Parameters:
        bounds - cache bound.
      • setNumericPrecision

        public void setNumericPrecision(int numericPrecision)
        Sets numeric precision
        Parameters:
        numericPrecision - numeric precision
      • setRegionDataset

        public void setRegionDataset(java.lang.String regionDataset)
        Sets the summary dataset when the summary type is polygon summary
        Parameters:
        regionDataset - summary dataset
      • setSummaryType

        public void setSummaryType(java.lang.String summaryType)
        Sets the summary type

        SUMMARYMESH, SUMMARYREGION

        Parameters:
        summaryType - summary type
      • setMeshType

        public void setMeshType(int meshType)
        Sets mesh type

        0: Quadrilateral grid, 1: hexagonal grid

        Parameters:
        meshType - mesh type.
      • setMeshSizeUnit

        public void setMeshSizeUnit(java.lang.String meshSizeUnit)
        Sets mesh unit

        mesh size unit: Meter (the default), Kilometer, Yard, Foot, Mile

        Parameters:
        meshSizeUnit - mesh size unit
      • setResolution

        public void setResolution(int resolution)
        Sets mesh size.
        Parameters:
        resolution - mesh size
      • setLengthOrArea

        public void setLengthOrArea(boolean lengthOrArea)
        Sets whether count length or area

        true means do, false means do not

        Parameters:
        lengthOrArea - whether count length or area
      • setStandardFields

        public void setStandardFields(java.lang.String fieldsName,
                                      java.lang.String statisticModes)
        Sets standard property field count

        statistic field number should as same as statistic mode number, the optional statistic mode include max, min, average, sum, variance, stdDeviation

        Parameters:
        fieldsName - field name
        statisticModes - statictis mode
      • setWeightedFields

        public void setWeightedFields(java.lang.String fieldsName,
                                      java.lang.String statisticModes)
        Sets weight field statistic

        statistic field number should as same as statistic mode number, the optional statistic mode include max, min, average, sum, variance, stdDeviation

        Parameters:
        fieldsName - field name
        statisticModes - statictis mode