Enum FeatureTilingMode

  • All Implemented Interfaces:
    Serializable, Comparable<FeatureTilingMode>

    public enum FeatureTilingMode
    extends Enum<FeatureTilingMode>
    Feature tiling modes available to feature layers. This determines how feature tiling is handled for each layer. Using the default mode is highly recommended. As of now, only services based on service feature tables support feature tiling.
    Since:
    100.10.0
    • Enum Constant Detail

      • ENABLED_WHEN_SUPPORTED

        public static final FeatureTilingMode ENABLED_WHEN_SUPPORTED
        Use feature tiling whenever a service supports it. Feature tiling retrieves more features per layer from a service by making multiple, smaller requests to said service. Since each request gathers a portion of the total features, this allows more features to be rendered in the extent than what the maxRecordCount would normally allow.

        When in this mode, all rendering requests to services will use feature tiling unless the following applies: ServiceFeatureTable.FeatureRequestMode is ServiceFeatureTable.FeatureRequestMode.MANUAL_CACHE, the service does not support coordinate quantization, the max record count is not exceeded, or if the service does not support tile result types. This is the default mode.

        Since:
        100.10.0
      • DISABLED

        public static final FeatureTilingMode DISABLED
        Feature tiling is disabled.

        When in this mode, feature tiling will not be used even if a service supports it. This is a potential performance increase if too many requests are being sent out at once. Disabling feature tiling results in less features returned from a service.

        Since:
        100.10.0
    • Method Detail

      • values

        public static FeatureTilingMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (FeatureTilingMode c : FeatureTilingMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FeatureTilingMode valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null