public final class GeoUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Geospatial.Dimension |
getDimension(EdmPrimitiveTypeKind type)
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.
|
public static Geospatial.Dimension getDimension(EdmPrimitiveTypeKind type)
type
- a geography / geometry typepublic static EdmPrimitiveTypeKind getType(Geospatial.Dimension dimension, String elementName)
dimension
- either geography or geometryelementName
- Element of return. Can be one of the following constants
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.