Error: Tool SelectLayerByAttribute is not licensed

Error Message

When the Central Feature tool, or Spatial Statistics toolbox, is run on an ArcView license, it fails with the error message:

"Tool SelectLayerByAttribute is not licensed"


Inside of the Central Feature script, the SelectLayerByAttribute tool is used. SelectLayerByAttribute is not licensed to work with an ArcView license, therefore the tool fails.

This is not documented in the Central Feature tool documentation.

Solution or Workaround

Select an option below.

  • Modify the code to use MakeFeatureLayer with an expression. The expression would select out the feature of interest. Then run CopyFeatures on the new layer.
  • Modify the code so that it prints out the ID of the central feature. Once the ID is obtained, it is possible to manually select the feature and create a new feature class from it, for example; using copy features.

    ESRI recomends that a copy of the Central Feature code be copied and a separate tool created when modifying the code.