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 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 Detail

      • LOG

        private static final 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

      • 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