public static class GuiIfc.TileDownloadParams
extends java.lang.Object
GuiIfc.displayOsmTileDownloadDialog(org.ka2ddo.yaac.osm.ChangeSet, java.lang.String)
,
GuiIfc.displayTopoTileDownloadDialog(java.io.File)
Modifier and Type | Field and Description |
---|---|
VisibleCtls |
filterTypes
For OSM tile downloads, specify which WayTypes, AmenityTypes, etc., should be accepted for download.
|
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.
|
double |
lat
Center of the download region in degrees North.
|
double |
lon
Center of the download region in degrees East.
|
double |
radius
Radius of the circular download region in kilometers.
|
boolean |
refresh
Boolean true if the center and radius points should be ignored and just re-download
every tile that is currently downloaded.
|
java.lang.String |
remoteTileDir
If the user wants to use an older version of the imported tiles, specify the dated
tiledir name to insert into the download URLs.
|
ChangeSet |
serverChangeSet
The
ChangeSet of the server tileset. |
Constructor and 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.
|
public boolean refresh
public double lat
public double lon
public double radius
public boolean hiRes
public VisibleCtls filterTypes
public java.lang.String remoteTileDir
public TileDownloadParams(boolean refresh)
refresh
- boolean true if the center and radius points should be ignored and just re-download
every tile that is currently downloaded.public TileDownloadParams(boolean refresh, double lat, double lon, double radius)
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.public TileDownloadParams(boolean refresh, double lat, double lon, double radius, boolean hiRes)
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.