I’d love to get ideas from you people, on how to improve import speed when using a local geotiff for elevation information.
We have world-wide elevation information separated out into a looooot of .tif files. Those are all combined using one .vrt file and I wrote an importer that uses gdal-Java bindings to read elevation information.
This works fine on my local machine where I only have a small geotiff for testing. But on our server, we have those huge geotiff described above.
Now reading 100 elevation infos locally takes about 1ms (or less… we didn’t do suuuuper accurate measuring) but on the server this takes about 90ms. So massively slower.
I suspect the .vrt file (with it’s more that 1000 sub-geotiffs) to be the reason. When going directly into the linked geotiff on the server it’s also a lot faster…
Did anybody here already solve that problem? Or do you have ideas on how to solve it?
What I was thinking of trying is to