openrouteservice icon indicating copy to clipboard operation
openrouteservice copied to clipboard

Elevation provider for CGIAR and MULTI offline

Open patduckless opened this issue 1 year ago • 3 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Problem description

The URL for CGIAR (https://srtm.csi.cgiar.org/wp-content/uploads/files/srtm_5x5/TIFF/) is offline. If the elevation provider CGIAR or MULTI is configured in the config ORS will throw an error: Failed to either read or execute the ors configuration and its parameters: java.lang.RuntimeException: Couldn't process file /home/ors/files/osm_file.pbf, error: java.net.SocketTimeoutException: Connect timed out

Proposed solution

Change the URL to a known good for CGIAR and MULTI.

Additional context

This occoured when running the v8.0.0 and v8.2.0 versions of the docker image.

Forum Topic Link

No response

patduckless avatar Oct 17 '24 09:10 patduckless

Hey, thanks for noticing :) Just FYI - you can disable elevation with elevation: false if you don't necessarily need it to be able to use ors.

koebi avatar Oct 18 '24 07:10 koebi

Hey, thanks for noticing :) Just FYI - you can disable elevation with elevation: false if you don't necessarily need it to be able to use ors.

Hi, I have the same problem. This is helpful, but I'm not completely sure where the elevation: false line needs to go... is it the one under profile_default in the ors-config.yml file?

profile_default:
  enabled: true
  elevation: false

Thanks again.

alex-mitrani avatar Oct 18 '24 22:10 alex-mitrani

Yes that's the one.

You can also change the elevation provider from multi to STRM.

engine:
  elevation:
    provider: strm

patduckless avatar Oct 19 '24 09:10 patduckless

The data was temporarily not available. The elevation data is available again https://srtm.csi.cgiar.org/download so closing this.

MichaelsJP avatar Mar 11 '25 11:03 MichaelsJP

OK, thanks.

alex-mitrani avatar Mar 11 '25 15:03 alex-mitrani