public class SvmBathymetryData extends Object
| Constructor and Description |
|---|
SvmBathymetryData()
Standard constructor
|
| Modifier and Type | Method and Description |
|---|---|
List<PolygonConstraint> |
getBoundaryConstraints()
Gets a list of constraints defining the boundary of the body of water to be
analyzed.
|
Rectangle2D |
getBounds()
Get the overall bounds of the sounding and constraint data
|
List<PolygonConstraint> |
getIslandConstraints()
Gets a list of those constraints which enclose island areas (non data
areas)
|
List<PolygonConstraint> |
getLakeConstraints()
Gets a list of those constraints which enclose the data area
|
double |
getMaxZ()
Get the maximum sounding value in the source data
|
double |
getMeanZ()
Get the mean of the sounding values in the source data
|
double |
getMinZ()
Get the minimum sounding value in the source data
|
double |
getNominalPointSpacing()
Gets the nominal spacing for the data set.
|
List<Vertex> |
getReducedListOfSoundings(int nTarget)
Get a reduced list of the soundings.
|
double |
getShoreReferenceElevation()
Get the reference elevation for the shoreline (conservation pool elevation)
|
Rectangle2D |
getSoundingBounds()
Get the bounds of the sounding data
|
List<Vertex> |
getSoundings()
Get a list of the soundings.
|
List<Vertex> |
getSoundingsAndSupplements()
Gets all bathymetry sounding data, including both the main soundings list
and any supplemental data that was loaded.
|
List<Vertex> |
getSupplements()
Gets a list of supplementary samples.
|
long |
getTimeToLoadData()
Gets the time required to load the input data
|
void |
loadBoundaryConstraints(File inputBoundaryFile,
String dbfFieldForZ,
IVerticalCoordinateTransform verticalTransform)
Load main set of polygon contraints defining the boundary of the body of
water.
|
void |
loadSamples(File inputSoundingsFile,
String dbfBathymetryField,
IVerticalCoordinateTransform verticalTransform)
Load main set of soundings from a file.
|
void |
loadSupplement(File inputSupplementFile,
String dbfBathymetryField,
IVerticalCoordinateTransform verticalTransform)
Load supplemental soundings from a file.
|
void |
printSummary(PrintStream ps)
Print a summary of the input data.
|
public void loadSamples(File inputSoundingsFile, String dbfBathymetryField, IVerticalCoordinateTransform verticalTransform) throws IOException
inputSoundingsFile - the input file giving soundings.dbfBathymetryField - the optional string giving the name of the DBF
field to be used to extracting data from the input file (used for
Shapefiles).verticalTransform - the optional\transform used to map vertical
coordinates to a new value; or null if no transform is to be applied.IOException - in the event of an unrecoverable I/O conditionpublic void loadSupplement(File inputSupplementFile, String dbfBathymetryField, IVerticalCoordinateTransform verticalTransform) throws IOException
inputSupplementFile - the input file giving soundings.dbfBathymetryField - the optional string giving the name of the DBF
field to be used to extracting data.verticalTransform - the optional\transform used to map vertical
coordinates to a new value; or null if no transform is to be applied.IOException - in the event of an unrecoverable I/O conditionpublic void loadBoundaryConstraints(File inputBoundaryFile, String dbfFieldForZ, IVerticalCoordinateTransform verticalTransform) throws IOException
inputBoundaryFile - the input file giving constraints.dbfFieldForZ - the optional string giving the name of the DBF
field to be used to extracting data from the input file (used for
Shapefiles).verticalTransform - the optional\transform used to map vertical
coordinates to a new value; or null if no transform is to be applied.IOException - in the event of an unrecoverable I/O conditionpublic double getMinZ()
public double getMaxZ()
public double getMeanZ()
public double getNominalPointSpacing()
public List<Vertex> getSoundings()
public List<Vertex> getSoundingsAndSupplements()
public List<Vertex> getReducedListOfSoundings(int nTarget)
nTarget - the target number of soundings for the listpublic Rectangle2D getSoundingBounds()
public Rectangle2D getBounds()
public double getShoreReferenceElevation()
public List<PolygonConstraint> getBoundaryConstraints()
public long getTimeToLoadData()
public void printSummary(PrintStream ps)
ps - a valid print stream such as system output.public List<PolygonConstraint> getLakeConstraints()
public List<PolygonConstraint> getIslandConstraints()
Copyright © 2019. All rights reserved.