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 SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionOptionally exclude measurements from objects.Request that objects are export as a FeatureCollection.Request pretty-printing for the JSON.
- 
Method SummaryModifier and TypeMethodDescriptionstatic PathIO.GeoJsonExportOptionsReturns 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_JSONRequest pretty-printing for the JSON. This is more readable, but results in larger files.
- 
EXCLUDE_MEASUREMENTSOptionally exclude measurements from objects. This can reduce the file size substantially if measurements are not needed.
- 
FEATURE_COLLECTIONRequest 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- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
 
-