public static interface Geometry.ValidationStatus
Modifier and Type | Field and Description |
---|---|
static int |
CURRUPTED |
static int |
DISCONNECTED_INTERIOR |
static int |
DUPLICATE_RINGS |
static int |
HOLE_OUTSIDE_SHELL |
static int |
INVALID_COORDINATE |
static int |
NESTED_HOLES |
static int |
NESTED_SHELLS |
static int |
RING_NOT_CLOSED |
static int |
RING_SELF_INTERSECTION |
static int |
SELF_INTERSECTION |
static int |
TOO_FEW_POINTS |
static int |
UNKNOW |
static int |
VALID |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage()
Return a human readable message explaining the cause of the problem.
|
Point |
getProblemLocation()
Return the nearest point to the problem when validate the geometry.
|
int |
getStatusCode()
Return the status code results of validate the geometry.
|
boolean |
isValid()
True if the geoemtry are valid.
|
static final int VALID
static final int CURRUPTED
static final int UNKNOW
static final int DISCONNECTED_INTERIOR
static final int DUPLICATE_RINGS
static final int HOLE_OUTSIDE_SHELL
static final int INVALID_COORDINATE
static final int NESTED_HOLES
static final int NESTED_SHELLS
static final int RING_NOT_CLOSED
static final int RING_SELF_INTERSECTION
static final int SELF_INTERSECTION
static final int TOO_FEW_POINTS
boolean isValid()
int getStatusCode()
Point getProblemLocation()
java.lang.String getMessage()