|
18 | 18 | */
|
19 | 19 | package com.graphhopper.reader.dem;
|
20 | 20 |
|
21 |
| -import com.graphhopper.storage.*; |
| 21 | +import com.graphhopper.storage.DAType; |
| 22 | +import com.graphhopper.storage.DataAccess; |
| 23 | +import com.graphhopper.storage.Directory; |
| 24 | +import com.graphhopper.storage.GHDirectory; |
22 | 25 | import com.graphhopper.util.BitUtil;
|
23 | 26 | import com.graphhopper.util.Downloader;
|
24 | 27 | import com.graphhopper.util.Helper;
|
25 | 28 | import gnu.trove.map.hash.TIntObjectHashMap;
|
| 29 | +import org.slf4j.Logger; |
| 30 | +import org.slf4j.LoggerFactory; |
26 | 31 |
|
27 | 32 | import java.io.*;
|
28 | 33 | import java.net.SocketTimeoutException;
|
29 | 34 | import java.util.zip.ZipInputStream;
|
30 | 35 |
|
31 |
| -import org.slf4j.Logger; |
32 |
| -import org.slf4j.LoggerFactory; |
33 |
| - |
34 | 36 | /**
|
35 | 37 | * Elevation data from NASA (SRTM).
|
36 | 38 | * <p>
|
@@ -77,7 +79,8 @@ public static void main( String[] args ) throws IOException
|
77 | 79 | private final double invPrecision = 1 / precision;
|
78 | 80 | // possible alternatives see #451
|
79 | 81 | // http://mirror.ufs.ac.za/datasets/SRTM3/
|
80 |
| - private String baseUrl = "http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/"; |
| 82 | + //"http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/" |
| 83 | + private String baseUrl = "http://srtm.motoroute.me/SRTM3/"; |
81 | 84 | private boolean calcMean = false;
|
82 | 85 |
|
83 | 86 | public SRTMProvider()
|
|
0 commit comments