Class OgcFeatureCollectionInfo


  • public final class OgcFeatureCollectionInfo
    extends java.lang.Object
    Provides the metadata of a layer (feature collection) in an "OGC API - Features" service.

    The metadata such as id, title, and description describes an "OGC API - Features" feature collection.

    Since:
    100.9.0
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getCollectionId()
      Gets a unique identifier for the "OGC API - Features" feature collection.
      java.lang.String getDescription()
      Gets the "OGC API - Features" feature collection's description.
      Envelope getExtent()
      Gets the minimum bounding extent that contains features in the "OGC API - Features" feature collection.
      java.lang.String getTitle()
      Gets a descriptive (human-readable) title for the "OGC API - Features" feature collection.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getCollectionId

        public java.lang.String getCollectionId()
        Gets a unique identifier for the "OGC API - Features" feature collection.

        Collections from a OgcFeatureService, described by the OgcFeatureCollectionInfo objects, represent the "feature collections" defined in the "OGC API - Features" standard. The CollectionId property is intended for use as a unique identifier for the collection.

        Returns:
        a unique identifier for the "OGC API - Features" feature collection
        Since:
        100.9.0
        See Also:
        getTitle()
      • getDescription

        public java.lang.String getDescription()
        Gets the "OGC API - Features" feature collection's description.
        Returns:
        the "OGC API - Features" feature collection's description
        Since:
        100.9.0
      • getTitle

        public java.lang.String getTitle()
        Gets a descriptive (human-readable) title for the "OGC API - Features" feature collection.

        Unlike getCollectionId(), the title property does not uniquely identify an "OGC API - Features" feature collection. Instead, it provides a human-readable name for the collection.

        Returns:
        a descriptive title
        Since:
        100.9.0
      • getExtent

        public Envelope getExtent()
        Gets the minimum bounding extent that contains features in the "OGC API - Features" feature collection.
        Returns:
        the minimum bounding extent that contains features in the "OGC API - Features" feature collection
        Since:
        100.9.0