Interface WfsFeatureCollection


public interface WfsFeatureCollection
Represents the response to a GetFeature request, after the FeatureCollection's featureMembers have been transformed into Metacards.
  • Method Summary

    Modifier and Type
    Method
    Description
    List<ddf.catalog.data.Metacard>
    Returns the feature members of the FeatureCollection, transformed into Metacards.
    long
    Returns the value of the FeatureCollection's numberOfFeatures attribute if it is present; if it is not present then this method returns the size of getFeatureMembers().
  • Method Details

    • getNumberOfFeatures

      long getNumberOfFeatures()
      Returns the value of the FeatureCollection's numberOfFeatures attribute if it is present; if it is not present then this method returns the size of getFeatureMembers().

      The numberOfFeatures attribute should be present in responses to GetFeature requests that have a result type of 'hits'. In this case, this method will return the total number of results as opposed to the number of results returned in this response.

      Returns:
      the value of the FeatureCollection's numberOfFeatures attribute if it is present; if it is not present then this method returns the size of getFeatureMembers().
    • getFeatureMembers

      List<ddf.catalog.data.Metacard> getFeatureMembers()
      Returns the feature members of the FeatureCollection, transformed into Metacards.

      See FeatureTransformer, FeatureTransformationService, and FeatureConverter for more information about how feature members are transformed.

      Returns:
      the feature members of the FeatureCollection, transformed into Metacards.