Class GeoJsonFeature

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class GeoJsonFeature
    extends com.ibm.cloud.sdk.core.service.model.DynamicModel<Object>
    Schema for a GeoJSON feature object. Note that the content of the feature objects varies depending on the response format chosen and whether the `include_docs` parameter is `true`.
    • Constructor Detail

      • GeoJsonFeature

        public GeoJsonFeature()
    • Method Detail

      • getId

        public String getId()
        Gets the id. Schema for a document ID.
        Returns:
        the id
      • getRev

        public String getRev()
        Gets the rev. Schema for a document revision identifier.
        Returns:
        the rev
      • getBbox

        public List<Double> getBbox()
        Gets the bbox. Schema for a GeoJSON bounding box.
        Returns:
        the bbox
      • getGeometry

        public GeoJsonGeometryObject getGeometry()
        Gets the geometry. Schema for a GeoJSON geometry object.
        Returns:
        the geometry
      • getXProperties

        public Map<String,​Object> getXProperties()
        Gets the xProperties. Schema for the properties of a GeoJSON feature object.
        Returns:
        the xProperties
      • getType

        public String getType()
        Gets the type. Declaration of the GeoJSON type: Feature Object.
        Returns:
        the type