C++ read and write geotiff format to add coordinate information and projection information