public class SRTMProviderextends Objectimplements ElevationProvider
Important information about SRTM: the coordinates of the lower-left corner of tile N40W118 are 40 degrees north latitude and 118 degrees west longitude. To be more exact, these coordinates refer to the geometric center of the lower left sample, which in the case of SRTM3 data will be about 90 meters in extent.
|Constructor and Description|
|Modifier and Type||Method and Description|
Specifies the service URL where to download the elevation data.
Specifies the directory where to temporarily store the elevation data after fetched from base URL.
Configuration option to include surrounding elevation points when fetching the elevation.
Set to true if you have a small area and need high speed access.
public void setCalcMean(boolean calcMean)
public void setDownloader(Downloader downloader)
public ElevationProvider setCacheDir(File cacheDir)
public ElevationProvider setBaseURL(String baseUrl)
public ElevationProvider setDAType(DAType daType)
public double getEle(double lat, double lon)
Copyright © 2012–2016. All rights reserved.