{"id":76751,"date":"2017-05-01T08:00:38","date_gmt":"2017-05-01T08:00:38","guid":{"rendered":"http:\/\/www.esri.com\/arcgis-blog\/products\/product\/uncategorized\/why-your-output-raster-is-larger-than-your-environment-extent\/"},"modified":"2018-03-26T21:12:54","modified_gmt":"2018-03-26T21:12:54","slug":"why-your-output-raster-is-larger-than-your-environment-extent","status":"publish","type":"blog","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/analytics\/analytics\/why-your-output-raster-is-larger-than-your-environment-extent","title":{"rendered":"Why your output raster is larger than your environment extent?"},"author":7091,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"_searchwp_excluded":""},"categories":[23341],"tags":[23391],"industry":[],"product":[37031],"class_list":["post-76751","blog","type-blog","status-publish","format-standard","hentry","category-analytics","tag-spatial-analytics","product-spatial-analyst"],"acf":{"short_description":"When using a geoprocessing tool, for example\u00a0Hillshade,\u00a0when you specify an extent in the environment settings, you might have noticed ...","flexible_content":[{"acf_fc_layout":"content","content":"<p>When using a geoprocessing tool, for example\u00a0<a href=\"http:\/\/pro.arcgis.com\/en\/pro-app\/tool-reference\/spatial-analyst\/hillshade.htm\">Hillshade<\/a>,\u00a0when you specify an extent in the environment settings, you might have noticed sometimes that your output raster is slightly larger than your specified extent. Ever wondered what is going on inside the box? Let\u2019s find out what triggers that effect.<!--more--><\/p>\n<p>The <a href=\"http:\/\/pro.arcgis.com\/en\/pro-app\/tool-reference\/environment-settings\/output-extent.htm\">Extent<\/a>\u00a0environment controls where the raster analysis occurs, which means that the tools that honor this environment will only process the raster cells that fall within the extent. When you specify an extent in the environment, the lower-left corner of the specified extent will automatically become the lower-left corner of the output raster, unless you have also specified a <a href=\"http:\/\/pro.arcgis.com\/en\/pro-app\/tool-reference\/environment-settings\/snap-raster.htm\">Snap Raster<\/a>\u00a0environment. From here, the upper-right corner of the output raster is adjusted in such a way that the specified extent falls within your output raster. Whether the upper-right corner will be adjusted or not is determined by the output cell size, and the width and the height of the output raster extent are multiples of the output cell size. The end result is that the extent of the actual output raster can be slightly larger than what you specified in the extent environment.<\/p>\n<p><a href=\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2017\/04\/sapa_environment_extent.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-78282\" src=\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2017\/04\/sapa_environment_extent.png\" alt=\"\" width=\"479\" height=\"459\" \/><\/a><\/p>\n<p><em>Adjusted output raster extent <\/em><\/p>\n<p>If the lower-left corner of the extent does not match with any cell corner of the input raster, it will create a shift in the cell alignment between the input and the output raster. This difference of cell alignment will trigger a resampling of the input raster to perform analysis. \u00a0Most Spatial Analyst tools use a nearest neighbor resampling technique, except for the Surface tools, which use bilinear interpolation.<\/p>\n<p>You can avoid getting this shift in cell alignment and resampling by specifying a Snap Raster to your input raster in the environment setting.\u00a0 To know more about Snap Raster, read <a href=\"http:\/\/pro.arcgis.com\/en\/pro-app\/tool-reference\/environment-settings\/how-snap-raster-environment-works.htm\">How the Snap Raster environment setting works<\/a>.<\/p>\n"}],"authors":[{"ID":7091,"user_firstname":"Sarmistha","user_lastname":"Chatterjee","nickname":"Sarmistha Chatterjee","user_nicename":"schatterjee17","display_name":"Sarmistha Chatterjee","user_email":"SChatterjee@esri.com","user_url":"","user_registered":"2018-03-02 00:19:17","user_description":"Sarmistha is a Product Engineer in Esri's raster analysis group, where she focuses on raster and scientific multidimensional data analysis. She is especially interested in combining GIS technology, spatial analysis, and software engineering to study changes for conservation and better decision-making. Before joining Esri in 2017, Sarmistha earned her PhD in Geography from the University of Delaware, where she researched fluvial geomorphology, water resources, and spatial modeling.","user_avatar":"<img data-del=\"avatar\" src='https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2024\/08\/Headshot_SarmisthaChatterjee-213x200.jpg' class='avatar pp-user-avatar avatar-96 photo ' height='96' width='96'\/>"}]},"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>Why your output raster is larger than your environment extent?<\/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\/analytics\/analytics\/why-your-output-raster-is-larger-than-your-environment-extent\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Why your output raster is larger than your environment extent?\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.esri.com\/arcgis-blog\/products\/analytics\/analytics\/why-your-output-raster-is-larger-than-your-environment-extent\" \/>\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=\"2018-03-26T21:12:54+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@ESRI\" \/>\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\/analytics\/analytics\/why-your-output-raster-is-larger-than-your-environment-extent#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/analytics\/analytics\/why-your-output-raster-is-larger-than-your-environment-extent\"},\"author\":{\"name\":\"Sarmistha Chatterjee\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/4c590ffdfbc98ba12fac749ea23d9b4d\"},\"headline\":\"Why your output raster is larger than your environment extent?\",\"datePublished\":\"2017-05-01T08:00:38+00:00\",\"dateModified\":\"2018-03-26T21:12:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/analytics\/analytics\/why-your-output-raster-is-larger-than-your-environment-extent\"},\"wordCount\":10,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"keywords\":[\"spatial analytics\"],\"articleSection\":[\"Analytics\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.esri.com\/arcgis-blog\/products\/analytics\/analytics\/why-your-output-raster-is-larger-than-your-environment-extent#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/analytics\/analytics\/why-your-output-raster-is-larger-than-your-environment-extent\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/analytics\/analytics\/why-your-output-raster-is-larger-than-your-environment-extent\",\"name\":\"Why your output raster is larger than your environment extent?\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\"},\"datePublished\":\"2017-05-01T08:00:38+00:00\",\"dateModified\":\"2018-03-26T21:12:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/analytics\/analytics\/why-your-output-raster-is-larger-than-your-environment-extent#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.esri.com\/arcgis-blog\/products\/analytics\/analytics\/why-your-output-raster-is-larger-than-your-environment-extent\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/analytics\/analytics\/why-your-output-raster-is-larger-than-your-environment-extent#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.esri.com\/arcgis-blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Why your output raster is larger than your environment extent?\"}]},{\"@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\/4c590ffdfbc98ba12fac749ea23d9b4d\",\"name\":\"Sarmistha Chatterjee\",\"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\/2024\/08\/Headshot_SarmisthaChatterjee-213x200.jpg\",\"contentUrl\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2024\/08\/Headshot_SarmisthaChatterjee-213x200.jpg\",\"caption\":\"Sarmistha Chatterjee\"},\"description\":\"Sarmistha is a Product Engineer in Esri's raster analysis group, where she focuses on raster and scientific multidimensional data analysis. She is especially interested in combining GIS technology, spatial analysis, and software engineering to study changes for conservation and better decision-making. Before joining Esri in 2017, Sarmistha earned her PhD in Geography from the University of Delaware, where she researched fluvial geomorphology, water resources, and spatial modeling.\",\"sameAs\":[\"sarmisthac\",\"https:\/\/x.com\/Sarmistha17C\"],\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/author\/schatterjee17\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Why your output raster is larger than your environment extent?","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\/analytics\/analytics\/why-your-output-raster-is-larger-than-your-environment-extent","og_locale":"en_US","og_type":"article","og_title":"Why your output raster is larger than your environment extent?","og_url":"https:\/\/www.esri.com\/arcgis-blog\/products\/analytics\/analytics\/why-your-output-raster-is-larger-than-your-environment-extent","og_site_name":"ArcGIS Blog","article_publisher":"https:\/\/www.facebook.com\/esrigis\/","article_modified_time":"2018-03-26T21:12:54+00:00","twitter_card":"summary_large_image","twitter_site":"@ESRI","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/analytics\/analytics\/why-your-output-raster-is-larger-than-your-environment-extent#article","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/analytics\/analytics\/why-your-output-raster-is-larger-than-your-environment-extent"},"author":{"name":"Sarmistha Chatterjee","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/4c590ffdfbc98ba12fac749ea23d9b4d"},"headline":"Why your output raster is larger than your environment extent?","datePublished":"2017-05-01T08:00:38+00:00","dateModified":"2018-03-26T21:12:54+00:00","mainEntityOfPage":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/analytics\/analytics\/why-your-output-raster-is-larger-than-your-environment-extent"},"wordCount":10,"commentCount":0,"publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"keywords":["spatial analytics"],"articleSection":["Analytics"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.esri.com\/arcgis-blog\/products\/analytics\/analytics\/why-your-output-raster-is-larger-than-your-environment-extent#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/analytics\/analytics\/why-your-output-raster-is-larger-than-your-environment-extent","url":"https:\/\/www.esri.com\/arcgis-blog\/products\/analytics\/analytics\/why-your-output-raster-is-larger-than-your-environment-extent","name":"Why your output raster is larger than your environment extent?","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#website"},"datePublished":"2017-05-01T08:00:38+00:00","dateModified":"2018-03-26T21:12:54+00:00","breadcrumb":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/analytics\/analytics\/why-your-output-raster-is-larger-than-your-environment-extent#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.esri.com\/arcgis-blog\/products\/analytics\/analytics\/why-your-output-raster-is-larger-than-your-environment-extent"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/analytics\/analytics\/why-your-output-raster-is-larger-than-your-environment-extent#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.esri.com\/arcgis-blog\/"},{"@type":"ListItem","position":2,"name":"Why your output raster is larger than your environment extent?"}]},{"@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\/4c590ffdfbc98ba12fac749ea23d9b4d","name":"Sarmistha Chatterjee","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\/2024\/08\/Headshot_SarmisthaChatterjee-213x200.jpg","contentUrl":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2024\/08\/Headshot_SarmisthaChatterjee-213x200.jpg","caption":"Sarmistha Chatterjee"},"description":"Sarmistha is a Product Engineer in Esri's raster analysis group, where she focuses on raster and scientific multidimensional data analysis. She is especially interested in combining GIS technology, spatial analysis, and software engineering to study changes for conservation and better decision-making. Before joining Esri in 2017, Sarmistha earned her PhD in Geography from the University of Delaware, where she researched fluvial geomorphology, water resources, and spatial modeling.","sameAs":["sarmisthac","https:\/\/x.com\/Sarmistha17C"],"url":"https:\/\/www.esri.com\/arcgis-blog\/author\/schatterjee17"}]}},"text_date":"May 1, 2017","author_name":"Sarmistha Chatterjee","author_page":"https:\/\/www.esri.com\/arcgis-blog\/author\/schatterjee17","custom_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2025\/08\/Newsroom-Keyart-Wide-1920-x-1080.jpg","primary_product":"ArcGIS Spatial Analyst","tag_data":[{"term_id":23391,"name":"spatial analytics","slug":"spatial-analytics","term_group":0,"term_taxonomy_id":23391,"taxonomy":"post_tag","description":"","parent":0,"count":344,"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":37031,"name":"ArcGIS Spatial Analyst","slug":"spatial-analyst","term_group":0,"term_taxonomy_id":37031,"taxonomy":"product","description":"","parent":36981,"count":93,"filter":"raw"}],"primary_product_link":"https:\/\/www.esri.com\/arcgis-blog\/?s=#&products=spatial-analyst","_links":{"self":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/76751","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\/7091"}],"replies":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/comments?post=76751"}],"version-history":[{"count":0,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/76751\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/media?parent=76751"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/categories?post=76751"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/tags?post=76751"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/industry?post=76751"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/product?post=76751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}