Class 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 elki.application.AbstractApplication
    Visualization function for Cross-track, Along-track, and minimum distance function.

    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)

    Since:
    0.5.5
    Author:
    Niels Dörre, Erich Schubert
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int height
      Image size.
      private static elki.logging.Logging LOG
      Get a logger for this class.
      protected VisualizeGeodesicDistances.Mode mode
      Visualization mode.
      protected EarthModel model
      Earth model.
      private java.nio.file.Path out
      Holds the file to print results to.
      protected int steps
      Number of steps for shades.
      protected int width
      Image size.
      • Fields inherited from class elki.application.AbstractApplication

        REFERENCE, VERSION
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private int colorMultiply​(int col, double reldist, boolean ceil)  
      static void main​(java.lang.String[] args)
      Main method for application.
      void run()  
      • Methods inherited from class elki.application.AbstractApplication

        printErrorMessage, runCLIApplication, usage
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOG

        private static final elki.logging.Logging LOG
        Get a logger for this class.
      • out

        private java.nio.file.Path out
        Holds the file to print results to.
      • width

        protected int width
        Image size.
      • height

        protected int height
        Image size.
      • steps

        protected int steps
        Number of steps for shades.
    • Constructor Detail

      • VisualizeGeodesicDistances

        public VisualizeGeodesicDistances​(java.nio.file.Path out,
                                          int resolution,
                                          int steps,
                                          VisualizeGeodesicDistances.Mode mode,
                                          EarthModel model)
        Constructor.
        Parameters:
        out - Output filename
        steps - Number of steps in the color map
        mode - Visualization mode
        model - Earth model
    • Method Detail

      • run

        public void run()
        Specified by:
        run in class elki.application.AbstractApplication
      • colorMultiply

        private int colorMultiply​(int col,
                                  double reldist,
                                  boolean ceil)
      • main

        public static void main​(java.lang.String[] args)
        Main method for application.
        Parameters:
        args - Parameters