@Alias(value="de.lmu.ifi.dbs.elki.application.geo.VisualizeGeodesicDistances") @Reference(authors="Erich Schubert, Arthur Zimek, Hans-Peter Kriegel", title="Geodetic Distance Queries on R-Trees for Indexing Geographic Data", booktitle="Int. Symp. Advances in Spatial and Temporal Databases (SSTD\'2013)", url="https://doi.org/10.1007/978-3-642-40235-7_9", bibkey="DBLP:conf/ssd/SchubertZK13") public class VisualizeGeodesicDistances extends AbstractApplication
TODO: make origin point / rectangle configurable.
Reference:
Erich Schubert, Arthur Zimek, Hans-Peter Kriegel
Geodetic Distance Queries on R-Trees for Indexing Geographic Data
Int. Symp. Advances in Spatial and Temporal Databases (SSTD'2013)
Modifier and Type | Class and Description |
---|---|
static class |
VisualizeGeodesicDistances.Mode
Visualization mode.
|
static class |
VisualizeGeodesicDistances.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
protected int |
height
Image size.
|
private static Logging |
LOG
Get a logger for this class.
|
protected VisualizeGeodesicDistances.Mode |
mode
Visualization mode.
|
protected EarthModel |
model
Earth model.
|
private java.io.File |
out
Holds the file to print results to.
|
protected int |
steps
Number of steps for shades.
|
protected int |
width
Image size.
|
REFERENCE, VERSION
Constructor and Description |
---|
VisualizeGeodesicDistances(java.io.File out,
int resolution,
int steps,
VisualizeGeodesicDistances.Mode mode,
EarthModel model)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
private int |
colorMultiply(int col,
double reldist,
boolean ceil) |
static void |
main(java.lang.String[] args)
Main method for application.
|
void |
run()
Runs the application.
|
printErrorMessage, runCLIApplication, usage
private static final Logging LOG
private java.io.File out
protected int width
protected int height
protected int steps
protected VisualizeGeodesicDistances.Mode mode
protected EarthModel model
public VisualizeGeodesicDistances(java.io.File out, int resolution, int steps, VisualizeGeodesicDistances.Mode mode, EarthModel model)
out
- Output filenamesteps
- Number of steps in the color mapmode
- Visualization modemodel
- Earth modelpublic void run()
AbstractApplication
run
in class AbstractApplication
private int colorMultiply(int col, double reldist, boolean ceil)
public static void main(java.lang.String[] args)
args
- ParametersCopyright © 2019 ELKI Development Team. License information.