[GIS] How to select features in layer using dataset statistics (stdev and mean) and ModelBuilder

arcgis-10.0arcgis-desktopmodelbuilderselect-by-attributeshapefile

I am trying to solve following problem. I need to select features from the shapefile by attribute in Model builder. The attribute should be a statistics which you can calculate by the tool :"Summary statistics". This creates new table with mean and stdev from the original shapefile attribute table. I need to use those numbers in the selection of features of the original layer.
Is there some way, how to do this?

Practically I am trying to do a very easy procedure, a lot of people do in the ArcMap regullarly. To classify feature by the standard deviation. Take the range of features above the specified stdev level and make a new layer of this.
Shame that there is not such tool like Reclassify for rasters which would work for the features as well where the only thing you should do is to load layer symbology and say that one of the classes is preserved and the others are lost.

Best Answer

You can do it following these steps:

  1. Define a case field within the Summary Statistics tool (some sort of ID field).
  2. Use Join Field tool to join the summary table (by case field) back to your original layer
  3. Use Feature Class to Feature Class tool to export out a new shapefile which includes the new statistic fields
  4. Use Select Layer by Attribute tool to define your selection based on your expression

Hope that helps.