<div dir="ltr"><div>Hi</div><div><br></div><div>I want to create a big (I mean bigger than my RAM size) COG file in C++ with GDAL 3.1.</div><div>COG driver does not have the "Create()" method, but "CreateCopy()". I am not sure how I have to do it. Should I Create() first the dataset with the MEM driver, write on it, and then call the CreateCopy with the COG driver? (by the way, before closing the MEM dataset? Is then everything copied?) I am afraid that everything is stored in memory while I am using the MEM driver. Or should I use a normal GTiff dataset, and then CreateCopy() with the COG driver? Or anything else?<br></div><div><br></div><div>Thank you,<br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">.___ ._ ..._ .. . ._.  .___ .. __ . _. . __..  ... .... ._ .__<br>Entre dos pensamientos racionales <br>hay infinitos pensamientos irracionales.<br><br></div></div></div></div>