{"id":2650712,"date":"2025-01-14T11:30:04","date_gmt":"2025-01-14T19:30:04","guid":{"rendered":"https:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=2650712"},"modified":"2025-01-14T13:51:24","modified_gmt":"2025-01-14T21:51:24","slug":"filling-sinks-in-dems-like-an-expert","status":"publish","type":"blog","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/analytics\/filling-sinks-in-dems-like-an-expert","title":{"rendered":"Filling sinks in DEMs like an expert"},"author":246232,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"_searchwp_excluded":""},"categories":[23341],"tags":[24131,38591,23371,777882],"industry":[],"product":[36841,767992,36951,36551,36561,36861],"class_list":["post-2650712","blog","type-blog","status-publish","format-standard","hentry","category-analytics","tag-dem","tag-fill","tag-hydrology","tag-sink","product-api-python","product-arcgis-image-for-arcgis-online","product-image-server","product-arcgis-online","product-arcgis-pro","product-api-rest"],"acf":{"authors":[{"ID":246232,"user_firstname":"Tania","user_lastname":"Lopez-Cantu","nickname":"Tania Lopez-Cantu","user_nicename":"tlopezcantu","display_name":"Tania Lopez-Cantu","user_email":"tlopezcantu@esri.com","user_url":"","user_registered":"2021-07-02 17:07:13","user_description":"Tania Lopez-Cantu is a Senior Product Engineer in the Raster Analysis team at Esri. She works with raster and scientific multidimensional data to solve problems in water resources management and climate change impacts. Her role at Esri includes conducting research, building and maintaining tools for hydrological and terrain analysis. She holds a Ph.D. in Civil and Environmental Engineering from Carnegie Mellon University.","user_avatar":"<img data-del=\"avatar\" src='https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2022\/10\/tanialopez-cantu_tan11562-465x465.jpg' class='avatar pp-user-avatar avatar-96 photo ' height='96' width='96'\/>"}],"short_description":"Master the Spatial Analyst Fill tool to eliminate sinks and extract better hydrologic information from your elevation data","flexible_content":[{"acf_fc_layout":"content","content":"<h2>Introduction<\/h2>\n<p><span class=\"TextRun SCXW263499812 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\" data-ccp-charstyle-defn=\"{&quot;ObjectId&quot;:&quot;91b0d700-4f9d-453c-a089-86a2bfaf2103|77&quot;,&quot;ClassId&quot;:1073872969,&quot;Properties&quot;:[201342446,&quot;1&quot;,201342447,&quot;5&quot;,201342448,&quot;3&quot;,201342449,&quot;1&quot;,469777841,&quot;Aptos&quot;,469777842,&quot;Arial&quot;,469777843,&quot;\u6e38\u30b4\u30b7\u30c3\u30af&quot;,469777844,&quot;Aptos&quot;,201341986,&quot;1&quot;,469769226,&quot;Aptos,Arial,\u6e38\u30b4\u30b7\u30c3\u30af&quot;,268442635,&quot;24&quot;,469775450,&quot;normaltextrun&quot;,201340122,&quot;1&quot;,134233614,&quot;true&quot;,469778129,&quot;normaltextrun&quot;,335572020,&quot;1&quot;,469778324,&quot;Default Paragraph Font&quot;]}\">Digital Elevation Models (DEM<\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">s<\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">) are used to understand hydrological characteristics of an area, such as the location of streams or watershed boundaries.<\/span> <span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">T<\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">he terrain represented in a DEM <\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">typically has local high points (peaks) and low points (valleys). Often, DEMs also<\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\"> include <\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">sink<\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">s<\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">. Sinks<\/span> <span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">can be real landscape features captured by very high-resolution <\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">DEMs<\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">.<\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\"> They can also be<\/span> <span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">erroneous<\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\"> elevation values <\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">that <\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">result from data noise, interpolation errors<\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">,<\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\"> or low spatial resolution.<\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\"> Sinks are<\/span> <span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">problematic when computing hydrologic characteristics as they <\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">prevent water from flowing<\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\"> (Grimaldi et al., 2007; Lindsay, 2016; Lindsay &amp; Creed, 2005), so they must be handled in some way<\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">. <\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">One <\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">solution<\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\"> is to fill them<\/span> <span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">in <\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">so that water<\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\"> flow is not interrupted. <\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">T<\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">he Spatial Analyst <\/span><\/span><a href=\"https:\/\/pro.arcgis.com\/en\/pro-app\/latest\/tool-reference\/spatial-analyst\/fill.htm\"><span class=\"TextRun SCXW263499812 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">Fill<\/span><\/span><\/a><span class=\"TextRun SCXW263499812 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\"> tool can be used to <\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">fill sinks <\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">on a DEM <\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">so that water always<\/span><span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\"> finds<\/span> <span class=\"NormalTextRun SCXW263499812 BCX0\" data-ccp-charstyle=\"normaltextrun\">an outlet. <\/span><\/span><span class=\"LineBreakBlob BlobObject DragDrop SCXW263499812 BCX0\"><span class=\"SCXW263499812 BCX0\">\u00a0<\/span><br class=\"SCXW263499812 BCX0\" \/><\/span><\/p>\n<p><span class=\"NormalTextRun CommentStart CommentHighlightPipeRestRefresh CommentHighlightRest SCXW236313017 BCX0\" data-ccp-charstyle=\"normaltextrun\">Figure 1 shows an elevation profile through a sink in a hypothe<\/span><span class=\"NormalTextRun CommentHighlightPipeRestRefresh SCXW236313017 BCX0\" data-ccp-charstyle=\"normaltextrun\">tical DEM.<\/span><\/p>\n"},{"acf_fc_layout":"image","image":{"ID":2650742,"id":2650742,"title":"Fill_Figure1","filename":"Fig1.png","filesize":39544,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fig1.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/analytics\/filling-sinks-in-dems-like-an-expert\/fig1-12","alt":"Single sink elevation profile","author":"246232","description":"An example of a single sink by looking at its elevation profile.","caption":"Figure 1. Elevation profile of a single sink.","name":"fig1-12","status":"inherit","uploaded_to":2650712,"date":"2025-01-14 07:23:51","modified":"2025-01-14 07:24:33","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1688,"height":869,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fig1-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fig1.png","medium-width":464,"medium-height":239,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fig1.png","medium_large-width":768,"medium_large-height":395,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fig1.png","large-width":1688,"large-height":869,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fig1-1536x791.png","1536x1536-width":1536,"1536x1536-height":791,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fig1.png","2048x2048-width":1688,"2048x2048-height":869,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fig1-826x425.png","card_image-width":826,"card_image-height":425,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fig1.png","wide_image-width":1688,"wide_image-height":869}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p><span data-contrast=\"auto\">Depending on the complexity of the terrain, sinks can be part of a nested structure that represents a larger depression area. A single sink is characterized by having a single lowest point whereas a nested sink can contain multiple low points within.\u202f<\/span> <span data-contrast=\"auto\">Figure 2 below shows an elevation profile that has several nested sinks.<\/span><\/p>\n"},{"acf_fc_layout":"image","image":{"ID":2650822,"id":2650822,"title":"Fill_Figure2","filename":"Fig2-e1736882759307.png","filesize":6093,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fig2-e1736882759307.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/analytics\/filling-sinks-in-dems-like-an-expert\/fig2-17","alt":"Nested sinks elevation profile","author":"246232","description":"An example of nested sinks by looking at their elevation profile.","caption":"Figure 2. Elevation profile of nested sinks. ","name":"fig2-17","status":"inherit","uploaded_to":2650712,"date":"2025-01-14 18:00:03","modified":"2025-01-14 18:01:04","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":956,"height":498,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fig2-e1736882759307-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fig2-e1736882759307-464x242.png","medium-width":464,"medium-height":242,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fig2-e1736882759307-768x400.png","medium_large-width":768,"medium_large-height":400,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fig2-e1736882759307.png","large-width":956,"large-height":498,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fig2-e1736882759307.png","1536x1536-width":956,"1536x1536-height":498,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fig2-e1736882759307.png","2048x2048-width":956,"2048x2048-height":498,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fig2-e1736882759307-826x430.png","card_image-width":826,"card_image-height":430,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fig2-e1736882759307.png","wide_image-width":956,"wide_image-height":498}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p><span class=\"TextRun SCXW34632650 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW34632650 BCX0\" data-ccp-parastyle=\"paragraph\" data-ccp-parastyle-defn=\"{&quot;ObjectId&quot;:&quot;91b0d700-4f9d-453c-a089-86a2bfaf2103|76&quot;,&quot;ClassId&quot;:1073872969,&quot;Properties&quot;:[201342446,&quot;1&quot;,201342447,&quot;5&quot;,201342448,&quot;3&quot;,201342449,&quot;1&quot;,469777841,&quot;Times New Roman&quot;,469777842,&quot;Times New Roman&quot;,469777843,&quot;Times New Roman&quot;,469777844,&quot;Times New Roman&quot;,201341986,&quot;1&quot;,469769226,&quot;Times New Roman&quot;,268442635,&quot;24&quot;,469775450,&quot;paragraph&quot;,201340122,&quot;2&quot;,134233614,&quot;true&quot;,469778129,&quot;paragraph&quot;,335572020,&quot;1&quot;,335559740,&quot;240&quot;,201341983,&quot;0&quot;,134233118,&quot;true&quot;,134233117,&quot;true&quot;,469778324,&quot;Normal&quot;]}\">\u00a0<\/span><\/span><span class=\"TextRun SCXW34632650 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun CommentStart SCXW34632650 BCX0\" data-ccp-charstyle=\"normaltextrun\" data-ccp-charstyle-defn=\"{&quot;ObjectId&quot;:&quot;91b0d700-4f9d-453c-a089-86a2bfaf2103|77&quot;,&quot;ClassId&quot;:1073872969,&quot;Properties&quot;:[201342446,&quot;1&quot;,201342447,&quot;5&quot;,201342448,&quot;3&quot;,201342449,&quot;1&quot;,469777841,&quot;Aptos&quot;,469777842,&quot;Arial&quot;,469777843,&quot;\u6e38\u30b4\u30b7\u30c3\u30af&quot;,469777844,&quot;Aptos&quot;,201341986,&quot;1&quot;,469769226,&quot;Aptos,Arial,\u6e38\u30b4\u30b7\u30c3\u30af&quot;,268442635,&quot;24&quot;,469775450,&quot;normaltextrun&quot;,201340122,&quot;1&quot;,134233614,&quot;true&quot;,469778129,&quot;normaltextrun&quot;,335572020,&quot;1&quot;,469778324,&quot;Default Paragraph Font&quot;]}\">The <\/span><span class=\"NormalTextRun SCXW34632650 BCX0\" data-ccp-charstyle=\"normaltextrun\">Spatial<\/span><span class=\"NormalTextRun SCXW34632650 BCX0\" data-ccp-charstyle=\"normaltextrun\"> Analyst <\/span><\/span><span class=\"TextRun SCXW34632650 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW34632650 BCX0\" data-ccp-charstyle=\"normaltextrun\">Fill<\/span><\/span><span class=\"TextRun SCXW34632650 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW34632650 BCX0\" data-ccp-charstyle=\"normaltextrun\"> tool<\/span><span class=\"NormalTextRun SCXW34632650 BCX0\" data-ccp-charstyle=\"normaltextrun\"> can be used to <\/span><span class=\"NormalTextRun SCXW34632650 BCX0\" data-ccp-charstyle=\"normaltextrun\">alter the DEM<\/span> <span class=\"NormalTextRun SCXW34632650 BCX0\" data-ccp-charstyle=\"normaltextrun\">so that<\/span><span class=\"NormalTextRun SCXW34632650 BCX0\" data-ccp-charstyle=\"normaltextrun\"> water always finds an outlet by iterating over all identified sinks\u202fthat meet <\/span><span class=\"NormalTextRun CommentStart SCXW34632650 BCX0\" data-ccp-charstyle=\"normaltextrun\">two conditions<\/span><span class=\"NormalTextRun SCXW34632650 BCX0\" data-ccp-charstyle=\"normaltextrun\">:\u00a0<\/span><\/span><span class=\"EOP SCXW34632650 BCX0\" data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<ol>\n<li><span class=\"TextRun SCXW235886298 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun CommentStart SCXW235886298 BCX0\" data-ccp-charstyle=\"normaltextrun\" data-ccp-charstyle-defn=\"{&quot;ObjectId&quot;:&quot;91b0d700-4f9d-453c-a089-86a2bfaf2103|77&quot;,&quot;ClassId&quot;:1073872969,&quot;Properties&quot;:[201342446,&quot;1&quot;,201342447,&quot;5&quot;,201342448,&quot;3&quot;,201342449,&quot;1&quot;,469777841,&quot;Aptos&quot;,469777842,&quot;Arial&quot;,469777843,&quot;\u6e38\u30b4\u30b7\u30c3\u30af&quot;,469777844,&quot;Aptos&quot;,201341986,&quot;1&quot;,469769226,&quot;Aptos,Arial,\u6e38\u30b4\u30b7\u30c3\u30af&quot;,268442635,&quot;24&quot;,469775450,&quot;normaltextrun&quot;,201340122,&quot;1&quot;,134233614,&quot;true&quot;,469778129,&quot;normaltextrun&quot;,335572020,&quot;1&quot;,469778324,&quot;Default Paragraph Font&quot;]}\">Have <\/span><span class=\"NormalTextRun SCXW235886298 BCX0\" data-ccp-charstyle=\"normaltextrun\">depths<\/span><span class=\"NormalTextRun SCXW235886298 BCX0\" data-ccp-charstyle=\"normaltextrun\"> within the range <\/span><span class=\"NormalTextRun SCXW235886298 BCX0\" data-ccp-charstyle=\"normaltextrun\">established<\/span><span class=\"NormalTextRun SCXW235886298 BCX0\" data-ccp-charstyle=\"normaltextrun\"> by the <\/span><span class=\"NormalTextRun SCXW235886298 BCX0\" data-ccp-charstyle=\"normaltextrun\">Z limit<\/span><span class=\"NormalTextRun SCXW235886298 BCX0\" data-ccp-charstyle=\"normaltextrun\"> parameter<\/span><span class=\"NormalTextRun SCXW235886298 BCX0\" data-ccp-charstyle=\"eop\" data-ccp-charstyle-defn=\"{&quot;ObjectId&quot;:&quot;91b0d700-4f9d-453c-a089-86a2bfaf2103|78&quot;,&quot;ClassId&quot;:1073872969,&quot;Properties&quot;:[201342446,&quot;1&quot;,201342447,&quot;5&quot;,201342448,&quot;3&quot;,201342449,&quot;1&quot;,469777841,&quot;Aptos&quot;,469777842,&quot;Arial&quot;,469777843,&quot;\u6e38\u30b4\u30b7\u30c3\u30af&quot;,469777844,&quot;Aptos&quot;,201341986,&quot;1&quot;,469769226,&quot;Aptos,Arial,\u6e38\u30b4\u30b7\u30c3\u30af&quot;,268442635,&quot;24&quot;,469775450,&quot;eop&quot;,201340122,&quot;1&quot;,134233614,&quot;true&quot;,469778129,&quot;eop&quot;,335572020,&quot;1&quot;,469778324,&quot;Default Paragraph Font&quot;]}\">\u202f<\/span><\/span><span class=\"EOP SCXW235886298 BCX0\" data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559685&quot;:1080,&quot;335559731&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/li>\n<li><span class=\"TextRun SCXW69238551 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW69238551 BCX0\" data-ccp-charstyle=\"normaltextrun\" data-ccp-charstyle-defn=\"{&quot;ObjectId&quot;:&quot;91b0d700-4f9d-453c-a089-86a2bfaf2103|77&quot;,&quot;ClassId&quot;:1073872969,&quot;Properties&quot;:[201342446,&quot;1&quot;,201342447,&quot;5&quot;,201342448,&quot;3&quot;,201342449,&quot;1&quot;,469777841,&quot;Aptos&quot;,469777842,&quot;Arial&quot;,469777843,&quot;\u6e38\u30b4\u30b7\u30c3\u30af&quot;,469777844,&quot;Aptos&quot;,201341986,&quot;1&quot;,469769226,&quot;Aptos,Arial,\u6e38\u30b4\u30b7\u30c3\u30af&quot;,268442635,&quot;24&quot;,469775450,&quot;normaltextrun&quot;,201340122,&quot;1&quot;,134233614,&quot;true&quot;,469778129,&quot;normaltextrun&quot;,335572020,&quot;1&quot;,469778324,&quot;Default Paragraph Font&quot;]}\">Have a lower elevation value than their lowest adjacent neighbor<\/span><span class=\"NormalTextRun SCXW69238551 BCX0\" data-ccp-charstyle=\"eop\" data-ccp-charstyle-defn=\"{&quot;ObjectId&quot;:&quot;91b0d700-4f9d-453c-a089-86a2bfaf2103|78&quot;,&quot;ClassId&quot;:1073872969,&quot;Properties&quot;:[201342446,&quot;1&quot;,201342447,&quot;5&quot;,201342448,&quot;3&quot;,201342449,&quot;1&quot;,469777841,&quot;Aptos&quot;,469777842,&quot;Arial&quot;,469777843,&quot;\u6e38\u30b4\u30b7\u30c3\u30af&quot;,469777844,&quot;Aptos&quot;,201341986,&quot;1&quot;,469769226,&quot;Aptos,Arial,\u6e38\u30b4\u30b7\u30c3\u30af&quot;,268442635,&quot;24&quot;,469775450,&quot;eop&quot;,201340122,&quot;1&quot;,134233614,&quot;true&quot;,469778129,&quot;eop&quot;,335572020,&quot;1&quot;,469778324,&quot;Default Paragraph Font&quot;]}\">\u202f<\/span><\/span><span class=\"EOP SCXW69238551 BCX0\" data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559685&quot;:1080,&quot;335559731&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/li>\n<\/ol>\n<p><span class=\"TextRun SCXW40977501 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW40977501 BCX0\" data-ccp-charstyle=\"normaltextrun\" data-ccp-charstyle-defn=\"{&quot;ObjectId&quot;:&quot;91b0d700-4f9d-453c-a089-86a2bfaf2103|77&quot;,&quot;ClassId&quot;:1073872969,&quot;Properties&quot;:[201342446,&quot;1&quot;,201342447,&quot;5&quot;,201342448,&quot;3&quot;,201342449,&quot;1&quot;,469777841,&quot;Aptos&quot;,469777842,&quot;Arial&quot;,469777843,&quot;\u6e38\u30b4\u30b7\u30c3\u30af&quot;,469777844,&quot;Aptos&quot;,201341986,&quot;1&quot;,469769226,&quot;Aptos,Arial,\u6e38\u30b4\u30b7\u30c3\u30af&quot;,268442635,&quot;24&quot;,469775450,&quot;normaltextrun&quot;,201340122,&quot;1&quot;,134233614,&quot;true&quot;,469778129,&quot;normaltextrun&quot;,335572020,&quot;1&quot;,469778324,&quot;Default Paragraph Font&quot;]}\">In the <\/span><span class=\"NormalTextRun SCXW40977501 BCX0\" data-ccp-charstyle=\"normaltextrun\">following sections<\/span><span class=\"NormalTextRun SCXW40977501 BCX0\" data-ccp-charstyle=\"normaltextrun\">, we discuss the sink filling process <\/span><span class=\"NormalTextRun CommentStart SCXW40977501 BCX0\" data-ccp-charstyle=\"normaltextrun\">for single and nested sinks<\/span><span class=\"NormalTextRun SCXW40977501 BCX0\" data-ccp-charstyle=\"normaltextrun\">, as well as an<\/span> <span class=\"NormalTextRun SCXW40977501 BCX0\" data-ccp-charstyle=\"normaltextrun\">application of<\/span><span class=\"NormalTextRun SCXW40977501 BCX0\" data-ccp-charstyle=\"normaltextrun\"> the <\/span><span class=\"NormalTextRun SCXW40977501 BCX0\" data-ccp-charstyle=\"normaltextrun\">Z limit<\/span><span class=\"NormalTextRun SCXW40977501 BCX0\" data-ccp-charstyle=\"normaltextrun\"> optional parameter to fine-tune it.\u202f<\/span><span class=\"NormalTextRun SCXW40977501 BCX0\" data-ccp-charstyle=\"eop\" data-ccp-charstyle-defn=\"{&quot;ObjectId&quot;:&quot;91b0d700-4f9d-453c-a089-86a2bfaf2103|78&quot;,&quot;ClassId&quot;:1073872969,&quot;Properties&quot;:[201342446,&quot;1&quot;,201342447,&quot;5&quot;,201342448,&quot;3&quot;,201342449,&quot;1&quot;,469777841,&quot;Aptos&quot;,469777842,&quot;Arial&quot;,469777843,&quot;\u6e38\u30b4\u30b7\u30c3\u30af&quot;,469777844,&quot;Aptos&quot;,201341986,&quot;1&quot;,469769226,&quot;Aptos,Arial,\u6e38\u30b4\u30b7\u30c3\u30af&quot;,268442635,&quot;24&quot;,469775450,&quot;eop&quot;,201340122,&quot;1&quot;,134233614,&quot;true&quot;,469778129,&quot;eop&quot;,335572020,&quot;1&quot;,469778324,&quot;Default Paragraph Font&quot;]}\">\u202f<\/span><span class=\"NormalTextRun SCXW40977501 BCX0\" data-ccp-charstyle=\"eop\">For a<\/span><span class=\"NormalTextRun SCXW40977501 BCX0\" data-ccp-charstyle=\"eop\"> quick<\/span><span class=\"NormalTextRun SCXW40977501 BCX0\" data-ccp-charstyle=\"eop\"> refresher on how the <\/span><\/span><span class=\"TextRun SCXW40977501 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW40977501 BCX0\" data-ccp-charstyle=\"eop\">Fill<\/span><\/span><span class=\"TextRun SCXW40977501 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW40977501 BCX0\" data-ccp-charstyle=\"eop\"> tool works <\/span><span class=\"NormalTextRun SCXW40977501 BCX0\" data-ccp-charstyle=\"eop\">read <a href=\"https:\/\/pro.arcgis.com\/en\/pro-app\/latest\/tool-reference\/spatial-analyst\/how-fill-works.htm\">How Fill works<\/a>.<\/span><\/span><\/p>\n<h2><span class=\"TextRun SCXW87026224 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW87026224 BCX0\" data-ccp-charstyle=\"normaltextrun\" data-ccp-charstyle-defn=\"{&quot;ObjectId&quot;:&quot;91b0d700-4f9d-453c-a089-86a2bfaf2103|77&quot;,&quot;ClassId&quot;:1073872969,&quot;Properties&quot;:[201342446,&quot;1&quot;,201342447,&quot;5&quot;,201342448,&quot;3&quot;,201342449,&quot;1&quot;,469777841,&quot;Aptos&quot;,469777842,&quot;Arial&quot;,469777843,&quot;\u6e38\u30b4\u30b7\u30c3\u30af&quot;,469777844,&quot;Aptos&quot;,201341986,&quot;1&quot;,469769226,&quot;Aptos,Arial,\u6e38\u30b4\u30b7\u30c3\u30af&quot;,268442635,&quot;24&quot;,469775450,&quot;normaltextrun&quot;,201340122,&quot;1&quot;,134233614,&quot;true&quot;,469778129,&quot;normaltextrun&quot;,335572020,&quot;1&quot;,469778324,&quot;Default Paragraph Font&quot;]}\">Iterative process to fill a sink<\/span><\/span><span class=\"EOP CommentStart SCXW87026224 BCX0\" data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;335559738&quot;:0,&quot;335559739&quot;:0}\">\u00a0<\/span><\/h2>\n<p><span data-contrast=\"auto\">The process to identify and fill a specific sink in the <\/span><b><span data-contrast=\"auto\">Fill<\/span><\/b><span data-contrast=\"auto\"> tool is iterative. If a sink meets Conditions 1 and 2 (above), then it will be filled. The new elevation value will be equal to that of the sink outlet. For single sinks, it is equal to the lowest adjacent neighbor height. For nested sinks, it is the value of the outlet of the overall sink area.\u00a0<\/span><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">The sink outlet should not be confused with the watershed outlet. The sink outlet is the point where water flows out if the sink is filled, and the watershed outlet is the point where water concentrates after flowing downwards from an upslope area. For a refresher on common hydrology concepts (such as watershed, outlet, and so on), read <a href=\"https:\/\/pro.arcgis.com\/en\/pro-app\/latest\/tool-reference\/spatial-analyst\/understanding-drainage-systems.htm\">Understanding drainage systems<\/a>.<\/span><\/p>\n<h2>What is the Z limit parameter?<\/h2>\n<p><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\" data-ccp-charstyle-defn=\"{&quot;ObjectId&quot;:&quot;91b0d700-4f9d-453c-a089-86a2bfaf2103|77&quot;,&quot;ClassId&quot;:1073872969,&quot;Properties&quot;:[201342446,&quot;1&quot;,201342447,&quot;5&quot;,201342448,&quot;3&quot;,201342449,&quot;1&quot;,469777841,&quot;Aptos&quot;,469777842,&quot;Arial&quot;,469777843,&quot;\u6e38\u30b4\u30b7\u30c3\u30af&quot;,469777844,&quot;Aptos&quot;,201341986,&quot;1&quot;,469769226,&quot;Aptos,Arial,\u6e38\u30b4\u30b7\u30c3\u30af&quot;,268442635,&quot;24&quot;,469775450,&quot;normaltextrun&quot;,201340122,&quot;1&quot;,134233614,&quot;true&quot;,469778129,&quot;normaltextrun&quot;,335572020,&quot;1&quot;,469778324,&quot;Default Paragraph Font&quot;]}\">The <\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">Z limit<\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\"> parameter <\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">is used to decide which sinks will be filled<\/span><span class=\"NormalTextRun CommentStart SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">.<\/span> <span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">Leaving the Z limit parameter blank (default) will result in all sinks being filled<\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">.<\/span> <span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">If a <\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">value<\/span> <span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">is specified, <\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">it<\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\"> will be used to set the maximum difference allowed between a sink height and the<\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\"> overall<\/span> <span class=\"NormalTextRun CommentStart SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">sink <\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">area <\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">outlet<\/span> <span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">height<\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">. <\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">For example, if <\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">Z limit<\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\"> is set to <\/span><span class=\"NormalTextRun CommentStart SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">1<\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">, assuming that the <\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">overall <\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">sink<\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\"> area<\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\"> outlet<\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\"> height is <\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">1347 m<\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">, only sink<\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">s <\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">with depths<\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\"> between <\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">1346 m<\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\"> and 134<\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">7<\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\"> m will be filled.<\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\"> Any other sink that is out of this range will not be filled. If set to 2<\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">,<\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\"> then all sinks between <\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">1345 m<\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\"> and <\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">134<\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">7<\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\"> m<\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\"> will be filled and so on<\/span><span class=\"NormalTextRun CommentStart SCXW75268997 BCX0\" data-ccp-charstyle=\"normaltextrun\">.<\/span><span class=\"NormalTextRun SCXW75268997 BCX0\" data-ccp-charstyle=\"eop\" data-ccp-charstyle-defn=\"{&quot;ObjectId&quot;:&quot;91b0d700-4f9d-453c-a089-86a2bfaf2103|78&quot;,&quot;ClassId&quot;:1073872969,&quot;Properties&quot;:[201342446,&quot;1&quot;,201342447,&quot;5&quot;,201342448,&quot;3&quot;,201342449,&quot;1&quot;,469777841,&quot;Aptos&quot;,469777842,&quot;Arial&quot;,469777843,&quot;\u6e38\u30b4\u30b7\u30c3\u30af&quot;,469777844,&quot;Aptos&quot;,201341986,&quot;1&quot;,469769226,&quot;Aptos,Arial,\u6e38\u30b4\u30b7\u30c3\u30af&quot;,268442635,&quot;24&quot;,469775450,&quot;eop&quot;,201340122,&quot;1&quot;,134233614,&quot;true&quot;,469778129,&quot;eop&quot;,335572020,&quot;1&quot;,469778324,&quot;Default Paragraph Font&quot;]}\">\u202f<\/span><\/p>\n<h2><span class=\"TextRun SCXW28136871 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW28136871 BCX0\" data-ccp-charstyle=\"normaltextrun\" data-ccp-charstyle-defn=\"{&quot;ObjectId&quot;:&quot;91b0d700-4f9d-453c-a089-86a2bfaf2103|77&quot;,&quot;ClassId&quot;:1073872969,&quot;Properties&quot;:[201342446,&quot;1&quot;,201342447,&quot;5&quot;,201342448,&quot;3&quot;,201342449,&quot;1&quot;,469777841,&quot;Aptos&quot;,469777842,&quot;Arial&quot;,469777843,&quot;\u6e38\u30b4\u30b7\u30c3\u30af&quot;,469777844,&quot;Aptos&quot;,201341986,&quot;1&quot;,469769226,&quot;Aptos,Arial,\u6e38\u30b4\u30b7\u30c3\u30af&quot;,268442635,&quot;24&quot;,469775450,&quot;normaltextrun&quot;,201340122,&quot;1&quot;,134233614,&quot;true&quot;,469778129,&quot;normaltextrun&quot;,335572020,&quot;1&quot;,469778324,&quot;Default Paragraph Font&quot;]}\">Single and Nested sink <\/span><span class=\"NormalTextRun SCXW28136871 BCX0\" data-ccp-charstyle=\"normaltextrun\">fill <\/span><span class=\"NormalTextRun SCXW28136871 BCX0\" data-ccp-charstyle=\"normaltextrun\">process using <\/span><span class=\"NormalTextRun SCXW28136871 BCX0\" data-ccp-charstyle=\"normaltextrun\">Z limit<\/span><span class=\"NormalTextRun SCXW28136871 BCX0\" data-ccp-charstyle=\"normaltextrun\"> parameter<\/span><\/span><span class=\"EOP SCXW28136871 BCX0\" data-ccp-props=\"{&quot;134245418&quot;:true,&quot;134245529&quot;:true,&quot;335559738&quot;:0,&quot;335559739&quot;:0}\">\u00a0<\/span><\/h2>\n<p><span class=\"TextRun SCXW159445020 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun CommentStart SCXW159445020 BCX0\" data-ccp-charstyle=\"normaltextrun\" data-ccp-charstyle-defn=\"{&quot;ObjectId&quot;:&quot;91b0d700-4f9d-453c-a089-86a2bfaf2103|77&quot;,&quot;ClassId&quot;:1073872969,&quot;Properties&quot;:[201342446,&quot;1&quot;,201342447,&quot;5&quot;,201342448,&quot;3&quot;,201342449,&quot;1&quot;,469777841,&quot;Aptos&quot;,469777842,&quot;Arial&quot;,469777843,&quot;\u6e38\u30b4\u30b7\u30c3\u30af&quot;,469777844,&quot;Aptos&quot;,201341986,&quot;1&quot;,469769226,&quot;Aptos,Arial,\u6e38\u30b4\u30b7\u30c3\u30af&quot;,268442635,&quot;24&quot;,469775450,&quot;normaltextrun&quot;,201340122,&quot;1&quot;,134233614,&quot;true&quot;,469778129,&quot;normaltextrun&quot;,335572020,&quot;1&quot;,469778324,&quot;Default Paragraph Font&quot;]}\">Using <\/span><span class=\"NormalTextRun SCXW159445020 BCX0\" data-ccp-charstyle=\"normaltextrun\">the Z limit<\/span><span class=\"NormalTextRun SCXW159445020 BCX0\" data-ccp-charstyle=\"normaltextrun\"> equal to<\/span><span class=\"NormalTextRun SCXW159445020 BCX0\" data-ccp-charstyle=\"normaltextrun\"> 2 <\/span><span class=\"NormalTextRun SCXW159445020 BCX0\" data-ccp-charstyle=\"normaltextrun\">example<\/span><span class=\"NormalTextRun SCXW159445020 BCX0\" data-ccp-charstyle=\"normaltextrun\">, a<\/span><span class=\"NormalTextRun SCXW159445020 BCX0\" data-ccp-charstyle=\"normaltextrun\"> single sink (illustrated <\/span><\/span><span class=\"TextRun SCXW159445020 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW159445020 BCX0\" data-ccp-charstyle=\"normaltextrun\">below<\/span><\/span><span class=\"TextRun SCXW159445020 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"> <span class=\"NormalTextRun SCXW159445020 BCX0\" data-ccp-charstyle=\"normaltextrun\">in Figure 3) labeled <\/span><span class=\"NormalTextRun SCXW159445020 BCX0\" data-ccp-charstyle=\"normaltextrun\">(<\/span><span class=\"NormalTextRun SCXW159445020 BCX0\" data-ccp-charstyle=\"normaltextrun\">a<\/span><span class=\"NormalTextRun SCXW159445020 BCX0\" data-ccp-charstyle=\"normaltextrun\">)<\/span><span class=\"NormalTextRun SCXW159445020 BCX0\" data-ccp-charstyle=\"normaltextrun\"> would be filled up to 1349 m which is the elevation value of the lowest adjacent neighbor. After having filled <\/span><span class=\"NormalTextRun SCXW159445020 BCX0\" data-ccp-charstyle=\"normaltextrun\">(a)<\/span><span class=\"NormalTextRun SCXW159445020 BCX0\" data-ccp-charstyle=\"normaltextrun\">, the single sink labeled <\/span><span class=\"NormalTextRun SCXW159445020 BCX0\" data-ccp-charstyle=\"normaltextrun\">(b)<\/span><span class=\"NormalTextRun SCXW159445020 BCX0\" data-ccp-charstyle=\"normaltextrun\"> would<\/span><span class=\"NormalTextRun SCXW159445020 BCX0\" data-ccp-charstyle=\"normaltextrun\"> also<\/span><span class=\"NormalTextRun SCXW159445020 BCX0\" data-ccp-charstyle=\"normaltextrun\"> meet <\/span><span class=\"NormalTextRun SCXW159445020 BCX0\" data-ccp-charstyle=\"normaltextrun\">the two conditions<\/span><span class=\"NormalTextRun SCXW159445020 BCX0\" data-ccp-charstyle=\"normaltextrun\">,<\/span><span class=\"NormalTextRun SCXW159445020 BCX0\" data-ccp-charstyle=\"normaltextrun\"> and<\/span><span class=\"NormalTextRun SCXW159445020 BCX0\" data-ccp-charstyle=\"normaltextrun\"> so<\/span> <span class=\"NormalTextRun SCXW159445020 BCX0\" data-ccp-charstyle=\"normaltextrun\">it<\/span><span class=\"NormalTextRun SCXW159445020 BCX0\" data-ccp-charstyle=\"normaltextrun\"> is also filled up to <\/span><span class=\"NormalTextRun SCXW159445020 BCX0\" data-ccp-charstyle=\"normaltextrun\">1349 m<\/span><span class=\"NormalTextRun SCXW159445020 BCX0\" data-ccp-charstyle=\"normaltextrun\">.<\/span><\/span><\/p>\n"},{"acf_fc_layout":"image","image":{"ID":2651052,"id":2651052,"title":"Fill_Fig3v2","filename":"Fill_Fig3v2.png","filesize":26294,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fill_Fig3v2.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/analytics\/filling-sinks-in-dems-like-an-expert\/fill_fig3v2","alt":"Filling single sinks in a DEM","author":"246232","description":"An example showing how a single sink is filled.","caption":"Figure 3. Single sinks are filled using the Fill tool up to the elevation value of the lowest adjacent neighbor. ","name":"fill_fig3v2","status":"inherit","uploaded_to":2650712,"date":"2025-01-14 19:27:00","modified":"2025-01-14 19:27:25","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":881,"height":456,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fill_Fig3v2-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fill_Fig3v2.png","medium-width":464,"medium-height":240,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fill_Fig3v2.png","medium_large-width":768,"medium_large-height":398,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fill_Fig3v2.png","large-width":881,"large-height":456,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fill_Fig3v2.png","1536x1536-width":881,"1536x1536-height":456,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fill_Fig3v2.png","2048x2048-width":881,"2048x2048-height":456,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fill_Fig3v2-826x428.png","card_image-width":826,"card_image-height":428,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fill_Fig3v2.png","wide_image-width":881,"wide_image-height":456}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p><span class=\"TextRun SCXW141334133 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\" data-ccp-charstyle-defn=\"{&quot;ObjectId&quot;:&quot;91b0d700-4f9d-453c-a089-86a2bfaf2103|77&quot;,&quot;ClassId&quot;:1073872969,&quot;Properties&quot;:[201342446,&quot;1&quot;,201342447,&quot;5&quot;,201342448,&quot;3&quot;,201342449,&quot;1&quot;,469777841,&quot;Aptos&quot;,469777842,&quot;Arial&quot;,469777843,&quot;\u6e38\u30b4\u30b7\u30c3\u30af&quot;,469777844,&quot;Aptos&quot;,201341986,&quot;1&quot;,469769226,&quot;Aptos,Arial,\u6e38\u30b4\u30b7\u30c3\u30af&quot;,268442635,&quot;24&quot;,469775450,&quot;normaltextrun&quot;,201340122,&quot;1&quot;,134233614,&quot;true&quot;,469778129,&quot;normaltextrun&quot;,335572020,&quot;1&quot;,469778324,&quot;Default Paragraph Font&quot;]}\">The same iterative process is applied to nested sinks &#8211; the only difference is the elevation value up to which a sink is filled. For nested sinks, this value is that of the overall sink area <\/span><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\">outlet<\/span><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\">. <\/span><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\">Like in the <\/span><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\">previous<\/span><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\"> example, a<\/span><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\">fter a <\/span><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\">single <\/span><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\">sink is filled, neighboring cells may now meet the necessary conditions to be filled and thus <\/span><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\">will <\/span><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\">be filled. This is the case of sink labeled <\/span><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\">(c)<\/span><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\"> in Figure 4<\/span> <\/span><span class=\"TextRun SCXW141334133 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\">below<\/span><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\">. After <\/span><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\">(b)<\/span><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\"> has been filled,<\/span><\/span><span class=\"TextRun SCXW141334133 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"> <span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\">(c)<\/span> <span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\">now <\/span><span class=\"NormalTextRun CommentStart SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\">meets <\/span><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\">Condition <\/span><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\">2<\/span><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\"> \u2013<\/span> <span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\">it has a lower elevation value than the lowest adjacent neighbor. <\/span><span class=\"NormalTextRun CommentStart SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\">Since it originally met <\/span><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\">Condition <\/span><span class=\"NormalTextRun CommentStart SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\">1<\/span><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\"> (<\/span><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\">depth below t<\/span><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\">he specified Z<\/span> <span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\">limit<\/span><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\">)<\/span><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\">, it<\/span><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\"> now meets both conditions<\/span><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\">,<\/span><span class=\"NormalTextRun SCXW141334133 BCX0\" data-ccp-charstyle=\"normaltextrun\"> and it is filled.<\/span><\/span><span class=\"EOP SCXW141334133 BCX0\" data-ccp-props=\"{&quot;134233117&quot;:false,&quot;134233118&quot;:false,&quot;201341983&quot;:0,&quot;335559738&quot;:0,&quot;335559739&quot;:0,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n"},{"acf_fc_layout":"image","image":{"ID":2650902,"id":2650902,"title":"Fill_Fig4","filename":"Fill_Fig4.png","filesize":35120,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fill_Fig4.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/analytics\/filling-sinks-in-dems-like-an-expert\/fill_fig4","alt":"Filling sinks within a nested sink structure.","author":"246232","description":"An example showing how single sinks within a nested structure are filled.","caption":"Figure 4. Sinks are filled using the Fill tool up to the elevation value of the sink outlet.","name":"fill_fig4","status":"inherit","uploaded_to":2650712,"date":"2025-01-14 18:18:51","modified":"2025-01-14 18:19:45","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":973,"height":481,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fill_Fig4-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fill_Fig4.png","medium-width":464,"medium-height":229,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fill_Fig4.png","medium_large-width":768,"medium_large-height":380,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fill_Fig4.png","large-width":973,"large-height":481,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fill_Fig4.png","1536x1536-width":973,"1536x1536-height":481,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fill_Fig4.png","2048x2048-width":973,"2048x2048-height":481,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fill_Fig4-826x408.png","card_image-width":826,"card_image-height":408,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fill_Fig4.png","wide_image-width":973,"wide_image-height":481}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p><span class=\"TextRun SCXW73439199 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW73439199 BCX0\" data-ccp-charstyle=\"normaltextrun\" data-ccp-charstyle-defn=\"{&quot;ObjectId&quot;:&quot;91b0d700-4f9d-453c-a089-86a2bfaf2103|77&quot;,&quot;ClassId&quot;:1073872969,&quot;Properties&quot;:[201342446,&quot;1&quot;,201342447,&quot;5&quot;,201342448,&quot;3&quot;,201342449,&quot;1&quot;,469777841,&quot;Aptos&quot;,469777842,&quot;Arial&quot;,469777843,&quot;\u6e38\u30b4\u30b7\u30c3\u30af&quot;,469777844,&quot;Aptos&quot;,201341986,&quot;1&quot;,469769226,&quot;Aptos,Arial,\u6e38\u30b4\u30b7\u30c3\u30af&quot;,268442635,&quot;24&quot;,469775450,&quot;normaltextrun&quot;,201340122,&quot;1&quot;,134233614,&quot;true&quot;,469778129,&quot;normaltextrun&quot;,335572020,&quot;1&quot;,469778324,&quot;Default Paragraph Font&quot;]}\">Note that the value of <\/span><span class=\"NormalTextRun SCXW73439199 BCX0\" data-ccp-charstyle=\"normaltextrun\">the <\/span><span class=\"NormalTextRun SCXW73439199 BCX0\" data-ccp-charstyle=\"normaltextrun\">Z limit<\/span><span class=\"NormalTextRun SCXW73439199 BCX0\" data-ccp-charstyle=\"normaltextrun\"> parameter controls which sinks within the nested structure will be filled. If we increase the <\/span><span class=\"NormalTextRun SCXW73439199 BCX0\" data-ccp-charstyle=\"normaltextrun\">Z limit<\/span><span class=\"NormalTextRun SCXW73439199 BCX0\" data-ccp-charstyle=\"normaltextrun\"> parameter <\/span><span class=\"NormalTextRun CommentStart SCXW73439199 BCX0\" data-ccp-charstyle=\"normaltextrun\">value<\/span><span class=\"NormalTextRun SCXW73439199 BCX0\" data-ccp-charstyle=\"normaltextrun\"> from 1<\/span><span class=\"NormalTextRun SCXW73439199 BCX0\" data-ccp-charstyle=\"normaltextrun\"> to 2<\/span><span class=\"NormalTextRun SCXW73439199 BCX0\" data-ccp-charstyle=\"normaltextrun\">, then other sink<\/span><span class=\"NormalTextRun SCXW73439199 BCX0\" data-ccp-charstyle=\"normaltextrun\">s <\/span><span class=\"NormalTextRun SCXW73439199 BCX0\" data-ccp-charstyle=\"normaltextrun\">and their neighbors meet <\/span><span class=\"NormalTextRun SCXW73439199 BCX0\" data-ccp-charstyle=\"normaltextrun\">the conditions<\/span><span class=\"NormalTextRun SCXW73439199 BCX0\" data-ccp-charstyle=\"normaltextrun\">, and they will be filled as shown in Figure 5<\/span><span class=\"NormalTextRun SCXW73439199 BCX0\" data-ccp-charstyle=\"normaltextrun\"> below<\/span><span class=\"NormalTextRun SCXW73439199 BCX0\" data-ccp-charstyle=\"normaltextrun\">.\u202f<\/span><\/span><\/p>\n"},{"acf_fc_layout":"image","image":{"ID":2651462,"id":2651462,"title":"Fill_Fig5v3","filename":"Fill_Fig5v3.png","filesize":32450,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fill_Fig5v3.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/analytics\/filling-sinks-in-dems-like-an-expert\/fill_fig5v3","alt":"An example showing how sinks are iteratively filled.","author":"246232","description":"An example showing how sinks are iteratively filled in nested sinks.","caption":"Figure 5. Other sinks are filled using the Fill tool with Z limit = 2. All sinks that are filled with Z limit = 1 are also filled with Z limit = 2.","name":"fill_fig5v3","status":"inherit","uploaded_to":2650712,"date":"2025-01-14 21:49:55","modified":"2025-01-14 21:50:22","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":929,"height":493,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fill_Fig5v3-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fill_Fig5v3.png","medium-width":464,"medium-height":246,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fill_Fig5v3.png","medium_large-width":768,"medium_large-height":408,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fill_Fig5v3.png","large-width":929,"large-height":493,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fill_Fig5v3.png","1536x1536-width":929,"1536x1536-height":493,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fill_Fig5v3.png","2048x2048-width":929,"2048x2048-height":493,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fill_Fig5v3-826x438.png","card_image-width":826,"card_image-height":438,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/Fill_Fig5v3.png","wide_image-width":929,"wide_image-height":493}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<h2>Summary<\/h2>\n<p><span class=\"TextRun SCXW81776578 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\" data-ccp-charstyle-defn=\"{&quot;ObjectId&quot;:&quot;91b0d700-4f9d-453c-a089-86a2bfaf2103|77&quot;,&quot;ClassId&quot;:1073872969,&quot;Properties&quot;:[201342446,&quot;1&quot;,201342447,&quot;5&quot;,201342448,&quot;3&quot;,201342449,&quot;1&quot;,469777841,&quot;Aptos&quot;,469777842,&quot;Arial&quot;,469777843,&quot;\u6e38\u30b4\u30b7\u30c3\u30af&quot;,469777844,&quot;Aptos&quot;,201341986,&quot;1&quot;,469769226,&quot;Aptos,Arial,\u6e38\u30b4\u30b7\u30c3\u30af&quot;,268442635,&quot;24&quot;,469775450,&quot;normaltextrun&quot;,201340122,&quot;1&quot;,134233614,&quot;true&quot;,469778129,&quot;normaltextrun&quot;,335572020,&quot;1&quot;,469778324,&quot;Default Paragraph Font&quot;]}\">S<\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\">inks in elevation data must be handled in some way to obtain continuous streams and correctly delineated watersheds. If sinks are suspected to be spurious elevation data, the <\/span><\/span><span class=\"TextRun SCXW81776578 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\">Fill<\/span><\/span><span class=\"TextRun SCXW81776578 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\"> tool can be used <\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\">to alter the DEM so that water always finds an <\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\">outlet.<\/span> <span class=\"NormalTextRun CommentStart SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\">Th<\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\">is<\/span><\/span> <span class=\"TextRun SCXW81776578 BCX0\" lang=\"EN-US\" xml:lang=\"EN-US\" data-contrast=\"auto\"><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\">tool<\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\"> fill sinks by<\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\"> iterating over those which\u202fmeet two conditions: (1) <\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\">they have a <\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\">depth<\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\"> within the Z limit range<\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\">, and <\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\">(2) <\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\">they are <\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\">lower than the lowest adjacent neighbor.\u202f<\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\">Using the Z limit parameter, you can decide <\/span><span class=\"NormalTextRun CommentStart SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\">which sinks <\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\">in the DEM <\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\">will be filled<\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\">.<\/span> <span class=\"NormalTextRun CommentStart SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\">Leaving the Z limit parameter blank (default) will result in all sinks<\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\"> in the DEM<\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\"> being filled.<\/span> <span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\">Specifying a value to the Z limit parameter will fill<\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\"> sinks differently depending on their complexity.<\/span> <span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\">For single sink<\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\">s<\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\">, the tool will fill them up to the lowest adjacent neighbor, <\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\">whereas<\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\"> nested sink<\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\">s<\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\"> will be filled up to the <\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\">outlet <\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\">of the overall <\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\">sink<\/span><span class=\"NormalTextRun SCXW81776578 BCX0\" data-ccp-charstyle=\"normaltextrun\"> area.<\/span><\/span><\/p>\n"}],"related_articles":"","show_article_image":false,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/01\/image.png","wide_image":false},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.9 (Yoast SEO v25.9) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Filling sinks in DEMs like an expert<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/analytics\/filling-sinks-in-dems-like-an-expert\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Filling sinks in DEMs like an expert\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/analytics\/filling-sinks-in-dems-like-an-expert\" \/>\n<meta property=\"og:site_name\" content=\"ArcGIS Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/esrigis\/\" \/>\n<meta property=\"article:modified_time\" content=\"2025-01-14T21:51:24+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@ESRI\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/analytics\/filling-sinks-in-dems-like-an-expert#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/analytics\/filling-sinks-in-dems-like-an-expert\"},\"author\":{\"name\":\"Tania Lopez-Cantu\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/55e44f805b8835c141f4d250507f4728\"},\"headline\":\"Filling sinks in DEMs like an expert\",\"datePublished\":\"2025-01-14T19:30:04+00:00\",\"dateModified\":\"2025-01-14T21:51:24+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/analytics\/filling-sinks-in-dems-like-an-expert\"},\"wordCount\":7,\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"keywords\":[\"digital elevation model (DEM)\",\"fill\",\"hydrology\",\"sink\"],\"articleSection\":[\"Analytics\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/analytics\/filling-sinks-in-dems-like-an-expert\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/analytics\/filling-sinks-in-dems-like-an-expert\",\"name\":\"Filling sinks in DEMs like an expert\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\"},\"datePublished\":\"2025-01-14T19:30:04+00:00\",\"dateModified\":\"2025-01-14T21:51:24+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/analytics\/filling-sinks-in-dems-like-an-expert#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/analytics\/filling-sinks-in-dems-like-an-expert\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/analytics\/filling-sinks-in-dems-like-an-expert#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.esri.com\/arcgis-blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Filling sinks in DEMs like an expert\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"name\":\"ArcGIS Blog\",\"description\":\"Get insider info from Esri product teams\",\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\",\"name\":\"Esri\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"contentUrl\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"width\":400,\"height\":400,\"caption\":\"Esri\"},\"image\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/esrigis\/\",\"https:\/\/x.com\/ESRI\",\"https:\/\/www.linkedin.com\/company\/5311\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/55e44f805b8835c141f4d250507f4728\",\"name\":\"Tania Lopez-Cantu\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2022\/10\/tanialopez-cantu_tan11562-465x465.jpg\",\"contentUrl\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2022\/10\/tanialopez-cantu_tan11562-465x465.jpg\",\"caption\":\"Tania Lopez-Cantu\"},\"description\":\"Tania Lopez-Cantu is a Senior Product Engineer in the Raster Analysis team at Esri. She works with raster and scientific multidimensional data to solve problems in water resources management and climate change impacts. Her role at Esri includes conducting research, building and maintaining tools for hydrological and terrain analysis. She holds a Ph.D. in Civil and Environmental Engineering from Carnegie Mellon University.\",\"honorificPrefix\":\"Dr.\",\"honorificSuffix\":\"PhD\",\"gender\":\"female\",\"knowsAbout\":[\"Water resources\",\"Climate Change Impact Analysis\"],\"knowsLanguage\":[\"English\",\"French\",\"Japanese\"],\"jobTitle\":\"Product Engineer\",\"worksFor\":\"Esri\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/author\/tlopezcantu\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Filling sinks in DEMs like an expert","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/analytics\/filling-sinks-in-dems-like-an-expert","og_locale":"en_US","og_type":"article","og_title":"Filling sinks in DEMs like an expert","og_url":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/analytics\/filling-sinks-in-dems-like-an-expert","og_site_name":"ArcGIS Blog","article_publisher":"https:\/\/www.facebook.com\/esrigis\/","article_modified_time":"2025-01-14T21:51:24+00:00","twitter_card":"summary_large_image","twitter_site":"@ESRI","twitter_misc":{"Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/analytics\/filling-sinks-in-dems-like-an-expert#article","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/analytics\/filling-sinks-in-dems-like-an-expert"},"author":{"name":"Tania Lopez-Cantu","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/55e44f805b8835c141f4d250507f4728"},"headline":"Filling sinks in DEMs like an expert","datePublished":"2025-01-14T19:30:04+00:00","dateModified":"2025-01-14T21:51:24+00:00","mainEntityOfPage":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/analytics\/filling-sinks-in-dems-like-an-expert"},"wordCount":7,"publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"keywords":["digital elevation model (DEM)","fill","hydrology","sink"],"articleSection":["Analytics"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/analytics\/filling-sinks-in-dems-like-an-expert","url":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/analytics\/filling-sinks-in-dems-like-an-expert","name":"Filling sinks in DEMs like an expert","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#website"},"datePublished":"2025-01-14T19:30:04+00:00","dateModified":"2025-01-14T21:51:24+00:00","breadcrumb":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/analytics\/filling-sinks-in-dems-like-an-expert#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/analytics\/filling-sinks-in-dems-like-an-expert"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-pro\/analytics\/filling-sinks-in-dems-like-an-expert#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.esri.com\/arcgis-blog\/"},{"@type":"ListItem","position":2,"name":"Filling sinks in DEMs like an expert"}]},{"@type":"WebSite","@id":"https:\/\/www.esri.com\/arcgis-blog\/#website","url":"https:\/\/www.esri.com\/arcgis-blog\/","name":"ArcGIS Blog","description":"Get insider info from Esri product teams","publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization","name":"Esri","url":"https:\/\/www.esri.com\/arcgis-blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","contentUrl":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","width":400,"height":400,"caption":"Esri"},"image":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/esrigis\/","https:\/\/x.com\/ESRI","https:\/\/www.linkedin.com\/company\/5311\/"]},{"@type":"Person","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/55e44f805b8835c141f4d250507f4728","name":"Tania Lopez-Cantu","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/","url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2022\/10\/tanialopez-cantu_tan11562-465x465.jpg","contentUrl":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2022\/10\/tanialopez-cantu_tan11562-465x465.jpg","caption":"Tania Lopez-Cantu"},"description":"Tania Lopez-Cantu is a Senior Product Engineer in the Raster Analysis team at Esri. She works with raster and scientific multidimensional data to solve problems in water resources management and climate change impacts. Her role at Esri includes conducting research, building and maintaining tools for hydrological and terrain analysis. She holds a Ph.D. in Civil and Environmental Engineering from Carnegie Mellon University.","honorificPrefix":"Dr.","honorificSuffix":"PhD","gender":"female","knowsAbout":["Water resources","Climate Change Impact Analysis"],"knowsLanguage":["English","French","Japanese"],"jobTitle":"Product Engineer","worksFor":"Esri","url":"https:\/\/www.esri.com\/arcgis-blog\/author\/tlopezcantu"}]}},"text_date":"January 14, 2025","author_name":"Tania Lopez-Cantu","author_page":"https:\/\/www.esri.com\/arcgis-blog\/author\/tlopezcantu","custom_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/08\/Newsroom-Keyart-Wide-1920-x-1080.jpg","primary_product":"ArcGIS Pro","tag_data":[{"term_id":24131,"name":"digital elevation model (DEM)","slug":"dem","term_group":0,"term_taxonomy_id":24131,"taxonomy":"post_tag","description":"","parent":0,"count":32,"filter":"raw"},{"term_id":38591,"name":"fill","slug":"fill","term_group":0,"term_taxonomy_id":38591,"taxonomy":"post_tag","description":"","parent":0,"count":7,"filter":"raw"},{"term_id":23371,"name":"hydrology","slug":"hydrology","term_group":0,"term_taxonomy_id":23371,"taxonomy":"post_tag","description":"","parent":0,"count":31,"filter":"raw"},{"term_id":777882,"name":"sink","slug":"sink","term_group":0,"term_taxonomy_id":777882,"taxonomy":"post_tag","description":"","parent":0,"count":1,"filter":"raw"}],"category_data":[{"term_id":23341,"name":"Analytics","slug":"analytics","term_group":0,"term_taxonomy_id":23341,"taxonomy":"category","description":"","parent":0,"count":1325,"filter":"raw"}],"product_data":[{"term_id":36841,"name":"ArcGIS API for Python","slug":"api-python","term_group":0,"term_taxonomy_id":36841,"taxonomy":"product","description":"","parent":36601,"count":151,"filter":"raw"},{"term_id":767992,"name":"ArcGIS Image for ArcGIS Online","slug":"arcgis-image-for-arcgis-online","term_group":0,"term_taxonomy_id":767992,"taxonomy":"product","description":"","parent":0,"count":43,"filter":"raw"},{"term_id":36951,"name":"ArcGIS Image Server","slug":"image-server","term_group":0,"term_taxonomy_id":36951,"taxonomy":"product","description":"","parent":36571,"count":69,"filter":"raw"},{"term_id":36551,"name":"ArcGIS Online","slug":"arcgis-online","term_group":0,"term_taxonomy_id":36551,"taxonomy":"product","description":"","parent":0,"count":2419,"filter":"raw"},{"term_id":36561,"name":"ArcGIS Pro","slug":"arcgis-pro","term_group":0,"term_taxonomy_id":36561,"taxonomy":"product","description":"","parent":0,"count":2035,"filter":"raw"},{"term_id":36861,"name":"ArcGIS REST API","slug":"api-rest","term_group":0,"term_taxonomy_id":36861,"taxonomy":"product","description":"","parent":36601,"count":75,"filter":"raw"}],"primary_product_link":"https:\/\/www.esri.com\/arcgis-blog\/?s=#&products=arcgis-pro","_links":{"self":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/2650712","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog"}],"about":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/types\/blog"}],"author":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/users\/246232"}],"replies":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/comments?post=2650712"}],"version-history":[{"count":0,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/2650712\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/media?parent=2650712"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/categories?post=2650712"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/tags?post=2650712"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/industry?post=2650712"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/product?post=2650712"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}