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

GeoTIFF support, to improve bicycle and pedestrian routing #134

Open
kresp0 opened this issue Sep 5, 2022 · 1 comment
Open

GeoTIFF support, to improve bicycle and pedestrian routing #134

kresp0 opened this issue Sep 5, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@kresp0
Copy link
Contributor

kresp0 commented Sep 5, 2022

OTP supports adding a GeoTIFF with elevation data. This enables better routes for bicycles and pedestrians. Except in flat areas of course :)

It could be as easy as adding the Digital Elevation Model as a GeoTIFF file with the .tif extension and the area as name. Ex: Amsterdam.tif

If OTP finds a .tif or .tiff file on the base directory, it uses this data while building the graph. I'm currently using it on bici.madrid with a 2m resolution DEM and it works nicely.

@ellenhp
Copy link
Member

ellenhp commented Sep 5, 2022

Currently walking and cycling requests are routed to Valhalla, not OTP. But Valhalla supports elevation as well so I think it makes sense to try and do this.

I was actually offered access to preprocessed global elevation dataset which could be convenient. I suppose I could go download it and cut it up with GDAL then reupload it to R2. I'd like to make it easy to support arbitrary areas though which might be difficult.

@ellenhp ellenhp added the enhancement New feature or request label Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants