public class ExportFeaturesStyle extends AnchorBean<ExportFeaturesStyle>
Constructor and Description |
---|
ExportFeaturesStyle() |
ExportFeaturesStyle(boolean removeNaNColumns,
boolean visuallyShortenDecimals,
boolean suppressErrors) |
Modifier and Type | Method and Description |
---|---|
FeatureExporterContext |
deriveContext(InputOutputContext context) |
boolean |
isRemoveNaNColumns()
When true, columns containing all
Double.NaN values are removed before outputting. |
boolean |
isSuppressErrors()
When false, an image is reported as errored, if any exception is thrown during calculation.
|
boolean |
isVisuallyShortenDecimals()
When true, feature-values are shown as visually compressed as possible, including suppressing
decimal places.
|
void |
setRemoveNaNColumns(boolean removeNaNColumns)
When true, columns containing all
Double.NaN values are removed before outputting. |
void |
setSuppressErrors(boolean suppressErrors)
When false, an image is reported as errored, if any exception is thrown during calculation.
|
void |
setVisuallyShortenDecimals(boolean visuallyShortenDecimals)
When true, feature-values are shown as visually compressed as possible, including suppressing
decimal places.
|
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public ExportFeaturesStyle()
public ExportFeaturesStyle(boolean removeNaNColumns, boolean visuallyShortenDecimals, boolean suppressErrors)
public FeatureExporterContext deriveContext(InputOutputContext context)
public boolean isRemoveNaNColumns()
Double.NaN
values are removed before outputting.
When false, all columns are included.
public void setRemoveNaNColumns(boolean removeNaNColumns)
Double.NaN
values are removed before outputting.
When false, all columns are included.
public boolean isVisuallyShortenDecimals()
When false, a fixed number of decimal places is shown for all feature-values.
e.g. when true, 2
is shown instead of 2.0000000000
or code 6.71
instead of 6.71000000000000
public void setVisuallyShortenDecimals(boolean visuallyShortenDecimals)
When false, a fixed number of decimal places is shown for all feature-values.
e.g. when true, 2
is shown instead of 2.0000000000
or code 6.71
instead of 6.71000000000000
public boolean isSuppressErrors()
When true, then a value of Double.NaN
is returned, and a message is written to the
error-log.
public void setSuppressErrors(boolean suppressErrors)
When true, then a value of Double.NaN
is returned, and a message is written to the
error-log.
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.