Class GeoUtils
java.lang.Object
org.apache.olingo.commons.api.data.GeoUtils
Utilities class for Geography data types.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Geospatial.Dimension
Get dimension based on given Geography / Geometry type.static EdmPrimitiveTypeKind
getType
(Geospatial.Dimension dimension, String elementName) Get type based on given dimension (Geography / Geometry) and element name.
-
Method Details
-
getDimension
Get dimension based on given Geography / Geometry type.- Parameters:
type
- a geography / geometry type- Returns:
- dimension according to given geography / geometry type
-
getType
Get type based on given dimension (Geography / Geometry) and element name.- Parameters:
dimension
- either geography or geometryelementName
- Element of return. Can be one of the following constants- Returns:
- elementName name of type
-