Class GeoJsonGeometryObject

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel
    Direct Known Subclasses:
    GeoJsonGeometry, GeoJsonGeometryCollection

    public class GeoJsonGeometryObject
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Schema for a GeoJSON geometry object. Classes which extend this class: - GeoJsonGeometry - GeoJsonGeometryCollection
    • Method Detail

      • getType

        public String getType()
        Gets the type. The type of GeoJSON Geometry.
        Returns:
        the type
      • getCoordinates

        public List<Object> getCoordinates()
        Gets the coordinates. Used for all geometry types except `GeometryCollection`. The structure of the elements in the array varies by geometry type.
        Returns:
        the coordinates
      • getGeometries

        public List<GeoJsonGeometry> getGeometries()
        Gets the geometries. Used for the `GeometryCollection` type.
        Returns:
        the geometries