{"id":348,"date":"2024-10-12T20:12:01","date_gmt":"2024-10-12T20:12:01","guid":{"rendered":"https:\/\/www.acugis.com\/gis-tutorials\/?page_id=348"},"modified":"2024-10-12T22:13:06","modified_gmt":"2024-10-12T22:13:06","slug":"geoserver-tiffs-geotiffs-and-cogs","status":"publish","type":"page","link":"https:\/\/www.acugis.com\/gis-tutorials\/geoserver\/geoserver-tiffs-geotiffs-and-cogs\/","title":{"rendered":"GeoServer: TIFFs, GeoTIFFs, and COGs"},"content":{"rendered":"\n<p>TIFF, GeoTIFF, and Cloud Optimized GeoTIFF (COG) are three Raster file specifications.<\/p>\n\n\n\n<p>At it&#8217;s simplest:<\/p>\n\n\n\n<figure class=\"wp-block-table alignleft is-style-stripes has-medium-font-size\"><table><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\"><img loading=\"lazy\" decoding=\"async\" width=\"100\" height=\"111\" class=\"wp-image-329\" style=\"width: 100px;\" src=\"https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/image-only.png\" alt=\"\"><br><\/td><td class=\"has-text-align-left\" data-align=\"left\">A <strong>Tiff <\/strong>file contains only an <strong>image<\/strong>.<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><br><img loading=\"lazy\" decoding=\"async\" width=\"100\" height=\"111\" class=\"wp-image-303\" style=\"width: 100px;\" src=\"https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/location-1.png\" alt=\"\"> <\/td><td class=\"has-text-align-left\" data-align=\"left\">A <strong>GeoTiff <\/strong>contains both an <strong>image <\/strong>and<strong> location data.<\/strong><\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><br><img loading=\"lazy\" decoding=\"async\" width=\"100\" height=\"111\" class=\"wp-image-305\" style=\"width: 100px;\" src=\"https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/geotiff.png\" alt=\"\"> <\/td><td class=\"has-text-align-left\" data-align=\"left\">A <strong>COG <\/strong>is a <strong>GeoTIFF<\/strong> that has been modified to serve only those parts of the GeoTIFF required by an HTTP Get request.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.acugis.com\/gis-tutorials\/wp-content\/uploads\/2024\/10\/open-1024x104.png\" alt=\"\" class=\"wp-image-321\"\/><\/figure>\n\n\n\n<p>The ability of a COG to serve only those parts of a GeoTIFF requested, and not the entire GeoTIFF, make a COG more efficient and faster than a GeoTIFF.<\/p>\n\n\n\n<p>A good analogy to distinguish a GeoTIFF from a COG is viewing a movie on DVD versus viewing a movie on a Streaming Service.<\/p>\n\n\n\n<p>With a DVD, you take delivery of the entire DVD and then proceed to view it.  A COG, conversely, only &#8220;streams&#8221; the bit you are actually watching at this moment.<\/p>\n\n\n\n<p>A Cloud Optimized GeoTIFF accomplishes this in two way:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>By storing the image pixels in smaller untis<\/li>\n\n\n\n<li>By providing only the required units in response to an HTTP Get request.<\/li>\n<\/ol>\n\n\n\n<p>You can <a href=\"https:\/\/www.acugis.com\/gis-tutorials\/geoserver\/convert-geotiff-to-cog\/\" data-type=\"page\" data-id=\"345\">convert your GeoTIFF to Cloud Optimized GeoTIFF using GDAL<\/a>.  <\/p>\n\n\n\n<p>Learn more about <\/p>\n","protected":false},"excerpt":{"rendered":"<p>TIFF, GeoTIFF, and Cloud Optimized GeoTIFF (COG) are three Raster file specifications. At it&#8217;s simplest: A Tiff file contains only an image. A GeoTiff contains both an image and location data. A COG is a GeoTIFF that has been modified to serve only those parts of the GeoTIFF required by an HTTP Get request. The &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.acugis.com\/gis-tutorials\/geoserver\/geoserver-tiffs-geotiffs-and-cogs\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;GeoServer: TIFFs, GeoTIFFs, and COGs&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":48,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-348","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.acugis.com\/gis-tutorials\/wp-json\/wp\/v2\/pages\/348","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.acugis.com\/gis-tutorials\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.acugis.com\/gis-tutorials\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.acugis.com\/gis-tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.acugis.com\/gis-tutorials\/wp-json\/wp\/v2\/comments?post=348"}],"version-history":[{"count":9,"href":"https:\/\/www.acugis.com\/gis-tutorials\/wp-json\/wp\/v2\/pages\/348\/revisions"}],"predecessor-version":[{"id":367,"href":"https:\/\/www.acugis.com\/gis-tutorials\/wp-json\/wp\/v2\/pages\/348\/revisions\/367"}],"up":[{"embeddable":true,"href":"https:\/\/www.acugis.com\/gis-tutorials\/wp-json\/wp\/v2\/pages\/48"}],"wp:attachment":[{"href":"https:\/\/www.acugis.com\/gis-tutorials\/wp-json\/wp\/v2\/media?parent=348"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}