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.
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.