Package qupath.lib.io
Enum Class PathIO.GeoJsonExportOptions
- All Implemented Interfaces:
Serializable
,Comparable<PathIO.GeoJsonExportOptions>
,Constable
- Enclosing class:
PathIO
Options to customize the export of PathObjects as GeoJSON.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionOptionally exclude measurements from objects.Request that objects are export as a FeatureCollection.Request pretty-printing for the JSON. -
Method Summary
Modifier and TypeMethodDescriptionstatic PathIO.GeoJsonExportOptions
Returns the enum constant of this class with the specified name.static PathIO.GeoJsonExportOptions[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PRETTY_JSON
Request pretty-printing for the JSON. This is more readable, but results in larger files. -
EXCLUDE_MEASUREMENTS
Optionally exclude measurements from objects. This can reduce the file size substantially if measurements are not needed. -
FEATURE_COLLECTION
Request that objects are export as a FeatureCollection. If this is not specified, individual objects will be export as Features - in an array if necessary.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-