BLOG
|
The Spatial Analyst extension introduces new and enhanced capabilities in ArcGIS Pro 3.2. This release gives you capabilities for evaluating the quality of suitability models. New tools are available for Density, Distance, and Solar analysis. Zonal analysis has a new option to improve workflows, as well as some new statistic types. Where do I get it? ArcGIS Pro 3.2 was released on November 7, 2023. Download from here For a complete summary of all the changes that have been made for this release, have a look at the What's New in ArcGIS Pro 3.2 blog post. What’s changed for Spatial Analyst? Listed here are the main functional areas with improvements over the last release: 1. Suitability Modeling 2. Density 3. Distance 4. Solar 5. Zonal 1. Suitability Modeler The new Evaluate capability of Suitability Modeler provides an integrated environment to evaluate the quality of a model. In the Evaluate tab, the maps, panes, plots, and content update dynamically with changes to the model criteria, weights, and transformations. You can use this immediate feedback to better understand your model. In the Evaluate pane, you can explore the composition of the weighted transformed criteria values at locations that have equally high suitability so you can make better choices between them. You can also explore the criteria interactions in several ways, including by individual cells, within parcels, relative to known observations, or in the final regions identified from a Locate operation. See the following topics for more information: Evaluate environment in Suitability Modeler Evaluate workflow and suitability modeling constraints Evaluate tab in Suitability Modeler Evaluate Pane in Suitability Modeler Evaluate in Suitability Modeler in ArcGIS Spatial Analyst 3.2 2. Density analysis The new Space Time Kernel Density tool allows you to analyze density for other dimensions than relative position and magnitude in density calculations, such as time and depth. Some example of other dimensions and example applications of this capability include the following: Calculating the density of an attribute on a 2D surface in different time intervals. For example, identifying clusters of monthly crime in Kyoto from 2003 to 2005. Calculating the density of an attribute in a 3D cube using z as the additional dimension. For example, calculating the salinity based on depth in a certain area of ocean, or the PM2.5 particulate matter concentration in the air above a city. Calculating the density of an attribute in a 3D cube in different time intervals. For example, calculating the salinity in a certain area of ocean in different weeks, or the PM2.5 concentration for different hours of the day. 3. Distance analysis Use the new Optimal Corridor Connections tool to create an optimal network of corridors between multiple locations based on a constant width that you specify. Some applications this tool is well suited for are planning power lines, pipelines, railroads, other right-of-way corridors or transport systems. 4. Solar analysis The solar toolset has two new tools that offer significantly enhanced capability for solar analysis over the original tools. The Raster Solar Radiation tool calculates the solar insolation per unit area for every raster cell of a digital surface model (DSM). The Feature Solar Radiation tool calculates the incoming solar insolation for input points or polygon features relative to the surface (ground). Key improvements from the new tools include the following: The new algorithms support geodesic calculations and analysis over larger geographic areas. These tools achieve enhanced performance by taking advantage of multithreaded, parallel processing, and support the use of graphics processing unit (GPU) processing. To improve raster analysis workflows, you can save time by supplying precalculated input slope and aspect rasters, which is particularly helpful if repeating analysis for a large area of interest. You can also include a mask to constrain the analysis to defined analysis areas or locations. For feature analysis, you have the ability to specify size and orientation of the locations that receive solar radiation based on attribute information. When calculating solar radiation for a time interval, such as weekly or monthly, the results are returned as a time series raster (multidimensional raster) or a feature table. One thing to keep in mind is that calculating insolation can be computationally intensive for large data extents and when calculating many time intervals. This may require a substantial amount of computing power, memory, and hard disk space. Systems with high-end GPUs will see significant reductions in processing time compared to systems that are limited to performing calculations only on the CPU. Along with the many improvements, one of the most exciting enhancements is that we now support solar analysis on the Moon! This was done to help science and research by organizations such as NASA-JPL and the Canadian Space Agency to support future lunar exploration missions. Examples of solar analysis output 5. Zonal analysis You can now join the output table from the Zonal Statistics as Table tool directly to the input zone data with the new Output Join Layer parameter. This eliminates the step where you had to add the table to the input data with a separate tool before doing further analysis. Several new zonal statistics options were added. For the Zonal Statistics tool, the Zonal Statistics raster function, and the Zonal Statistics as Table tool, the four new statistics options are Majority count, Majority percentage, Minority count, and Minority percentage. The Zonal Statistics as Table tool has two additional options, one being Majority value, count, and percentage, with the other being Minority value, count, and percentage. Summary That covers the notable new capabilities the Spatial Analyst extension makes available to you for ArcGIS Pro 3.2. Be sure to check back here, as we will add links to new blogs that cover aspects of these improvements in more detail. See the following links for notifications of new resources as we add them. https://www.esri.com/arcgis-blog/products/analytics/analytics/spatial-analyst-resources/ https://community.esri.com/t5/arcgis-spatial-analyst/ct-p/arcgis-spatial-analyst
... View more
11-16-2023
06:33 PM
|
7
|
0
|
351
|
BLOG
|
The Spatial Analyst extension in ArcGIS Pro 3.1 has new capabilities, as well as improvements in several key areas. This includes an exciting new tool for identifying surface landforms. A new tool that makes finding corridors easier. Improvements for several tools in how they leverage parallel processing and GPUs for better performance. The Suitability Modeler has some internal improvements. Many tools that perform per-cell raster mathematical operations have enhanced support for multidimensional input and output. What’s changed for Spatial Analyst? Listed here are the main functional areas that we have improved over the last release: Suitability Modeling Distance Hydrology Neighborhood Reclassification Surface Multidimensional Deprecated functionality 1. Suitability Modeler The Suitability Modeler has under-the-hood improvements in several key areas. When the Auto Calculate option in the Suitability Analysis portion of the ribbon is selected, the recalculation of the model when changes to the transformation or weight of a criterion are applied is improved. Querying, sharing, and saving of models has been enhanced. Some internal changes were made in preparation for a future release, where additional interface elements will give you the capability to evaluate the quality of your suitability model. 2. Distance analysis Least Cost Corridor is a new geoprocessing tool that is used for optimally connecting locations with corridors. This tool leverages recent improvements in distance analysis by incorporating the distortion-free algorithm. It also simplifies the corridor creation process by allowing you to apply a threshold directly, either as a percentage or a specified accumulative cost value, without having to use any other tools. This capability can also be accessed with the Least Cost Corridor raster function. Results from the Least Cost Corridor tool (green cells) connecting two parks You can learn more about this new tool in the following blog post: Create a wildlife corridor with the new Least Cost Corridor tool in ArcGIS Pro 3.1 For the Distance Accumulation and Distance Allocation tools, the algorithm used for applying horizontal and vertical factors was rewritten to produce non-distorted results instead of being 8-directional. The performance was enhanced, and space optimizations were made when calculating straight-line distance. These changes are also available in the Distance Accumulation and Distance Allocation raster functions. 3. Hydrology analysis The Derive Stream As Line tool was introduced in Pro 3.0 and is useful for easily generating streamline features from an elevation surface without having to fill in the sinks or other depressions beforehand. The tool now uses the Douglas-Peucker algorithm as the default method to simplify the results. It produces smoother lines by retaining critical points while identifying and removing relatively redundant vertices. 4. Neighborhood analysis For the Focal Statistics and Filter tools, multiband input is now supported directly in the geoprocessing tool dialog box. (Previously, multiband input was fully supported only when the tools were run in Python scripts.) 5. Reclassification For the Rescale by Function tool, a new help topic is available that provides more detailed explanations of the formulas used for transformation functions. The Slice tool now supports the Parallel Processing Factor environment, which can improve performance on large datasets. 6. Surface analysis Do you love doing raster surface analysis? Have we got an exciting new tool for you! The new Geomorphon Landforms tool can help you identify and classify landscape features into several common types, such as peaks, ridges, spurs, and foot slopes, among others. Ridge and valley landform types in the northeastern part of Switzerland, close to the Alte Aare river, identified using the Geomorphon Landforms tool in ArcGIS Pro 3.1. You can learn more about this new tool in the following blog post: Classify terrain with the new Geomorphon Landforms tool For several releases, the Aspect, Geodesic Viewshed, and Slope tools have been able to be GPU accelerated for enhanced performance, provided that your system is equipped with a compatible GPU device. With this release, you can use the new Target device for analysis parameter to specify whether to use the GPU or the CPU, or let the system determine which to use. With the Aspect and Slope tools, for the Method parameter, the default Planar setting now also supports GPU processing. The Geodesic Viewshed tool now estimates the amount of temporary space required to complete the calculations, and reports that value at run time as tool messages. Also specified is the directory where the temporary data is written. The Surface Parameters tool has a new Input analysis mask parameter. You can use it to limit the analysis to locations of interest within the input surface raster. The Parallel Processing Factor environment is now supported, offering enhanced performance. The Surface Parameters raster function also supports the ability to limit the locations analysis will occur with the Analysis mask parameter. 7. Multidimensional analysis Many Spatial Analyst tools that perform local raster operations now support multidimensional data as input and can create multidimensional output. The following list identifies the improved tools: All tools in the Math toolset, except for the three combinatorial tools (Combinatorial And, Combinatorial Or, and Combinatorial XOr) All tools in the Local toolset, except for Combine The Con tool The Raster Calculator tool A new Usage note was added to the help for each of these tools, providing additional details. 8. Deprecated functionality As new tools are developed, or existing tools are updated to provide equivalent functionality in a better way, some tools will be put on a pathway to be deprecated. Typically, this means that initially, a notice will be added to a tool, and alternatives methods to migrate to are identified. The tool will continue to be available and operate in the same way for one to three subsequent releases. After this initial deprecation state, the tool will be moved to a fully deprecated state. It will continue to be installed with ArcGIS Pro, so that your existing models and scripts will continue to work, but the tool will no longer be directly accessible. For more details on the deprecation process, please see the following topics: Deprecated tools Deprecated raster functions The following tools and functions are still available but have been put on the deprecation path at this release. The alternative functionality that replaces them, by offering improved functionality or performance, is identified. The Distance (Legacy) geoprocessing toolset. See the Migrating from legacy distance tools to distortion free distance tools topic for additional details and a table that maps the tools being deprecated to their replacements. The Distance (Legacy) category or raster functions is similarly being deprecated. See the Migrating from legacy distance functions to distortion-free distance functions topic for details on the replacement functions. The Extract by Points and Extract by Polygon tools. The capabilities of these tools is replaced by the Extract by Mask tool, which was enhanced in a previous release with new parameters for controlling where the extraction takes place (Extraction Area) and the extent of the output raster (Analysis extent). Summary We hope your work will benefit from the new and improved capabilities that come to the Spatial Analyst extension in ArcGIS Pro 3.1. We will also have some additional blogs coming with additional details. Remember to drop by the Spatial Analyst Communities page where lots of good questions are asked and answered! https://community.esri.com/t5/arcgis-spatial-analyst/ct-p/arcgis-spatial-analyst
... View more
02-28-2023
06:20 PM
|
5
|
0
|
528
|
BLOG
|
ArcGIS Pro 3.0 makes some exciting new capabilities available to you for the Spatial Analyst extension. In the Suitability Modeler it is now easier to create more complex models, and there is an option to process large raster data efficiently with Raster Analytics. If you do water flow modelling, there are some very powerful new tools for hydrology analysis. There is a new tool to calculate a spatial relative risk surface. You can now perform zonal analysis with circular statistics. Read on for details on these changes, and more. Where to get it? ArcGIS Pro 3.0 was released on June 23, 2022. Download from here A selection of the changes in this release can be found in the What's New in ArcGIS Pro 3.0 blog post and video. For a more comprehensive list, see What's New in ArcGIS Pro 3.0 in the online Help. Because this is a major release, the information in the Migration from ArcGIS Pro 2.x to 3.0 help topic will help guide you through the transition. What’s changed for Spatial Analyst? Listed here are the main functional areas that have been improved over the last release: Suitability Modeling Density Extraction Hydrology Neighborhood Segmentation and classification Statistics Surface Zonal ArcPy 1. Suitability Modeler The Suitability Modeler in ArcGIS Pro 3.0 sees continued improvements in its capability, usability and ability to work on large tasks. The suitability modeler now has the ability to split up complicated models into component sub-models. Breaking down the analysis into logical groupings improves the ability for domain experts to collaborate within their areas of expertise. A central planner can then combine those specialized models to come up with more comprehensive overall plans to make better decisions. You can now share and run suitability models on servers using ArcGIS Pro as a client. By running the models using Raster Analytics, you can take advantage of the power of distributed processing to perform analysis on larger datasets more efficiently than before. The process is pretty straight forward. First, the suitability model is shared as a portal item. When the model is run, the processing occurs on the servers, with the output being created as web imagery layers in the active portal. 2. Density analysis The new Calculate Kernel Density Ratio tool uses two input feature datasets to calculate a spatial relative risk surface. This is useful when the phenomenon being analyzed requires a control. One application of this tool could be an epidemiologist who is studying the occurrences of a disease to determine if high prevalence's in certain areas could be linked to environmental factors. The density ratio is calculated using the disease occurrences as the numerator and the total population as the denominator. The result surface shows the density of disease occurrence normalized by population density, which makes it possible to determine where the disease occurrences are higher than expected. In comparison to the Kernel Density tool, the output from this new tool is normalized, meaning the resulting values are proportional. 3. Extraction analysis The Extract By Mask tool has been updated with two new optional parameters. With the Extraction Area parameter, you can now extract the areas outside the mask, as well as inside it. This brings the tool in line with other tools in the extraction toolset. The Analysis Extent parameter gives you more control over the extent of the output raster. You can define the output analysis area explicitly in several ways, either by typing values, choosing the display extent, selecting a layer, or browsing for an input dataset. The default analysis extent will be the intersection of the input raster and the input feature or mask data. 4. Hydrology analysis A hallmark feature for this release is the new Derive Continuous Flow tool, which creates consistent flow direction and flow accumulation rasters directly, in one step, regardless of whether sinks have been treated or not. Accompanying this are two new tools for extracting streams from elevations surfaces directly, Derive Stream as Line and Derive Stream As Raster. All of these tools support the ability to specify a dataset that delineates real depressions in the elevation surface, giving you more control over landscape features that dictate water flow. If you've done hydrology analysis in the past, you'll know one of the requirements was to spend time creating what is called a hydrologically conditioned DEM to use as the elevation surface. This typically meant identifying sinks (low points) or depressions in the data, especially artificial ones caused by artifacts in the source data or previous processing steps. Once identified, additional work had to be done to smooth them over, with the end goal of producing an elevation surface over which water will flow in the expected direction. With these new tools, you can get to the fun part of analysis and modelling right away! 5. Neighborhood analysis For the Block Statistics tool, Focal Statistics tool, and Focal Statistics raster function, when the Weight neighborhood type is selected, the calculations used for the Mean and Standard deviation statistics has been improved. The denominator in the equation is now the sum of the weight values applied to the kernel, instead of the number of cells in the kernel neighborhood. One thing to note for both the weighted mean and standard deviation is that the weights must be positive values. For more details, see the help content for the weighted neighborhood calculations. The calculation for the weighted Sum statistic is unchanged. As a part of this work, for the Block Statistics tool when the Weight neighborhood is selected, the Median and Minority options are no longer available. The available choices of statistics now match those of Focal Statistics. 6. Segmentation and classification For the Compute Confusion Matrix raster tool, the Intersection over Union (IoU) mean value is now computed for each class. IoU is the area of overlap between the predicted segmentation and the ground truth divided by the area of union between the predicted segmentation and the ground truth. The Export Training Data for Deep Learning tool has three new optional input parameters: Instance Feature Class, Instance Class Value Field, and Minimum Polygon Overlap Ratio. For the Metadata Format parameter, a new Panoptic_Segmentation metadata format option is available. This tool can now also take advantage of parallel processing for improved performance. 7. Statistics for majority and minority ties Several Spatial Analyst tools calculate various statistics on rasters based on particular sets of input values. Some of those statistics are Majority and Minority, which calculate the most frequently occurring and the least frequently occurring values in those sets, respectively. There can be cases where is a tie, where there are multiple values that occur with the same highest or lowest frequency. For the Zonal Statistics tool, the logic applied to this scenario is to select the lowest of the tied values. For example, if the list of cell values in a zone were 1, 1, 2, 2, 2, 5, 5, 5, and 6, for the majority there is a tie between values 2 and 5, which each have a frequency of 3. The tool will return a value of 2 for the zone, since it is the lowest of the tied vales. For the Cell Statistics, Block Statistics and Focal Statistics tools, as well as the Cell Statistics and Focal Statistics raster functions, the logic that had been applied historically when there was a tie was to return a NoData value. This often lead to having more areas of NoData in the output raster than may have been expected. To avoid this, the logic for these tools was updated in Pro 3.0 to match that used by Zonal Statistics, and so now also return the lowest of the tied values. For the Focal Statistics tool, a slightly different approach is used in order to retain the significance of the processing cell itself. Here, the lowest of the tied values will be returned, unless the processing cell itself is one of the tied values. In that scenario, the value returned for that set will be that of the processing cell itself 8. Surface analysis Have you been using the advanced capabilities for geodesic surface analysis offered by the Surface Parameters geoprocessing tool? With this release, these capabilities are now available to you in two additional ways. One is with the Surface Parameters raster function. The other is with the Surface Parameters raster analysis portal tool, which will be available when you are signed in to a suitably configured ArcGIS Enterprise portal. 9. Zonal This release sees the introduction of circular calculations when performing zonal statistics. What does this mean? Let's consider an abstract example where the statistic you want to calculate is the mean (average). Say you have two input cell values A and B for a particular zone, and those values represent measures of 0 degrees and 360 degrees. If you do a regular arithmetic calculation for the mean [(valueA + valueB) / 2 = (0 + 360) / 2 = 180], the result is probably not what you would have intended. How can the average of two values that represent due North be due South? By applying circular calculations, the mean value of these two values would actually be 0. See the following table for some additional example comparing the arithmetic mean to the circular mean for different angle inputs. Examples: Input angles Arithmetic mean Circular mean 0, 360 180 0 0, 90, 180, 270 135 129.6 0, 90, 180, 270, 360 180 0 In order to calculate circular statistics correctly, two new parameters are available. Use the Calculate Circular Statistics parameter to indicate to the tool whether to calculate ordinary linear statistics or cyclical statistics. An additional parameter, Circular Wrap Value, is used to range of a given circular statistic. Other examples of cyclical quantities than compass direction in degrees (0 to 360) include hours of a day (0 to 24 hours), or fractional parts of real numbers. The option to perform circular statistics applies only to the following statistics: Mean, Majority, Minority, Standard Deviation, and Variety. Circular statistics is available from the following functionalities: • Spatial Analyst geoprocessing tools: Zonal Statistics, Zonal Statistics as Table • Raster Analysis geoprocessing tools for performing raster analysis on data in your portal: Summarize Raster Within, Zonal Statistics as Table • Raster functions: Zonal Statistics 10. ArcPy In the ArcPy Spatial Analyst module, you can now use the Render function to apply symbology to a raster object. The symbology can be a rendering rule or a color map. This is particularly useful for displaying data in a Jupyter notebooks. Summary We hope that you will find the new and updated functionality available in ArcGIS Pro 3.0 to be useful for your work. We have some other blogs to come that go into more detail on some of this functionality, so be on the lookout for them.
... View more
07-08-2022
10:21 AM
|
1
|
0
|
509
|
BLOG
|
For ArcGIS Pro 2.9, we made a number of improvements to the Spatial Analyst extension. Key amongst them is an exciting new capability for the Suitability Modeler. We added new functionality for calculating statistics for a moving window across multidimensional raster data. Read on for more details on these and other new and improved capabilities available with this release. Where do I get it? ArcGIS Pro 2.9 was released on November 11, 2021. Download from here For a complete summary of all the changes in this release, have a look at the What’s New in ArcGIS Pro 2.9 blog post and video. What’s changed for Spatial Analyst? Listed here are the main functional areas that saw improvements over the last release: Suitability Modeling Interpolation analysis Local raster analysis Multidimensional analysis Raster reclassification Segmentation and classification Surface analysis 1. Suitability Modeler The Suitability Modeler in ArcGIS Pro 2.9 sees a significant advance in technical capability for working with servers. We also made a number of general enhancements and improvements in quality. Suitability modeler on servers With this release, the Suitability Modeler can now be also run on servers using ArcGIS Pro as a client. The suitability and locate maps you create can be shared on the server. To get access to these capabilities, you need to be signed in to an ArcGIS Enterprise portal that has ArcGIS Image Server configured for raster analytics. A new Output type parameter on the Suitability and Locate tabs allow you to select between running the suitability modeling workflow locally or on servers. Enhancements and improvements Use the new Sources tab to: see the sources for each criteria, identify which criteria in the model are transformed, change the source for a criterion, and remove a criterion from the model. When changing the source for a criterion, a series of warning and error messages ensure the new source and the transformation being applied are appropriate. You can use this tab to convert local criteria into web imagery layers, which are the required input type to run the analysis on servers. For the Range of Classes tab in the Transformation pane, you can now enter suitability values directly into the transformation table. Use the Classify button to change the number of classes. You can select from seven different classification methods. We refined the interaction for multiple map views. You can remove criteria from the model simply by clicking a remove button next to the criterion. All messages from the underlying geoprocessing tools are now displayed. 2. Interpolation analysis If you have used the Natural Neighbor tool to interpolate raster surfaces, perhaps you ran into difficulties with increasing numbers of input points? You will be happy to know we enhanced the tool to support very large inputs, up to approximately two billion points. 3. Local analysis A new Percentile statistic option is available for the Cell Statistics GP tool and Cell Statistics raster function. When that option is selected, a new Percentile Value parameter is enabled with which to specify the particular percentile (between 0 and 100) to calculate. When the statistics operation is Median or Percentile, a new Percentile Interpolation Type parameter is enabled. Use this parameter to select the method of interpolation when the specified percentile value lies between two input cell values. 4. Multidimension analysis You can now calculates statistics over a moving window on multidimensional data along a specified dimension with the new Dimensional Moving Statistics tool and Dimensional Moving Statistics raster function. Moving statistics is also known as moving window statistics, rolling statistics, or running statistics. Essentially, a predefined window around each dimension value is used to calculate various statistics before moving to the next. This capability helps in workflows such as smoothing out noise or anomalies across dimensions. An exciting new statistic type is available with this tool. The Circular Mean calculates the mean for angles or other cyclic quantities, such as compass direction in, or months in a year. This setting enables a Circular Wrap Value parameter for designating a value to wrap around to calculate the circular mean. In angle calculations, for example, the parameter should be set to 360 (degrees). This means the value 360 will be wrapped to 0, the value 370 will be wrapped to 10, and so on. Another application is for time calculations based on months in a year, where the circular wrap value should be 12. In this case, an input value of 13 will be wrapped to 1. A new method is available for how to handle NoData values in the statistics calculation. In addition to the typical Data and NoData choices, the Fill NoData option will replace NoData values in the input with the result of applying the selected statistic on the values within the defined window. The Aggregate Multidimensional raster function has a new Percentile statistics setting. This option enables a new Percentile Value parameter. A new Percentile Interpolation Type parameter becomes available when the statistics operation is Median or Percentile. 5. Raster reclassification The Slice tool has four new methods available for reclassifying rasters. For the new Defined interval method and the two new Standard deviation methods, the new Interval size parameter determines the number of zones in the output raster. For the new Geometric interval method, the setting of the Number of output zones parameter determines the number of zones. The new Change NoData to value for output parameter makes replacing NoData cells in the input raster to a value of your choice easier. One small detail to note is that the parameter labeled as Base zone for output in ArcGIS Pro 2.8 and earlier is now labeled Starting value for output. Since the name for this parameter in Python remains the same, your scripts will continue to run as-is. 6. Segmentation and classification The new Train K-Nearest Neighbor Classifier tool generates an Esri classifier definition file (.ecd) using the K-Nearest Neighbor (KNN) classification method. Support for multidimensional raster input was added to the Create Accuracy Assessment Points and Update Accuracy Assessment Points tools, as well as commensurate parameters to select the dimension field. For the Export Training Data For Deep Learning tool, the Metadata Format parameter has a new Imagenet keyword option for object detection labeling and object tracking. The RCNN Masks keyword can now be used for object tracking, not just object detection. The Crop Mode parameter is now applicable when the ImageNet keyword is set. 7. Surface analysis For the Surface Parameters tool, four new Parameter type choices are available. Those are: Plan (projected contour) curvature, Contour geodesic torsion, Gaussian curvature, and Casorati curvature. See the Usage notes and the parameter table to learn about these options, but be sure to read the How Surface Parameters works topic for additional information. Summary We hope that you enjoy the updates and improvements that are available for you in Spatial Analyst for ArcGIS Pro 2.9.
... View more
11-18-2021
03:51 PM
|
2
|
0
|
610
|
POST
|
Hi Daniel2. The Nibble tool from Spatial Analyst can be applied to your problem. Replaces cells of a raster corresponding to a mask with the values of the nearest neighbors. https://pro.arcgis.com/en/pro-app/latest/tool-reference/spatial-analyst/nibble.htm This tool allows specific areas of a raster to be replaced by the value of their nearest neighbour. These areas are defined by a mask input. In the mask input, cells that are NoData define which cells will be processed, or "nibbled away". In your case, the areas you want to replace are already NoData, so you can actually just use the same dataset as both the input and the mask raster. You will just need to change one of the parameters from its default setting. Run the Nibble tool as follows: Starting out with your input here: The result is: Hopefully this will be a useful solution for you. Of course, be mindful of how the results are used. The premise of using the nearest neighbour to a replace the value of an existing cell works well on a proximal basis. However, as the distances increase, the connection may become more tenuous, and the results more questionable. Your example illustrates this point well. For the single cells and small clusters of cells, the new values in the output appear to be very reasonable. For the larger rectangular areas, this may not be the case. Cheers, Juan Laguna Spatial Analyst Team
... View more
07-09-2021
02:51 AM
|
1
|
1
|
4510
|
BLOG
|
A primary focus for the ArcGIS Pro 2.8 release is to improve performance and productivity. But that didn't prevent us from adding some new and enhanced capabilities to the Spatial Analyst extension! We also completely revamped the help content for Distance analysis. Read on to learn more. Where do I get it? ArcGIS Pro 2.8 was released on May 13, 2021. Download from here See What’s New for ArcGIS Pro 2.8 for a complete summary of all the changes that were made for this release. What’s changed? The main areas of improvement are: Suitability Modeler Distance Multidimensional Reclassification Segmentation and classification Surface Zonal ArcPy 1. Suitability Modeler The interface of the Suitability Modeler was enhanced, and performance improved throughout. The Unique Categories and Range of Classes transformation methods now utilize bar charts. 2. Distance analysis Many new conceptual help topics for distance analysis were added for ArcGIS Pro 2.8. Read through them to learn more about the various kinds of analysis you can perform with the Spatial Analyst extension. There are also plenty of graphics, examples, and use cases. The geodesic accuracy and performance was improved for the following: Geoprocessing tools: Distance Accumulation, Distance Allocation, and Optimal Region Connections Raster functions: Distance Accumulation and Distance Allocation Legacy tools: Euclidean Allocation, Euclidean Back Direction, Euclidean Direction and Euclidean Distance Legacy raster functions: Euclidean Allocation, Euclidean Back Direction, Euclidean Direction and Euclidean Distance The handling of units of the vertical coordinate system was improved for the following: Geoprocessing tools: Distance Accumulation and Distance Allocation Raster functions: Distance Accumulation and Distance Allocation The Least Cost Path raster function was relocated to the Legacy group. 3. Multidimension analysis The Aggregate Multidimensional Raster tool has a new Percentile aggregation method. New parameters are available to set the percentile value and the interpolation method to use. Use the new Dimensionless parameter to specify whether the input layer has dimension values. 4. Reclassification For the Spatial Analyst Reclassify tool, the Reclassification parameter now allows you to generate a remap table based on the values of the input raster. Use the Classify option to select the Data classification method and the number of classes to use. 5. Segmentation and classification analysis The Export Training Data For Deep Learning tool has a new Additional Input Raster parameter. Use it to set an additional input imagery source for image translation methods. 6. Surface analysis To better represents its capabilities, the Viewshed 2 tool dialog was renamed to Geodesic Viewshed. In Python, the tool name remains as Viewshed2, so your existing scripts will continue to work as-is. 7. Zonal analysis Performance for calculating the Median and Percentile statistics has been improved when float rasters are used as input to the Zonal Statistics tool, Zonal Statistics as Table tool, or the Zonal Statistics raster function. 8. Geoprocessing functions In the Spatial Analyst module, Aggregate and Slope now create a function raster output when executed from ArcPy. Summary While the main driver for this release was improving the quality, we here on the Spatial Analyst team also put in some other additional improvements in capabilities that we hope you will appreciate. As always, we welcome your feedback, so let us know what is working well for you, what needs some attention, and what new things you would like to see.
... View more
05-20-2021
06:19 PM
|
0
|
0
|
751
|
POST
|
Hi David, Yes, that might be another way. The output has the Unique Values renderer applied to it initially. If it is subsequently set to Stretched, the raster will then appear properly. Thanks for the additional suggestion. I'll incorporate it in the details when I make the submission. Thanks, Juan
... View more
08-28-2020
09:51 AM
|
0
|
0
|
3931
|
POST
|
Hi Jamie. It appears that with your data the and the default settings for the tool (Use NoData values parameter checked, Nibble NoData parameter unchecked), the actual cell values are coming out as-expected, but there seems to be an issue where they are not rendering properly. A workaround I found is to run the Float tool on the output from the Nibble tool. The resulting output seems to render correctly. Have a look at the following. The first image shows the input raster and the input mask raster. Note that I symbolized them a bit. In the Runoff input, I symbolized the cells of value 0 with purple, and the NoData cells with a light tan colour. In the Mask input, I symbolized the NoData cells to a light yellow colour. The next output shows the results. The "nibble_check_uncheck1" entry (not activated) is the output from the Nibble tool. It demonstrates the problem you report, where it looks like the output is all empty cells. The other result, "float_nibble_check_uncheck", is the outcome from running the Float tool on the output from the Nibble tool. The you should be able to see that the cells that you were looking to replace (the purple value = 0 cells from the input) have been. This workaround seems to resolve the issue for the time being. I will take a closer look at the rendering problem, and will submit a software bug report accordingly. In the mean time, I hope that the workaround suggested will allow you to continue. Thanks for reporting this. Cheers, Juan
... View more
08-28-2020
03:07 AM
|
1
|
4
|
3931
|
POST
|
Hi Jamie. I am able to get to the data now, thanks! I'll follow up once I've taken a look at it.
... View more
08-27-2020
04:09 PM
|
1
|
5
|
3931
|
POST
|
Hello, Jamie. I'm sorry you're having some trouble. Let's see if we can figure out the issue. I downloaded the data you provided, but am not able to get it loaded into ArcMap successfully on my side. Would it be possible for you to re-upload it? Perhaps also convert your data to a separate folder as Tiff rasters before zipping them up, it might help avoid any geodatabase-related problems on the upload. Thanks, Juan Laguna Spatial Analyst team, Esri, Inc
... View more
08-27-2020
02:18 PM
|
0
|
8
|
3931
|
BLOG
|
The Spatial Analyst extension has many new and improved capabilities in ArcGIS Pro 2.6. One of the most exciting things is the new Suitability Modeler, which is an interactive way to identify the best location to site things. New and improved tools and functions are available across several analysis categories, including density, distance, extraction, generalization, local, multidimensional, segmentation and classification, surface, and zonal. Many more tools, functions and operators have been updated to directly support multiband raster data. If you have been using the Raster Cell Iterator in ArcPy, we’ve added a way to improve the performance. In addition to this overview, we will have several blog posts that cover some of these changes in more detail coming out soon, so remember to check back regularly. Where do I get it? ArcGIS Pro 2.6 was released on July 28, 2020. Click the following link to get to Download page. For a complete summary of all the changes that have been made for this release, have a look at What’s New for ArcGIS Pro 2.6. What’s changed for Spatial Analyst? Here are the main categories of the changes for this release: Suitability Density Distance Zonal Multiband Surface Segmentation and classification General tool and function enhancements ArcPy 1. The new Suitability Modeler If you have used the capabilities of the Spatial Analyst extension in the past to do site selection, you will be familiar with the back-and-forth, iterative and manual process it can take to get to your final answer. Well, there is now a better way! The new Suitability Modeler is a dynamic, exploratory environment of interacting panes, plots, and maps allows you to create refined suitability models. It guides you through the steps and provides immediate feedback, so what you learn in one step may influence your decisions in another. Please give it a try and let us know what you think The following graphic shows the primary interface elements of the Suitability Modeler, including the ribbon, the tabs of the modeler pane, and the transformation graphs. We’ll have more information coming out soon that will fully introduce the capabilities and the workflow to follow. 2. Density analysis The Kernel Density tool has a new parameter that allows barrier features to be considered when calculating kernel density for the planar method. The tool has also been enhanced to work with the parallel processing environment, and efficiency has been improved by using a new search algorithm. 3. Distance analysis The Optimal Region Connections tool has a new parameter that determines if the paths will continue within the input regions. To follow the pattern established in the Distance toolset where the original tools were moved into their own Legacy Distance category, the raster functions for distance analysis have been similarly restructured. In the list of raster functions, those in the Distance group should be the ones used for analysis going forward. The functions provided in previous releases have been relocated to the new Distance (Legacy) group. The new Optimal Path As Raster raster function has been added to the Distance group. 4. Zonal analysis The Tabulate Area tool now processes overlapping polygon zones and calculates the area for each zone separately. You can also represent the input classes as rows or fields using the Classes as rows in output table parameter. The Zonal Statistics and Zonal Statistics as Table tools and the Zonal Statistics raster function have a new percentile statistics type to compute extreme events. These tools and function can now also process both multidimensional zone and value rasters. Also, have a look at the How the zonal statistics tools work help topic, which has been substantially rewritten to better explain the operation of these tools. The Zonal Histogram tool can now create histogram graphs. You can also represent the input zones as rows or fields using the Zones as rows in output table parameter. 5. Multiband raster analysis Most local operations now have the capability to perform band-wise aggregation for multiband input rasters. This includes nearly all of the Math tools, functions and operators, as well as the Con tool and Con function. The Equal To Frequency, Greater Than Frequency, Less Than Frequency, Popularity, and Rank tools have a new parameter, Process as multiband, that gives you more control over how multiband input rasters are processed when creating single-band or multiband output. 6. Surface analysis The Aspect tool has a new parameter, Project geodesic azimuths, to correct the angle distortion caused by the output spatial reference. These angles can be used to accurately locate points along the steepest downhill slope. This parameter is available only when the Method parameter is set to Geodesic. The Cut Fill tool now calculates cut and fill operations using eight-way connectivity. 7. Segmentation and Classification analysis The Train Maximum Likelihood Classifier, Train Random Trees Classifier, and Train Support Vector Machine Classifier tools have a new parameter to contain dimension values in the input training sample feature class. The Export Training Data For Deep Learning tool has a new default option for the Meta Data Format parameter, changing from KITTI Labels to PASCAL Visual Object Classes. The Segment Mean Shift tool has a new parameter for setting the maximum size of a segment. 8. General tool and function enhancements Several other tools have been optimized for improved performance or had specific new capabilities added. Extraction analysis: The Sample tool can now create a point feature class output or a table with new Generate feature class parameter. Generalization analysis: The Region Group tool has been rewritten to perform better. Local analysis: The Combine tool has been rewritten to perform better. There is now no limitation on the number of input rasters that can be specified. Multidimensional raster analysis: The Zonal Statistics and Zonal Statistics as Table tools and the Zonal Statistics raster function can now process both multidimensional zone and value rasters. The How the zonal statistics tools work help topic covers multidimensional processing in more detail. The Generate Multidimensional Anomaly tool has a new parameter that allows you to calculate anomalies by comparing pixel values to those provided in an external raster dataset. The Mean Calculation Interval parameter also includes a new External Raster option. 9. ArcPy enhancements In the Raster Cell Iterator class in ArcPy, you can now handle NoData cells more efficiently by optionally skipping them with the skipNoData key to increase the performance of your analysis. Spatial Analyst resources Do you have our Spatial Analyst resources blog post bookmarked? Not only does it include a list of links to informative content, it is also updated as new resources become available. For example, here are some blog posts that explain the Raster Cell Iterator that was introduced in the previous Pro release: Introducing the Raster Cell Iterator Unleash the power of Raster Cell Iterator to perform custom raster analysis Summary As you can see, quite a lot of new functionality and capabilities have been made available in this release. Please download it and give it a try. As always, we welcome your feedback. If you happen to encounter any difficulties, please let us know.
... View more
08-06-2020
05:24 PM
|
1
|
0
|
1472
|
POST
|
Hi Curtis. Thanks for the the suggestion. Anne-Marie and I are working on the exact scenario being used, and we'll update here once we get to the bottom of it. Cheers, Juan
... View more
06-12-2020
11:01 AM
|
1
|
0
|
1615
|
POST
|
Anne-Marie Dubois, Curtis Price Just to respond to the part of the issue about when the fix was available. As was noted above, for ArcGIS Pro the Status notification indicates that a fix was implemented, and the Version Fixed was Pro 2.3. https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDEwNjY3Nw== Those code changes were also implemented for ArcMap version 10.7. Unfortunately, this situation seems to have triggered a glitch or synchronization problem in our tracking system, where the Support Site is reporting that the Status is “Not in Current Product Plan”, and the Version Fixed field comes up as blank (even though the fix was actually made). We will look into rectifying the underlying cause for this, so thank you for bringing it to our attention. Best regards, Juan
... View more
06-02-2020
09:03 PM
|
1
|
0
|
1615
|
POST
|
Hi Anne-Marie. Thanks for getting back to me. Would it be possible for you to create a small zip file that contains a subset of your data that demonstrates the issue, and email it to me? I am at jlaguna@esri.com You can also use Esri's file transfer site: https://mft.esri.com/EFTClient/Account/Login.htm Download and install FileZilla (if you don't already have it): https://mft.esri.com/eftclient/Account/MFTFilezilla.zip Instructions: https://mft.esri.com/eftclient/Account/Instructions.png Thanks, Juan
... View more
06-02-2020
03:00 PM
|
0
|
0
|
1615
|
Title | Kudos | Posted |
---|---|---|
7 | 11-16-2023 06:33 PM | |
5 | 02-28-2023 06:20 PM | |
1 | 07-08-2022 10:21 AM | |
2 | 11-18-2021 03:51 PM | |
1 | 07-09-2021 02:51 AM |
Online Status |
Offline
|
Date Last Visited |
12-05-2023
11:12 PM
|