Package com.ibm.cloud.cloudant.v1.model
Class GeoJsonGeometryObject
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.cloudant.v1.model.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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
The type of GeoJSON Geometry. -
Method Summary
Modifier and TypeMethodDescriptionGets the coordinates.Gets the geometries.getType()
Gets the type.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
getType
Gets the type. The type of GeoJSON Geometry.- Returns:
- the type
-
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
Gets the geometries. Used for the `GeometryCollection` type.- Returns:
- the geometries
-