Class FeatureCollection

java.lang.Object
com.here.platform.data.client.model.geojson.FeatureCollection
All Implemented Interfaces:
GeoJson, Serializable, scala.Equals, scala.Product

public final class FeatureCollection extends Object implements GeoJson, scala.Product, Serializable
See Also:
  • Constructor Details

    • FeatureCollection

      public FeatureCollection(String type, scala.Option<scala.collection.immutable.Seq<Object>> bbox, scala.collection.immutable.Seq<Feature> features, scala.Option<String> nextPageToken, scala.Option<scala.collection.immutable.Seq<String>> inserted, scala.Option<scala.collection.immutable.Seq<String>> updated, scala.Option<scala.collection.immutable.Seq<String>> deleted)
  • Method Details

    • type

      public String type()
    • bbox

      public scala.Option<scala.collection.immutable.Seq<Object>> bbox()
    • features

      public scala.collection.immutable.Seq<Feature> features()
    • nextPageToken

      public scala.Option<String> nextPageToken()
    • inserted

      public scala.Option<scala.collection.immutable.Seq<String>> inserted()
    • updated

      public scala.Option<scala.collection.immutable.Seq<String>> updated()
    • deleted

      public scala.Option<scala.collection.immutable.Seq<String>> deleted()
    • getType

      public String getType()
      Returns:
      the type as 'FeatureCollection'
    • getBbox

      public List<Double> getBbox()
      Returns:
      The bounding box of the feature collection
    • getFeatures

      public List<Feature> getFeatures()
      Returns:
      The list of features in the feature collection
    • getNextPageToken

      public String getNextPageToken()
      Returns:
      The next page token for iterate endpoint
    • getInserted

      public List<String> getInserted()
      Returns:
      The list of feature IDs of the new features uploaded in the Interactive Map Layer
    • getUpdated

      public List<String> getUpdated()
      Returns:
      The list of feature IDs of updated features in the Interactive Map Layer
    • getDeleted

      public List<String> getDeleted()
      Returns:
      The list of feature IDs of the deleted features in the Interactive Map Layer