Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elevation provider for CGIAR and MULTI offline #1866

Open
1 task done
patduckless opened this issue Oct 17, 2024 · 3 comments
Open
1 task done

Elevation provider for CGIAR and MULTI offline #1866

patduckless opened this issue Oct 17, 2024 · 3 comments

Comments

@patduckless
Copy link

patduckless commented Oct 17, 2024

Is there an existing issue for this?

  • 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

@koebi
Copy link
Collaborator

koebi commented Oct 18, 2024

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.

@alex-mitrani
Copy link

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.

@patduckless
Copy link
Author

patduckless commented Oct 19, 2024

Yes that's the one.

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

engine:
  elevation:
    provider: strm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants