Lidar maximo !

Jul 26, 2019

playing with lidar data.

First i discovered the amazing package Rayshader for R and played a little bit with.

After having stumbled upon this nice vizualisation from Fabien Lezeau @LzuFabien : alt text

i followed this excellent tutorial from Daniel Huffman @pinakographos

On top of that i retrieved the 2018 Lidar data from Berlin (look for “ATKIS® DOM - Digitales Oberflächenmodell”)

Finally, and before my desk began to burn with the CPU overheat, i found a way to run Blender on Google Colab. This is really nice, (and free), as you can simply upload your raster files and blender on google drive and run the rendering from your browser with a Tesla K80 GPU. What required 5 hours on my old laptop takes 6 minutes, which i considere an improvement.

Just open the picture in a new tab to zoom, or better, download them to open them with an image viewer :

alt text

alt text

alt text

And for this one, i used the IGN Litto3d data :

alt text

Quick walkthrough to render on Google Colab:

  • open a GPU enable google colab notebook
  • use the blender_test.ipynb from the github as template.
  • adjust the config.py file from the github repo (set raster & tiles files names)
  • upload on your google drive the raster file, the tile file (both .tiff), the .blend file and the config.py.
  • run the notebook, it will first install blender, compile CUDA, and finally render into the ouput.png file (see the left tab “file” in the notebook,click “refresh”)