{"id":3644,"date":"2022-03-30T15:14:14","date_gmt":"2022-03-30T02:14:14","guid":{"rendered":"http:\/\/blogs.lincoln.ac.nz\/gis\/?p=3644"},"modified":"2023-05-07T00:46:15","modified_gmt":"2023-05-07T00:46:15","slug":"viva-la-resolution","status":"publish","type":"post","link":"https:\/\/blogs.lincoln.ac.nz\/gis\/viva-la-resolution\/","title":{"rendered":"Viva la Resolution!"},"content":{"rendered":"<p><em>We look at the impact of resolution on raster data.<\/em><\/p>\n<p>More often than not, the first question asked when dealing with raster data is, &#8220;What&#8217;s the resolution?&#8221;.\u00a0 Here, resolution refers to the size of each grid cell, or, if we&#8217;re talking about imagery, each pixel.\u00a0 Since each grid cell is a square, we can further talk about its resolution, or size in the &#8220;real world&#8221; as, say, 25 m by 25 m, and often further shortened to just 25 m.\u00a0 The level of resolution gives a sense of how detailed the data are, and in this post we&#8217;ll look into that in a bit more detail using elevation as our proxy.<\/p>\n<p>To delve into this, we&#8217;ll do a bit of a <a href=\"https:\/\/www.youtube.com\/watch?v=0fKBhvDjuy0\" target=\"_blank\" rel=\"noopener noreferrer\">cosmic zoom<\/a>\u00a0and look across a range of scales, starting zoomed out fairly far &#8211; here&#8217;s a DEM (well, more precisely, a <a href=\"http:\/\/blogs.lincoln.ac.nz\/gis\/a-shady-topic-hillshade-layers\/\">hillshade <\/a>from a DEM)\u00a0with a resolution of 100 m at a scale of 1:500,000:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3646\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/First.jpg\" alt=\"\" width=\"1125\" height=\"785\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/First.jpg 1125w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/First-300x209.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/First-1024x715.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/First-768x536.jpg 768w\" sizes=\"auto, (max-width: 1125px) 100vw, 1125px\" \/><\/p>\n<p>Some familiar territory and enough detail to figure out where we are.\u00a0 If we zoom in to a scale of around 1:50,000, things start to pixelate:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3647\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/2.jpg\" alt=\"\" width=\"1224\" height=\"778\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/2.jpg 1224w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/2-300x191.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/2-1024x651.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/2-768x488.jpg 768w\" sizes=\"auto, (max-width: 1224px) 100vw, 1224px\" \/><\/p>\n<p>Let&#8217;s switch from 100 m resolution over to a 25 m DEM hillshade, same scale:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3648\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/3.jpg\" alt=\"\" width=\"1251\" height=\"788\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/3.jpg 1251w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/3-300x189.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/3-1024x645.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/3-768x484.jpg 768w\" sizes=\"auto, (max-width: 1251px) 100vw, 1251px\" \/><\/p>\n<p>Sharper images, yes, due to the higher resolution.\u00a0 Let&#8217;s go in more now to a scale of 1:5,000 with this layer:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3650\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/4-1.jpg\" alt=\"\" width=\"1243\" height=\"786\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/4-1.jpg 1243w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/4-1-300x190.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/4-1-1024x648.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/4-1-768x486.jpg 768w\" sizes=\"auto, (max-width: 1243px) 100vw, 1243px\" \/><\/p>\n<p>Oh my &#8211; looking quite grainy as we get closer to this layer&#8217;s resolution.\u00a0 Here&#8217;s a 15 m DEM hillshade:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3651\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/5.jpg\" alt=\"\" width=\"1238\" height=\"758\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/5.jpg 1238w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/5-300x184.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/5-1024x627.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/5-768x470.jpg 768w\" sizes=\"auto, (max-width: 1238px) 100vw, 1238px\" \/><\/p>\n<p>Not a vast improvement but there is a bit more detail visible.\u00a0 Next up let&#8217;s throw on the 1 m DEM hillshade at this scale:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3652\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/6.jpg\" alt=\"\" width=\"1208\" height=\"775\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/6.jpg 1208w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/6-300x192.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/6-1024x657.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/6-768x493.jpg 768w\" sizes=\"auto, (max-width: 1208px) 100vw, 1208px\" \/><\/p>\n<p>Wow!\u00a0 Now that&#8217;s a bit more like it!\u00a0 Here we&#8217;ve got a lot more visible detail given the much higher resolution.\u00a0 These, of course, are <a href=\"http:\/\/blogs.lincoln.ac.nz\/gis\/lidar-data-thousands-of-tiny-luminous-spheres\/\" target=\"_blank\" rel=\"noopener noreferrer\">LiDAR <\/a>data so we should expect to <a href=\"http:\/\/blogs.lincoln.ac.nz\/gis\/eye-popping-details-from-lidar-data\/\" target=\"_blank\" rel=\"noopener noreferrer\">see some rich detail<\/a>.\u00a0 Can you tell where we are?<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3654\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/7-1.jpg\" alt=\"\" width=\"1202\" height=\"802\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/7-1.jpg 1202w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/7-1-300x200.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/7-1-1024x683.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/7-1-768x512.jpg 768w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/7-1-330x220.jpg 330w\" sizes=\"auto, (max-width: 1202px) 100vw, 1202px\" \/><\/p>\n<p>Halswell Quarry is a nice demo for this with a mix of flat and elevated ground.\u00a0 Switching back to our 100 m hillshade for a comparison, all we see are blocks of gray at this scale:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3655\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/8.jpg\" alt=\"\" width=\"1195\" height=\"762\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/8.jpg 1195w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/8-300x191.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/8-1024x653.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/8-768x490.jpg 768w\" sizes=\"auto, (max-width: 1195px) 100vw, 1195px\" \/><\/p>\n<p>Here&#8217;s the 1 m hillshade again in a 3D scene\u00a0 looking southeast to just give us a sense of how nicely detailed these data are:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3656\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/9.jpg\" alt=\"\" width=\"1276\" height=\"802\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/9.jpg 1276w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/9-300x189.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/9-1024x644.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/9-768x483.jpg 768w\" sizes=\"auto, (max-width: 1276px) 100vw, 1276px\" \/><\/p>\n<p>I&#8217;d be remiss if I didn&#8217;t bring imagery into this discussion, as it&#8217;s there where we really start to see the impact of resolution.\u00a0 We&#8217;ll look at a few examples from different satellites to show this.<\/p>\n<p>First off, the<a href=\"https:\/\/www.nasa.gov\/mission_pages\/landsat\/overview\/index.html\" target=\"_blank\" rel=\"noopener noreferrer\"> Landsat<\/a> satellite at 30 m resolution.\u00a0 There are some great things about Landsat, including longevity and coverage, but with fairly major limitations due to resolution.\u00a0 Here&#8217;s what the quarry looks like from Landsat (scale = ~1:6,000):<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3659\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/10.jpg\" alt=\"\" width=\"1241\" height=\"755\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/10.jpg 1241w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/10-300x183.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/10-1024x623.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/10-768x467.jpg 768w\" sizes=\"auto, (max-width: 1241px) 100vw, 1241px\" \/><\/p>\n<p>The <a href=\"https:\/\/earth.esa.int\/eogateway\/missions\/spot\" target=\"_blank\" rel=\"noopener noreferrer\">Spot<\/a> satellite has a much higher resolution at 2.5 m though at this scale, this still appears a bit pixelly <em>(Ed. That&#8217;s not a real word, by the way)<\/em>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3660\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/11.jpg\" alt=\"\" width=\"1248\" height=\"757\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/11.jpg 1248w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/11-300x182.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/11-1024x621.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/11-768x466.jpg 768w\" sizes=\"auto, (max-width: 1248px) 100vw, 1248px\" \/><\/p>\n<p>The built in NZ Imagery base map gives us sub-metre resolution. The imagery here is a mix of the best available and might well be from <a href=\"https:\/\/earth.esa.int\/eogateway\/missions\/quickbird-2\" target=\"_blank\" rel=\"noopener noreferrer\">Quickbird<\/a>, but it&#8217;s a bit hard to tell for sure.\u00a0 This\u00a0gives us some really nice, human-scale detail:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3661\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/12.jpg\" alt=\"\" width=\"1183\" height=\"758\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/12.jpg 1183w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/12-300x192.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/12-1024x656.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/12-768x492.jpg 768w\" sizes=\"auto, (max-width: 1183px) 100vw, 1183px\" \/><\/p>\n<p>As we zoom in, the resolution holds (scale = ~1:150):<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3662\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/13.jpg\" alt=\"\" width=\"942\" height=\"625\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/13.jpg 942w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/13-300x199.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/13-768x510.jpg 768w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/13-330x220.jpg 330w\" sizes=\"auto, (max-width: 942px) 100vw, 942px\" \/><\/p>\n<p>Here&#8217;s Landsat for that same area and scale:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3666\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/14.jpg\" alt=\"\" width=\"1251\" height=\"788\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/14.jpg 1251w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/14-300x189.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/14-1024x645.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2022\/03\/14-768x484.jpg 768w\" sizes=\"auto, (max-width: 1251px) 100vw, 1251px\" \/><\/p>\n<p>Minecraft anyone?<\/p>\n<p>With both imagery and elevation (particularly with LiDAR) the past ten+ years have been nothing short of a revolution in resolution.\u00a0 Over a short period of time resolutions for both have increased by orders of magnitude, which is great from an analysis point of view (but less so from a data storage perspective).<\/p>\n<p>The main point here is that the resolution is critical to the level of detail we can show with raster data.\u00a0 While this sort of resolution can be eye-popping, it&#8217;s really a horses-for-courses sort of thing.\u00a0 You&#8217;ll always want to use the resolution that best suits your analysis, but this was just a bit of fun to show the effect of different pixel sizes. Viva la Resolution!<\/p>\n<p>C<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We look at the impact of resolution on raster data. More often than not, the first question asked when dealing with raster data is, &#8220;What&#8217;s the resolution?&#8221;.\u00a0 Here, resolution refers to the size of each grid cell, or, if we&#8217;re talking about imagery, each pixel.\u00a0 Since each grid cell is a square, we can further [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3644","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts\/3644","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/comments?post=3644"}],"version-history":[{"count":2,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts\/3644\/revisions"}],"predecessor-version":[{"id":4963,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts\/3644\/revisions\/4963"}],"wp:attachment":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/media?parent=3644"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/categories?post=3644"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/tags?post=3644"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}