Using latest master and creating a graph for bike2 with elevation enabled and srtm provider.
This does not seem to work as I get the following exception during build:
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
at com.graphhopper.storage.RAMDataAccess.getShort(RAMDataAccess.java:255)
at com.graphhopper.reader.dem.HeightTile.getHeight(HeightTile.java:101)
at com.graphhopper.reader.dem.SRTMProvider.getEle(SRTMProvider.java:258)
at com.graphhopper.reader.osm.OSMReader.getElevation(OSMReader.java:631)
at com.graphhopper.reader.osm.OSMReader.addNode(OSMReader.java:616)
at com.graphhopper.reader.osm.OSMReader.processNode(OSMReader.java:591)
at com.graphhopper.reader.osm.OSMReader.writeOsm2Graph(OSMReader.java:300)
... 5 more
The whole kurviger.de namespace is forced to use https right now. I have just excluded the srtm subdomain. But I can only provide a self-signed certificate for this domain then. Does this work for you or should I enable the https enforcement again?
Not sure I can follow. So as both, http and https are working fine now: which one should we use? Can we rely on http? And for https: why is the current setup not fine?
So if https creates problems, I vote for using http only. Also elevation data is not really private, so there would be no security issue with not securing it. What do you think @karussell and @devemux86 ? However, switching to http will disrupt current users that use the srtm mirror at https.