Package slash.navigation.hgt
Class HgtFiles
java.lang.Object
slash.navigation.hgt.HgtFiles
- All Implemented Interfaces:
ElevationService
Encapsulates access to HGT files.
- Author:
- Robert "robekas", Christian Pesch
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongcalculateRemainingDownloadSize(List<MapDescriptor> mapDescriptors) voiddispose()voiddownloadElevationData(List<MapDescriptor> mapDescriptors) voiddownloadElevationDataFor(List<LongitudeAndLatitude> longitudeAndLatitudes, boolean waitForDownload) getCoverageTiles(BoundingBox area) getElevationFor(double longitude, double latitude) getName()getPath()booleanbooleanvoid
-
Field Details
-
DOT_HGT
- See Also:
-
-
Constructor Details
-
Method Details
-
getName
- Specified by:
getNamein interfaceElevationService
-
isDownload
public boolean isDownload()- Specified by:
isDownloadin interfaceElevationService
-
isOverQueryLimit
public boolean isOverQueryLimit()- Specified by:
isOverQueryLimitin interfaceElevationService
-
getPath
- Specified by:
getPathin interfaceElevationService
-
setPath
- Specified by:
setPathin interfaceElevationService
-
getDirectory
- Specified by:
getDirectoryin interfaceElevationService
-
getElevationFor
- Specified by:
getElevationForin interfaceElevationService- Throws:
IOException
-
dispose
public void dispose() -
downloadElevationDataFor
public void downloadElevationDataFor(List<LongitudeAndLatitude> longitudeAndLatitudes, boolean waitForDownload) - Specified by:
downloadElevationDataForin interfaceElevationService
-
calculateRemainingDownloadSize
- Specified by:
calculateRemainingDownloadSizein interfaceElevationService
-
downloadElevationData
- Specified by:
downloadElevationDatain interfaceElevationService
-