{"id":4510,"date":"2024-05-09T09:10:51","date_gmt":"2024-05-09T09:10:51","guid":{"rendered":"https:\/\/blogs.lincoln.ac.nz\/gis\/?p=4510"},"modified":"2024-05-09T09:10:52","modified_gmt":"2024-05-09T09:10:52","slug":"the-view-from-forbes","status":"publish","type":"post","link":"https:\/\/blogs.lincoln.ac.nz\/gis\/the-view-from-forbes\/","title":{"rendered":"The View from Forbes"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"628\" height=\"470\" src=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/image002.png\" alt=\"\" class=\"wp-image-4522\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/image002.png 628w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/image002-300x225.png 300w\" sizes=\"auto, (max-width: 628px) 100vw, 628px\" \/><figcaption class=\"wp-element-caption\"><em>Photo credit: Douglas Broughton<\/em><\/figcaption><\/figure>\n\n\n\n<p>As most everyone will be aware, the Burns Building is slowly being demolished.  I doubt that many will mourn its passing, but I&#8217;m no architectural critic.  What I can be critical about is views.  In my new digs in far reaching Forbistan <em>(Ed. you mean the Forbes Building, right?)<\/em>, I was checking out the view for our fourth floor tea room &#8211; as things progress, this is what I can see:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/IMG_20240508_140343654-1024x576.jpg\" alt=\"\" class=\"wp-image-4523\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/IMG_20240508_140343654-1024x576.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/IMG_20240508_140343654-300x169.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/IMG_20240508_140343654-768x432.jpg 768w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/IMG_20240508_140343654-1200x675.jpg 1200w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/IMG_20240508_140343654.jpg 1224w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>From this vantage point, the Port Hills have long been blocked by Burns and of course my delicate spatial condition got me thinking about <a rel=\"noreferrer noopener\" href=\"https:\/\/blogs.lincoln.ac.nz\/gis\/data-with-a-view-2\/\" data-type=\"post\" data-id=\"129\" target=\"_blank\">Viewsheds <\/a><em>(Ed. Counselling is available, please seek help.)<\/em>  With the right data, we can model visibility from points on the landscape &#8211; this has applications to the best locations for telecommunications towers, military strategies, and visual impact assessments of all kinds.  We&#8217;ve been using them in the GIS courses recently to evaluate how visible wind turbine and fire tower locations are.  I was wondering how our view would change once the demolition was complete.  <\/p>\n\n\n\n<p>To do viewsheds, we need elevation data as a key input.  We also need to know where we&#8217;re determining the visibility from, usually in the form of points.  First to elevation.<\/p>\n\n\n\n<p>As we have seen previously, there are (at least) two kinds of elevation models: Digital Elevation Models (DEMs) and <a rel=\"noreferrer noopener\" href=\"https:\/\/blogs.lincoln.ac.nz\/gis\/i-can-see-for-miles-and-miles-and-miles\/\" data-type=\"post\" data-id=\"2342\" target=\"_blank\">Digital Surface Models<\/a> (DSMs), usually in raster form.  A DEM is a &#8220;bare earth&#8221; model, so just ground level elevations with no trees or trees or anything on the ground surface.  A DSM captures both the bare earth elevations as well as features on the surface.  To do proper viewsheds, one should really use DSMs if they are available as those buildings and trees can have a huge impact on visibility.<\/p>\n\n\n\n<p>With the advent of <a rel=\"noreferrer noopener\" href=\"https:\/\/blogs.lincoln.ac.nz\/gis\/lidar-data-thousands-of-tiny-luminous-spheres\/\" data-type=\"post\" data-id=\"1164\" target=\"_blank\">LiDAR <\/a>and high resolution elevation data, these are becoming easier to get our hands on.  So to start this analysis, I went to the <a rel=\"noreferrer noopener\" href=\"https:\/\/data.linz.govt.nz\" target=\"_blank\">LINZ Data Service<\/a> and searched around for some relevant data.  The best I could find was a 2023 <a rel=\"noreferrer noopener\" href=\"https:\/\/data.linz.govt.nz\/layer\/115806-canterbury-selwyn-lidar-1m-dsm-2023\/\" target=\"_blank\">DSM<\/a> covering much of the Selwyn District (the <a rel=\"noreferrer noopener\" href=\"https:\/\/data.linz.govt.nz\/layer\/115805-canterbury-selwyn-lidar-1m-dem-2023\/\" target=\"_blank\">DEM<\/a> is also available).  I was only interested in a small subset of the overall dataset so cropped those data and downloaded what I needed:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"481\" src=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/LDS-1024x481.jpg\" alt=\"\" class=\"wp-image-4512\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/LDS-1024x481.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/LDS-300x141.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/LDS-768x360.jpg 768w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/LDS-1536x721.jpg 1536w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/LDS.jpg 1911w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Once downloaded and massaged a bit, I could add this to a map.  DEMs on their own aren&#8217;t that easy to interpret so I also made a <a href=\"https:\/\/blogs.lincoln.ac.nz\/gis\/a-shady-topic-hillshade-layers\/\" data-type=\"post\" data-id=\"1629\" target=\"_blank\" rel=\"noreferrer noopener\">Hillshade<\/a> layer to better visualise these data:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"654\" src=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/HS1-1024x654.jpg\" alt=\"\" class=\"wp-image-4513\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/HS1-1024x654.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/HS1-300x192.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/HS1-768x491.jpg 768w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/HS1.jpg 1319w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Here we&#8217;re zoomed into the Lincoln campus and you can make out the outlines of buildings and larger trees, plus a lot of other features.  Note that I&#8217;ve also added a red point that is my rough approximation of the tea room window location.  Before I can run my viewshed I need to take into account that I&#8217;m up on the 4th floor, not at ground level.  We can do this by adding in a special field to the point attribute table called OffsetA.  Then I can add in my elevation above the ground and the viewshed will be determined from this level.  My rough approximation of this was 12.5 m.  I was also interested in limiting the field of view.  After all, my view is from inside the building so I can&#8217;t see all 360 degrees around me.  I can take this into account with two additional fields: AZIMUTH1 and AZIMUTH2.  The first tells Pro what compass direction to start from and the second tells it where to stop (see <a href=\"https:\/\/pro.arcgis.com\/en\/pro-app\/latest\/tool-reference\/spatial-analyst\/using-viewshed-and-observer-points-for-visibility.htm\" target=\"_blank\" rel=\"noreferrer noopener\">here <\/a>for more details on these settings).  I set these as below (degrees from north):<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"375\" height=\"144\" src=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/Table.jpg\" alt=\"\" class=\"wp-image-4514\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/Table.jpg 375w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/Table-300x115.jpg 300w\" sizes=\"auto, (max-width: 375px) 100vw, 375px\" \/><\/figure>\n\n\n\n<p>Now we&#8217;re ready to run the Viewshed tool.  The elevation layer is called SelwynDSM.tif:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"239\" height=\"413\" src=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/VSTool1.jpg\" alt=\"\" class=\"wp-image-4515\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/VSTool1.jpg 239w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/VSTool1-174x300.jpg 174w\" sizes=\"auto, (max-width: 239px) 100vw, 239px\" \/><\/figure>\n\n\n\n<p>Here&#8217;s my output with for the immediate area on the hillshade layer:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"773\" height=\"526\" src=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/VS1.jpg\" alt=\"\" class=\"wp-image-4516\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/VS1.jpg 773w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/VS1-300x204.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/VS1-768x523.jpg 768w\" sizes=\"auto, (max-width: 773px) 100vw, 773px\" \/><\/figure>\n\n\n\n<p>The areas visible from the vantage point are orange &#8211; compared to the photo above I thought it did a pretty good job of capturing what I can see from the tea room.  You can clearly see how Burns blocks much of the view.  Zooming out, we can see the wider visibility of the hills:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"751\" src=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/VS1Wide-1024x751.jpg\" alt=\"\" class=\"wp-image-4517\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/VS1Wide-1024x751.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/VS1Wide-300x220.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/VS1Wide-768x563.jpg 768w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/VS1Wide.jpg 1061w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>A bit hard to see it all at this scale but it does show how much of the view up Early Valley Road is blocked.<\/p>\n\n\n\n<p>So what will it look like after Burns goes away?  To do this I had to remove the Burns Building from the DSM data.  That&#8217;s a little bit complicated and I&#8217;ll cover it in another post, but here&#8217;s the upshot in my hillshade layer:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"740\" height=\"556\" src=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/NoBurns.jpg\" alt=\"\" class=\"wp-image-4518\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/NoBurns.jpg 740w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/NoBurns-300x225.jpg 300w\" sizes=\"auto, (max-width: 740px) 100vw, 740px\" \/><\/figure>\n\n\n\n<p>Et voila!  Bye bye Burns.  I think I might put a quote in to take over the demolition work &#8211; I totally removed the whole building in about 10 minutes.  Now, let&#8217;s rerun the viewshed with this new DSM:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"982\" height=\"561\" src=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/HS2.jpg\" alt=\"\" class=\"wp-image-4519\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/HS2.jpg 982w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/HS2-300x171.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/HS2-768x439.jpg 768w\" sizes=\"auto, (max-width: 982px) 100vw, 982px\" \/><\/figure>\n\n\n\n<p>Visible areas are now purple.  Not surprisingly, there&#8217;s much more visibility across the road.  And the wider view:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"859\" height=\"668\" src=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/HS2Wide.jpg\" alt=\"\" class=\"wp-image-4521\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/HS2Wide.jpg 859w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/HS2Wide-300x233.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/HS2Wide-768x597.jpg 768w\" sizes=\"auto, (max-width: 859px) 100vw, 859px\" \/><\/figure>\n\n\n\n<p>We&#8217;re gonna have a grand view of the hills!  To finish this off, here&#8217;s that viewshed on a 3D satellite image &#8211; nice to know that we&#8217;ll be having such a lovely view when all the dust finally settles.<\/p>\n\n\n\n<p>C<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1025\" height=\"561\" src=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/Sat.jpg\" alt=\"\" class=\"wp-image-4524\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/Sat.jpg 1025w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/Sat-300x164.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2024\/05\/Sat-768x420.jpg 768w\" sizes=\"auto, (max-width: 1025px) 100vw, 1025px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>As most everyone will be aware, the Burns Building is slowly being demolished. I doubt that many will mourn its passing, but I&#8217;m no architectural critic. What I can be critical about is views. In my new digs in far reaching Forbistan (Ed. you mean the Forbes Building, right?), I was checking out the view [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4510","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts\/4510","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=4510"}],"version-history":[{"count":3,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts\/4510\/revisions"}],"predecessor-version":[{"id":4525,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts\/4510\/revisions\/4525"}],"wp:attachment":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/media?parent=4510"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/categories?post=4510"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/tags?post=4510"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}