AnsweredAssumed Answered

Adding a script to contour tool

Question asked by jsotoperez on Aug 21, 2019
Latest reply on Aug 22, 2019 by Hornbydd

I'm using the Spatial Analyst Contour tool for converting raster outputs to vector. These raster outputs are the result of Spline with Barriers interpolation tool and their values vary significantly. I'm wondering if there's a script I can add to the contour tool so it identifies the range of values in a raster file and then selects the contour interval according to the amount of classes I want. For example, if I have values from 0-140 and I want ten classes/intervals then 140/10 = 14 contour intervals. I'm currently doing this manually, but is not time efficient. Applying graduated colors as primary symbology does not change or generate new contours and I need these changes to be preserved to be used in a Story Map. Any suggestions are highly appreciated!

Outcomes