Package org.openstreetmap.josm.io
Enum GeoJSONWriter.Options
- java.lang.Object
-
- java.lang.Enum<GeoJSONWriter.Options>
-
- org.openstreetmap.josm.io.GeoJSONWriter.Options
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GeoJSONWriter.Options>
- Enclosing class:
- GeoJSONWriter
static enum GeoJSONWriter.Options extends java.lang.Enum<GeoJSONWriter.Options>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RIGHT_HAND_RULE
If using the right hand rule, we have to ensure that the "right" side is the interior of the object.SKIP_EMPTY_NODES
Skip empty nodesWRITE_OSM_INFORMATION
Write OSM information to the feature properties field.
-
Constructor Summary
Constructors Modifier Constructor Description private
Options()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeoJSONWriter.Options
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GeoJSONWriter.Options[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RIGHT_HAND_RULE
public static final GeoJSONWriter.Options RIGHT_HAND_RULE
If using the right hand rule, we have to ensure that the "right" side is the interior of the object.
-
WRITE_OSM_INFORMATION
public static final GeoJSONWriter.Options WRITE_OSM_INFORMATION
Write OSM information to the feature properties field. This tries to follow the Overpass turbo format.
-
SKIP_EMPTY_NODES
public static final GeoJSONWriter.Options SKIP_EMPTY_NODES
Skip empty nodes
-
-
Constructor Detail
-
Options
private Options()
-
-
Method Detail
-
values
public static GeoJSONWriter.Options[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GeoJSONWriter.Options c : GeoJSONWriter.Options.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GeoJSONWriter.Options valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-