Class GuiIfc.TileDownloadParams

java.lang.Object
org.ka2ddo.yaac.core.GuiIfc.TileDownloadParams
Enclosing interface:
GuiIfc

public static class GuiIfc.TileDownloadParams extends Object
Data structure of parameters needed for the OpenStreetMap pre-imported tile download operation. Intended to be returned by the method for displaying the user query dialog.
Author:
Andrew Pavlin, KA2DDO
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    For OSM tile downloads, specify which WayTypes, AmenityTypes, etc., should be accepted for download.
    boolean
    For US Geological Survey topographic data only: download the high-resolution 1-arcsecond data for each tile for which it is available instead of the coarser 3-arcsecond data.
    double
    Center of the download region in degrees North.
    double
    Center of the download region in degrees East.
    double
    Radius of the circular download region in kilometers.
    boolean
    Boolean true if the center and radius points should be ignored and just re-download every tile that is currently downloaded.
  • Constructor Summary

    Constructors
    Constructor
    Description
    TileDownloadParams(boolean refresh)
    Create a TileDownloadParams.
    TileDownloadParams(boolean refresh, double lat, double lon, double radius)
    Create a TileDownloadParams.
    TileDownloadParams(boolean refresh, double lat, double lon, double radius, boolean hiRes)
    Create a TileDownloadParams.
  • Method Summary

    Methods inherited from class java.lang.Object

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

    • refresh

      public boolean refresh
      Boolean true if the center and radius points should be ignored and just re-download every tile that is currently downloaded.
    • lat

      public double lat
      Center of the download region in degrees North.
    • lon

      public double lon
      Center of the download region in degrees East.
    • radius

      public double radius
      Radius of the circular download region in kilometers.
    • hiRes

      public boolean hiRes
      For US Geological Survey topographic data only: download the high-resolution 1-arcsecond data for each tile for which it is available instead of the coarser 3-arcsecond data.
    • filterTypes

      public VisibleCtls filterTypes
      For OSM tile downloads, specify which WayTypes, AmenityTypes, etc., should be accepted for download. If null, all Ways and Nodes are accepted, regardless of WayType or AmenityType value. Note that Ways without a WayType but with an acceptable AmenityType will still be accepted if the enums say to do so.
  • Constructor Details

    • TileDownloadParams

      public TileDownloadParams(boolean refresh)
      Create a TileDownloadParams.
      Parameters:
      refresh - boolean true if the center and radius points should be ignored and just re-download every tile that is currently downloaded.
    • TileDownloadParams

      public TileDownloadParams(boolean refresh, double lat, double lon, double radius)
      Create a TileDownloadParams.
      Parameters:
      refresh - boolean true if the center and radius points should be ignored and just re-download every tile that is currently downloaded.
      lat - Center of the download region in degrees North.
      lon - Center of the download region in degrees East.
      radius - Radius of the circular download region in kilometers.
    • TileDownloadParams

      public TileDownloadParams(boolean refresh, double lat, double lon, double radius, boolean hiRes)
      Create a TileDownloadParams.
      Parameters:
      refresh - boolean true if the center and radius points should be ignored and just re-download every tile that is currently downloaded.
      lat - Center of the download region in degrees North.
      lon - Center of the download region in degrees East.
      radius - Radius of the circular download region in kilometers.
      hiRes - For US Geological Survey topographic data only: download the high-resolution 1-arcsecond data for each tile for which it is available instead of the coarser 3-arcsecond data.