{"id":1859,"date":"2017-09-21T00:22:23","date_gmt":"2017-09-21T00:22:23","guid":{"rendered":"http:\/\/blogs.lincoln.ac.nz\/gis\/?p=1859"},"modified":"2023-05-07T03:40:01","modified_gmt":"2023-05-07T03:40:01","slug":"contours-made-simple","status":"publish","type":"post","link":"https:\/\/blogs.lincoln.ac.nz\/gis\/contours-made-simple\/","title":{"rendered":"Contours Made Easy"},"content":{"rendered":"<p><em>In this post we look at two different ways of creating elevation contours from a DEM.\u00a0 In one we derive and smooth the contour lines and in the other we smooth the DEM first.<\/em><\/p>\n<p>One of the most common questions we get here at GIS Central is about creating elevation contours.\u00a0 It&#8217;s not a difficult thing to do, so in this post we&#8217;ll look at two different approaches to do this and in another post we&#8217;ll look at labelling and creating index contours.\u00a0 First off, I imagine most of us are familiar with contours.\u00a0 They are key bits of map data that help emphasise changes in topography- each line connects points of equal elevation.\u00a0 As an example, the image below shows the contours for an area on Banks Peninsula from the 1:50,000 scale topo map:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/GodleyHead.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1860\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/GodleyHead.jpg\" alt=\"\" width=\"1114\" height=\"599\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/GodleyHead.jpg 1114w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/GodleyHead-300x161.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/GodleyHead-1024x551.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/GodleyHead-768x413.jpg 768w\" sizes=\"auto, (max-width: 1114px) 100vw, 1114px\" \/><\/a><\/p>\n<p>This is pretty standard contour symbology: the contour interval (i.e. the vertical difference between contours) is 20 m and then every 100 m is a darker, thicker index line.\u00a0 This is an effective way of helping the map reader to get a sense of the changes in terrain.\u00a0 Where they contours are bunched together, the slope is steeper, like above Mechanics and Breeze Bays.\u00a0 Conversely, wide spacing between contours indicates flatter areas, such as on top of the ridge.\u00a0 Let&#8217;s see if we can recreate these contours to a decent standard using a 15 m DEM.\u00a0 I&#8217;ve clipped out what I need from the Christchurch_15m_DEM_Sos grid in J:\\Data\\Digital_Elevation_Models (the &#8220;Sos&#8221; stands for the Otago School of Surveying who produced this layer).\u00a0 For many people, <a href=\"http:\/\/blogs.lincoln.ac.nz\/gis\/a-shady-topic-hillshade-layers\/\">hillshades <\/a>are an easier way of visualising topography and that layer is shown below:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/15mHS.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1861\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/15mHS.jpg\" alt=\"\" width=\"1409\" height=\"722\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/15mHS.jpg 1409w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/15mHS-300x154.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/15mHS-1024x525.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/15mHS-768x394.jpg 768w\" sizes=\"auto, (max-width: 1409px) 100vw, 1409px\" \/><\/a><\/p>\n<p>For our first attempt at contours we&#8217;ll take the easy road: the <a href=\"http:\/\/pro.arcgis.com\/en\/pro-app\/tool-reference\/3d-analyst\/contour.htm\" target=\"_blank\" rel=\"noopener noreferrer\">Contour<\/a> tool.\u00a0 It&#8217;s not at all difficult to use (just make sure you use the DEM and not the hillshade):<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/contourtool.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1862\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/contourtool.jpg\" alt=\"\" width=\"475\" height=\"519\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/contourtool.jpg 475w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/contourtool-275x300.jpg 275w\" sizes=\"auto, (max-width: 475px) 100vw, 475px\" \/><\/a><\/p>\n<p>The input is GHDEM and the output is being saved to my ContourData geodatabase.\u00a0 The contour interval is set to 20, the base contour to 0 and the Z factor to 1 (its default).\u00a0 To be honest, I can&#8217;t ever think of a time I&#8217;ve used the Z factor.\u00a0 It is mainly used to convert data in feet to metres or vice-versa.\u00a0 Here&#8217;s the output:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/ContourOutput1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1863\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/ContourOutput1.jpg\" alt=\"\" width=\"1433\" height=\"854\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/ContourOutput1.jpg 1433w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/ContourOutput1-300x179.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/ContourOutput1-1024x610.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/ContourOutput1-768x458.jpg 768w\" sizes=\"auto, (max-width: 1433px) 100vw, 1433px\" \/><\/a><\/p>\n<p>At first glance, that&#8217;s not too bad, eh?\u00a0 On closer inspection, well, there are some issues.\u00a0 Look at the beach of Taylors Mistake and around parts of the coastline &#8211; it becomes quite blocky.\u00a0 What you&#8217;re seeing is the effect of the grid cell sizes from the DEM.\u00a0 We do have a way to try and clean this up &#8211; the <a href=\"http:\/\/pro.arcgis.com\/en\/pro-app\/tool-reference\/cartography\/smooth-line.htm\" target=\"_blank\" rel=\"noopener noreferrer\">Smooth Line<\/a> tool (ArcToolbox &gt; Cartography Tools &gt; Generalization (sic):<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/SmoothLine.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1864\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/SmoothLine.jpg\" alt=\"\" width=\"475\" height=\"518\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/SmoothLine.jpg 475w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/SmoothLine-275x300.jpg 275w\" sizes=\"auto, (max-width: 475px) 100vw, 475px\" \/><\/a><\/p>\n<p>This tool tries to smooth out jagged lines using one of two smoothing algorithms.\u00a0 I won&#8217;t go into detail on how they work here, suffice it say that PAEK is the default and you need to set a smoothing tolerance &#8211; the smaller this number the more detail it preserves (and the longer it takes).\u00a0 I&#8217;ve set it to &#8220;5&#8221; above and let&#8217;s see what we get:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Smoothed.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1865\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Smoothed.jpg\" alt=\"\" width=\"1437\" height=\"860\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Smoothed.jpg 1437w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Smoothed-300x180.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Smoothed-1024x613.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Smoothed-768x460.jpg 768w\" sizes=\"auto, (max-width: 1437px) 100vw, 1437px\" \/><\/a><\/p>\n<p>Well it&#8217;s not a whole lot better to be fair; we haven&#8217;t really gained much from this.\u00a0 To be honest, there have been few cases where I have seem Smooth Line make a big difference and that&#8217;s why I often use a different approach to creating nice smooth contours.\u00a0 In this approach, rather than smoothing the contours, we smooth the DEM before deriving the contours.\u00a0 For this we use the <a href=\"http:\/\/pro.arcgis.com\/en\/pro-app\/tool-reference\/spatial-analyst\/focal-statistics.htm\" target=\"_blank\" rel=\"noopener noreferrer\">Focal Statistics<\/a> tool:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/FocalTool.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1866\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/FocalTool.jpg\" alt=\"\" width=\"474\" height=\"515\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/FocalTool.jpg 474w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/FocalTool-276x300.jpg 276w\" sizes=\"auto, (max-width: 474px) 100vw, 474px\" \/><\/a><\/p>\n<p>This tool works as a bit of a filter.\u00a0 Envision a window of sorts moving across the DEM from cell to cell. At each cell, it looks around at the neigbouring cells in a window that is seven cells wide and seven cells high and then calculates the mean of that neighbourhood.\u00a0 This value gets put into the cell at the centre of the window in a new grid and the window them moves onto the next cell.\u00a0 So I&#8217;ve run the tool and then derived a new hillshade to illustrate the result:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/FocalHS.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1867\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/FocalHS.jpg\" alt=\"\" width=\"1437\" height=\"736\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/FocalHS.jpg 1437w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/FocalHS-300x154.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/FocalHS-1024x524.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/FocalHS-768x393.jpg 768w\" sizes=\"auto, (max-width: 1437px) 100vw, 1437px\" \/><\/a><\/p>\n<p>To me this looks a bit more &#8220;out of focus&#8221; compared to above, and that&#8217;s a result of the surface being smoothed out.\u00a0 I&#8217;ll run the contour tool on this new DEM and let&#8217;s look at the result:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/SmoothedDEM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1868\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/SmoothedDEM.jpg\" alt=\"\" width=\"1438\" height=\"740\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/SmoothedDEM.jpg 1438w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/SmoothedDEM-300x154.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/SmoothedDEM-1024x527.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/SmoothedDEM-768x395.jpg 768w\" sizes=\"auto, (max-width: 1438px) 100vw, 1438px\" \/><\/a><\/p>\n<p>Well this is gives us some very nice smoothed contours, more like what we might see on a topo map but we&#8217;ve still got a rather jagged coastline.\u00a0 We have another issue as well which becomes clearer if I turn on our first contour attempt:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Comparison.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1869\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Comparison.jpg\" alt=\"\" width=\"1438\" height=\"744\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Comparison.jpg 1438w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Comparison-300x155.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Comparison-1024x530.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Comparison-768x397.jpg 768w\" sizes=\"auto, (max-width: 1438px) 100vw, 1438px\" \/><\/a><\/p>\n<p>The contours above sea level are smoother and &#8220;look&#8221; a bit nicer, but as a result of my smoothing the DEM, the zero contour has been spread out, like a bit of melted butter.\u00a0 Let&#8217;s look at bit more closely as the differences between the smoothed DEM contours (blue) and the smoothed contour lines (brownish):<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Zoomed.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1870\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Zoomed.jpg\" alt=\"\" width=\"1189\" height=\"694\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Zoomed.jpg 1189w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Zoomed-300x175.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Zoomed-1024x598.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Zoomed-768x448.jpg 768w\" sizes=\"auto, (max-width: 1189px) 100vw, 1189px\" \/><\/a><\/p>\n<p>When zoomed in, the smoothed DEM contours look like winners to me and I&#8217;d be inclined to use them for mapping &#8211; but NOT analysis.\u00a0 This is a very important caveat with this approach.\u00a0 On balance, I&#8217;d say that smoothing the DEM gives you better looking contours for mapping, but by no means would I want to use that smoothed DEM for any analysis &#8211; I&#8217;ve removed too much of the useful information to get such a nice result.<\/p>\n<p>So what about my jagged coastline?\u00a0 I won&#8217;t actually go through and do this, but I&#8217;d be quite tempted to select those particular 0 contours, delete them and then add in my coastline (line) layer and merge it with this one.\u00a0 Again, this would be solely for mapping purposes and not suitable for analysis.\u00a0 For that matter, if I&#8217;m just showing these on the map, I might be able to get away with not merging those two layers at all and just making sure I&#8217;ve matched the line colours.<\/p>\n<p>One last subtle point: let&#8217;s look at the attribute table to illustrate this:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/ContourTable.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1871\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/ContourTable.jpg\" alt=\"\" width=\"801\" height=\"363\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/ContourTable.jpg 801w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/ContourTable-300x136.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/ContourTable-768x348.jpg 768w\" sizes=\"auto, (max-width: 801px) 100vw, 801px\" \/><\/a><\/p>\n<p>The Contour values have been sorted in ascending order and you can see that in some cases I&#8217;ve got several features with the same elevation (e.g. two 100s, three 140s) and 23 records in all for contours ranging from 0 &#8211; 240 m in 20 m intervals.\u00a0 My original contour layer is a bit worse, with 30 records when in the simplest case I should only have 13.\u00a0 As a next step, I could run the <a href=\"http:\/\/pro.arcgis.com\/en\/pro-app\/tool-reference\/data-management\/dissolve.htm\" target=\"_blank\" rel=\"noopener noreferrer\">Dissolve<\/a> tool which would merge all of my contours with the same value into one record, thereby simplifying my layer, on the map and in the table.\u00a0 It will look exactly the same on the map but the table will have fewer records and this might save me a bit of trouble when I start symbolising and labelling these contours &#8211; a topic we&#8217;ll address in the next post.<\/p>\n<p>Before we finish, one last evaluation step.\u00a0 Up at the top of this post I showed the 1:50K topo map &#8211; so how do our results here compare against the &#8220;official&#8221; contours.\u00a0 Here you go &#8211; three sets of contours here &#8211; the smoothed DEM ones in blue, the original smoothed contours in darkish brown and the topo map ones in light brown:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Comparison2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1872\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Comparison2.jpg\" alt=\"\" width=\"1207\" height=\"691\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Comparison2.jpg 1207w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Comparison2-300x172.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Comparison2-1024x586.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2017\/09\/Comparison2-768x440.jpg 768w\" sizes=\"auto, (max-width: 1207px) 100vw, 1207px\" \/><\/a><\/p>\n<p>You can better see the effect of the melted butter DEM here.\u00a0 And the smoothed DEM contours are missing out on some of the detail of the undulations in the terrain that both the others capture.\u00a0 I could address this by maybe going back and using a 3 X 3 neighbourhood rather than a 7 X 7, which would create less smoothing.\u00a0 I won&#8217;t do that here but I hope you can see how easy it would be to do so &#8211; five minutes worth of work maybe?<\/p>\n<p>One might have a question about how to set your contour interval.\u00a0 While it might be tempting to derive, say 1 m contours from this DEM, I wouldn&#8217;t have much faith in the results.\u00a0 A very rough rule of thumb is that your contour interval should be no less than half the resolution of your DEM.\u00a0 So with the 15 m DEM, I&#8217;ve be pretty comfortable doing 10 m contours, but wouldn&#8217;t go so far as to do 5 m contours.\u00a0 I could do 7.5 m but that&#8217;s a bit nonsensical.\u00a0 Nothing will stop you from doing so, but I just wouldn&#8217;t put that much faith in what they show.\u00a0 In this post I&#8217;ve used 20 m intervals mainly so that we can do a bit of a comparison with the &#8220;official&#8221; contours.<\/p>\n<p>Elevation contours are a fundamental way of showing topography on a map.\u00a0 They&#8217;re not all that useful for analysis but are very effective and well-understood ways of showing the terrain.\u00a0 In this post you&#8217;ve seen how relatively straightforward it is to derive them and two different approached to get map quality contours.\u00a0 Tune in next week for the next phase of making them look nice on a map.<\/p>\n<p>C<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post we look at two different ways of creating elevation contours from a DEM.\u00a0 In one we derive and smooth the contour lines and in the other we smooth the DEM first. One of the most common questions we get here at GIS Central is about creating elevation contours.\u00a0 It&#8217;s not a difficult [&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-1859","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts\/1859","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=1859"}],"version-history":[{"count":1,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts\/1859\/revisions"}],"predecessor-version":[{"id":4128,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts\/1859\/revisions\/4128"}],"wp:attachment":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/media?parent=1859"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/categories?post=1859"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/tags?post=1859"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}