Error when importing planet .osm.pbf

The provider does something strange for this file. It will redirect to a URL without the slash before /wp-content.

But using https seems to fix the problem. Not sure if it will make the download slower or break something else. Would be nice if someone can host these files like kurviger hosts the SRTM files for us :slight_smile:

@Shahoo Can you try the provider URL in the config via:

graphhopper:
  ...
  graph.elevation.base_url: https://srtm.csi.cgiar.org/wp-content/uploads/files/srtm_5x5/TIFF/

If this works we’ll have to fix this in master branch and remove this useless code :slight_smile:

        String baseURL = ghConfig.getString("graph.elevation.base_url", "");
        if (baseURL.isEmpty())
            ghConfig.getString("graph.elevation.baseurl", "");
2 Likes