Package org.ka2ddo.yaac.core
Class GuiIfc.TileDownloadParams
java.lang.Object
org.ka2ddo.yaac.core.GuiIfc.TileDownloadParams
- Enclosing interface:
- GuiIfc
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
Modifier and TypeFieldDescriptionFor 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
ConstructorDescriptionTileDownloadParams
(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
-
Field Details
-
refresh
public boolean refreshBoolean true if the center and radius points should be ignored and just re-download every tile that is currently downloaded. -
lat
public double latCenter of the download region in degrees North. -
lon
public double lonCenter of the download region in degrees East. -
radius
public double radiusRadius of the circular download region in kilometers. -
hiRes
public boolean hiResFor 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
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.
-