Skip to content

Instantly share code, notes, and snippets.

View tilaktilak's full-sized avatar

pierre.tilak tilaktilak

View GitHub Profile
@tilaktilak
tilaktilak / DTM_GEOTIFF_GDAL.cpp
Last active September 24, 2019 04:13
open a geotiff dtm with gdal
// Compile with g++ geotiff2.cpp -std=c++11 -lgdal && ./a.out
#include "cpl_conv.h" // for CPLMalloc()
#include "gdal_priv.h"
#include <iostream>
typedef struct {
double lon;
double lat;
} coord;