Enum FeatureTilingMode

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<FeatureTilingMode>

    public enum FeatureTilingMode
    extends java.lang.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.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static FeatureTilingMode valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static FeatureTilingMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail


        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.

      • 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.


        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 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())
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static FeatureTilingMode valueOf​(java.lang.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.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null