I want to create a service calculating height profiles using our CoGeoTiff LaserScan data from Austria. It has a 1m resolution at its deepest level and is about 400GB big. Generating height profiles in a small area works really great and the computation is done within 1-2 seconds using rasterio
But when we calculate a profile longer than 50km the calculation takes up to 50 seconds.
But for the longer profiles we do not need the 1m resolution, maybe 20m resolution would be enough or in other words -> I will calculate the profile at a specific overview level.
rasterio.sample.sample_gen(src, [coordinateList], overview=20). Unfortunately this is not possible or I still can't find it.