public static enum JtsWktShapeParser.DatelineRule extends Enum<JtsWktShapeParser.DatelineRule>
Enum Constant and Description |
---|
ccwRect
For rectangular polygons, the point order is interpreted as being counter-clockwise (CCW).
|
none
No polygon will cross the dateline.
|
width180
Adjacent points with an x (longitude) difference that spans more than half
way around the globe will be interpreted as going the other (shorter) way, and thus cross the
dateline.
|
Modifier and Type | Method and Description |
---|---|
static JtsWktShapeParser.DatelineRule |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JtsWktShapeParser.DatelineRule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JtsWktShapeParser.DatelineRule none
public static final JtsWktShapeParser.DatelineRule width180
public static final JtsWktShapeParser.DatelineRule ccwRect
width180
rule instead. The CCW rule is specified by OGC Simple Features
Specification v. 1.2.0 section 6.1.11.1.public static JtsWktShapeParser.DatelineRule[] values()
for (JtsWktShapeParser.DatelineRule c : JtsWktShapeParser.DatelineRule.values()) System.out.println(c);
public static JtsWktShapeParser.DatelineRule valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2014 LocationTech. All rights reserved.