//For choosing which 960x960 tile to choose from for Mars string getTile(int xindex, int yindex){ string file = "../tiles/ulcn2005_lpo_dd0_"; file.append(to_string(yindex/960+1)); file.append("_"); file.append(to_string(xindex/960+1)); file.append(".tif"); return file; }