Global Mapper Pro Coming Soon

COG export syntax to generate overviews

earthstarearthstar Global Mapper UserPosts: 7
I am wanting to export a lot of images to Cloud Optimized GeoTIFF (COG) format which is now supported in v. 22.1. My main question is whether the Write GeoTIFF Overviews (Pyramid) option shown in the GUI is automatically enabled when COG is the selected as the export format in a script, or whether it needs to be explicitly invoked with a script command (and if so what is that flag). Also, is there a way in GM to check whether exported COG files do indeed have overviews embedded?


  • bmg_bobbmg_bob Global Mapper Programmer Posts: 2,328

    The parameter to include GeoTIFF overviews is ADD_OVERVIEW_LAYERS=YES. When you export Cloud Optimized GeoTIFF, it defaults to yes, so an overview will be included even if you don't specify the parameter.

    To check whether or not the COG file has an overview embedded, load the file land open the layer metadata. There should be a value called OVERVIEW 1 if there is an overview.

Sign In or Register to comment.