I am trying to create a script that will search for suitable site locations.
I want to let the user input an area size (e.g. >20) to be searched but each time I run the script it comes up as
Error 000358: Invalid expression. Failed to execute (SelectLayerByAttribute).
This section of the code looks like:
inputvalue =arcpy.GetParameterAsText(0) query = "POLY_AREA = " + inputvalue arcpy.SelectLayerByAttribute_management(featurelayer2, "NEW_SELECTION", query)