public class GeoConverter extends Object
| Modifier and Type | Field and Description |
|---|---|
static Pattern |
WKT_POINT |
static Pattern |
WKT_POLYGON |
| Constructor and Description |
|---|
GeoConverter() |
| Modifier and Type | Method and Description |
|---|---|
static Polygon |
fromWellKnownText(String wkt) |
static Point |
pointFromWellKnownText(String wkt) |
static Polygon |
toPolygon(Box box) |
static Polygon |
toPolygon(Circle circle,
int segments) |
static String |
toWellKnownText(Point point) |
static String |
toWellKnownText(Shape shape) |
static String |
toWkt(Polygon shape) |
static String |
toWktCoords(Point point) |
public static final Pattern WKT_POINT
public static final Pattern WKT_POLYGON
public static String toWellKnownText(Point point) throws ConversionException
ConversionExceptionpublic static String toWellKnownText(Shape shape) throws ConversionException
ConversionExceptionCopyright © 2011-2015–2015 Pivotal Software, Inc.. All rights reserved.