For a hobby flight simulator C++ project, satellite RGB and elevation data is needed. Since a few days I am trying Google Earth Engine. It is amazing at showing the data as a map. I see GeoTIFF export options, but I don't know how to load/convert that data into C++.
Is there a possibility to export a binary file?
For example where each pixel is represented by 5 bytes: RGBEE. (EE being a 16-bit int representing the elevation in meters.)
So the binary file would be of this format RGBEERGBEERGBEE...RGBEE with a total length of 5 times the number of pixels. Example: map of 100 by 100 pixels > file size= 50000 bytes.