Enum Class FeatureTilingMode

All Implemented Interfaces:
Serializable, Comparable<FeatureTilingMode>, Constable

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.
  • Enum Constant Details


      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, or if the service does not support tile result types. This is the default mode.


      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.


      public static final FeatureTilingMode ENABLED_WITH_FULL_RESOLUTION_WHEN_SUPPORTED
      Use feature tiling and request full resolution geometries when supported by the service. If the latter is not supported, ENABLED_WHEN_SUPPORTED is used instead.

      This mode requires the service to support the edit quantization mode, which returns all vertices of the source geometry in a high resolution. Use this mode for workflows that benefit from precise geometry editing, such as snapping feature geometries, without loading the feature. This mode may impact performance due to the increase in network traffic.

  • Method Details

    • values

      public static FeatureTilingMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

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